mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
findSpawnPos: Add setting for max height above water level
Increase default from 6 to 16 to help with mgv7 and mgfractal Large-scale or alternative mapgens can result in a lowland spawn point not being found, causing a spawn at (0, 0, 0) possibly buried underground The max height is now settable to allow correct player spawn in any mapgen or when using custom noise parameters
This commit is contained in:
parent
182b3fd283
commit
c0a7c670a4
4 changed files with 18 additions and 4 deletions
|
@ -693,6 +693,12 @@ enable_pvp (Player versus Player) bool true
|
|||
# If this is set, players will always (re)spawn at the given position.
|
||||
static_spawnpoint (Static spawnpoint) string
|
||||
|
||||
# Maximum distance above water level for player spawn.
|
||||
# Larger values result in spawn points closer to (x = 0, z = 0).
|
||||
# Smaller values may result in a suitable spawn point not being found,
|
||||
# resulting in a spawn at (0, 0, 0) possibly buried underground.
|
||||
vertical_spawn_range (Vertical spawn range) int 16
|
||||
|
||||
# If enabled, new players cannot join with an empty password.
|
||||
disallow_empty_password (Disallow empty passwords) bool false
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue