summaryrefslogtreecommitdiff
path: root/builtin/settingtypes.txt
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2015-10-29 00:17:48 +0000
committerparamat <mat.gregory@virginmedia.com>2015-10-29 20:03:15 +0000
commitc0a7c670a465b4c05d90a8a4e8001797ec4e628a (patch)
tree4bc48c7c9cf8b80925564e2ea48f94726c0e3f18 /builtin/settingtypes.txt
parent182b3fd2831a7deb22d709e7c285eca3a57a5678 (diff)
downloadminetest-c0a7c670a465b4c05d90a8a4e8001797ec4e628a.tar.gz
minetest-c0a7c670a465b4c05d90a8a4e8001797ec4e628a.tar.bz2
minetest-c0a7c670a465b4c05d90a8a4e8001797ec4e628a.zip
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
Diffstat (limited to 'builtin/settingtypes.txt')
-rw-r--r--builtin/settingtypes.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 2eee055c8..6fbc8f244 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -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