summaryrefslogtreecommitdiff
path: root/settings.lua
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2014-11-14 13:21:09 -0500
committerShadowNinja <shadowninja@minetest.net>2014-11-14 13:21:09 -0500
commite4aef02cb90b6c7348808869224f162f23375873 (patch)
treedc083f6a295e8c3b5f97f7c8eef08d96f2468d65 /settings.lua
parentfe5266404358a9107938db76bcec7a3d280434ab (diff)
Add areas_high_limit privilege for trusted players
Diffstat (limited to 'settings.lua')
-rw-r--r--settings.lua11
1 files changed, 8 insertions, 3 deletions
diff --git a/settings.lua b/settings.lua
index d126c83..c9ed9a0 100644
--- a/settings.lua
+++ b/settings.lua
@@ -12,16 +12,21 @@ areas.filename =
minetest.setting_get("areas.filename") or worldpath.."/areas.dat"
-- Allow players with a privilege create their own areas
--- within the max_size and number
+-- within the maximum size and number
areas.self_protection =
setting_getbool_default("areas.self_protection", false)
areas.self_protection_privilege =
minetest.setting_get("areas.self_protection_privilege") or "interact"
areas.self_protection_max_size =
minetest.setting_get_pos("areas.self_protection_max_size") or
- {x=50, y=100, z=50}
+ {x=64, y=128, z=64}
+areas.self_protection_max_size_high =
+ minetest.setting_get_pos("areas.self_protection_max_size_high") or
+ {x=512, y=512, z=512}
areas.self_protection_max_areas =
- tonumber(minetest.setting_get("areas.self_protection_max_areas")) or 3
+ tonumber(minetest.setting_get("areas.self_protection_max_areas")) or 4
+areas.self_protection_max_areas_high =
+ tonumber(minetest.setting_get("areas.self_protection_max_areas_high")) or 32
-- Register compatability functions for node_ownership.
-- legacy_table (owner_defs) compatibility is untested