35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
diff --git a/config.lua b/config.lua
|
|
index be08447..ea102e5 100644
|
|
--- a/config.lua
|
|
+++ b/config.lua
|
|
@@ -27,10 +27,10 @@ mg_villages.VILLAGE_DETECT_RANGE = 400;
|
|
mg_villages.REQUIRE_PRIV_FOR_TELEPORT = false;
|
|
|
|
-- if set to true, players cannot modify spawned villages without buying the house from the village first
|
|
-mg_villages.ENABLE_PROTECTION = true;
|
|
+mg_villages.ENABLE_PROTECTION = false;
|
|
|
|
-- the first village - the one the player spawns in - will be of this type
|
|
-mg_villages.FIRST_VILLAGE_TYPE = 'medieval';
|
|
+--mg_villages.FIRST_VILLAGE_TYPE = 'medieval';
|
|
|
|
-- the mapgen will disregard mapchunks where min.y > mg_villages.MAX_HEIGHT_TREATED;
|
|
-- you can set this value to 64 if you have a slow machine and a mapgen which does not create extreme mountains
|
|
diff --git a/plotmarker_formspec.lua b/plotmarker_formspec.lua
|
|
index 0dd65ad..002c7c7 100644
|
|
--- a/plotmarker_formspec.lua
|
|
+++ b/plotmarker_formspec.lua
|
|
@@ -366,9 +366,9 @@ end
|
|
|
|
mg_villages.form_input_handler = function( player, formname, fields)
|
|
-- mg_villages.print(mg_villages.DEBUG_LEVEL_NORMAL,minetest.serialize(fields));
|
|
- if( not( mg_villages.ENABLE_PROTECTION )) then
|
|
- return false;
|
|
- end
|
|
+ -- if( not( mg_villages.ENABLE_PROTECTION )) then
|
|
+ -- return false;
|
|
+ -- end
|
|
|
|
-- teleport to a plot or mob
|
|
if( fields[ 'teleport_to' ]
|