summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-10 09:21:52 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-10 09:21:52 +0200
commit2adf62e22e1a12a16318431dfe37516a1c945776 (patch)
tree350660264f3dd67c5d34a1fd5b48c64e0fd46e91 /MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua
parentProtectionAreas: Fixed area reloading (diff)
downloadcuberite-2adf62e22e1a12a16318431dfe37516a1c945776.tar
cuberite-2adf62e22e1a12a16318431dfe37516a1c945776.tar.gz
cuberite-2adf62e22e1a12a16318431dfe37516a1c945776.tar.bz2
cuberite-2adf62e22e1a12a16318431dfe37516a1c945776.tar.lz
cuberite-2adf62e22e1a12a16318431dfe37516a1c945776.tar.xz
cuberite-2adf62e22e1a12a16318431dfe37516a1c945776.tar.zst
cuberite-2adf62e22e1a12a16318431dfe37516a1c945776.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua b/MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua
index a8219edf7..6e8881b72 100644
--- a/MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua
+++ b/MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua
@@ -12,6 +12,9 @@ PluginPrefix = "ProtectionAreas: ";
--- Bounds for the area loading. Areas less this far in any direction from the player will be loaded into cPlayerAreas
g_AreaBounds = 48;
+--- If a player moves this close to the PlayerAreas bounds, the PlayerAreas will be re-queried
+g_AreaSafeEdge = 12;
+