Compare commits
5 Commits
31f498d931
...
20443fb02f
Author | SHA1 | Date |
---|---|---|
|
20443fb02f | |
|
0628dca4e4 | |
|
360a06a4e3 | |
|
c83e26c8e7 | |
|
f87dc6e2c2 |
20
Readme.md
20
Readme.md
|
@ -17,7 +17,21 @@ Uses the new modlib configuration system.
|
|||
<!--modlib:conf:2-->
|
||||
### `entities`
|
||||
|
||||
Also check for entities standing there
|
||||
Check for entities
|
||||
|
||||
* Type: boolean
|
||||
* Default: `true`
|
||||
|
||||
### `nodes`
|
||||
|
||||
Check for nodes
|
||||
|
||||
* Type: boolean
|
||||
* Default: `true`
|
||||
|
||||
### `players`
|
||||
|
||||
Check for players
|
||||
|
||||
* Type: boolean
|
||||
* Default: `true`
|
||||
|
@ -28,8 +42,8 @@ Search radius for entities & players
|
|||
|
||||
* Type: number
|
||||
* Default: `10`
|
||||
* > 0
|
||||
* <= 100
|
||||
* > `0`
|
||||
* <= `100`
|
||||
|
||||
### `test`
|
||||
|
||||
|
|
18
schema.lua
18
schema.lua
|
@ -1,19 +1,25 @@
|
|||
return {
|
||||
type = "table",
|
||||
entries = {
|
||||
players = {
|
||||
type = "boolean",
|
||||
description = "Check for players",
|
||||
default = true
|
||||
},
|
||||
entities = {
|
||||
type = "boolean",
|
||||
description = "Also check for entities standing there",
|
||||
description = "Check for entities",
|
||||
default = true
|
||||
},
|
||||
nodes = {
|
||||
type = "boolean",
|
||||
description = "Check for nodes",
|
||||
default = true
|
||||
},
|
||||
search_radius = {
|
||||
type = "number",
|
||||
description = "Search radius for entities & players",
|
||||
values = set,
|
||||
range = {min_exclusive = 0, max = 100},
|
||||
int = false,
|
||||
infinity = false,
|
||||
nan = false,
|
||||
default = 10
|
||||
},
|
||||
test = {
|
||||
|
@ -22,4 +28,4 @@ return {
|
|||
default = false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,14 @@
|
|||
# Also check for entities standing there
|
||||
# Check for entities
|
||||
disable_build_where_they_stand.entities (Disable build where they stand Entities) bool true
|
||||
|
||||
# Check for nodes
|
||||
disable_build_where_they_stand.nodes (Disable build where they stand Nodes) bool true
|
||||
|
||||
# Check for players
|
||||
disable_build_where_they_stand.players (Disable build where they stand Players) bool true
|
||||
|
||||
# Search radius for entities & players
|
||||
disable_build_where_they_stand.search_radius (Disable build where they stand Search radius) float 10
|
||||
disable_build_where_they_stand.search_radius (Disable build where they stand Search radius) float 10 0.000000 100.000000
|
||||
|
||||
# Enable debug mode (visualization of boxes)
|
||||
disable_build_where_they_stand.test (Disable build where they stand Test) bool false
|
Loading…
Reference in New Issue