summaryrefslogtreecommitdiff
path: root/config.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config.lua')
-rw-r--r--config.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/config.lua b/config.lua
index 4c34102..0eb4847 100644
--- a/config.lua
+++ b/config.lua
@@ -15,7 +15,9 @@ local defaults = {
offenseReset = "1440",
adminUser = nil,
chunkSize = "16",
- enableHud = "true"
+ enableHud = "true",
+ noBanTime = 240,
+ noDamageTime = 600
}
for k, v in pairs(defaults) do
@@ -30,3 +32,8 @@ landrush.config:write()
-- These are items that can be dug in unclaimed areas when landrush.config:get_bool("requireClaim") is true
landrush.global_dig_list = {["default:ladder"]=true,["default:leaves"]=true,["default:tree"]=true,["default:grass"]=true,["default:grass_1"]=true,["default:grass_2"]=true,["default:grass_3"]=true,["default:grass_4"]=true}
+if minetest.get_modpath("whoison") then
+ landrush.whoison=true
+else
+ landrush.whoison=false
+end