From 2adf62e22e1a12a16318431dfe37516a1c945776 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 10 Jun 2013 07:21:52 +0000 Subject: ProtectionAreas: Implemented reloading areas when a player moves git-svn-id: http://mc-server.googlecode.com/svn/trunk@1575 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua') 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; + -- cgit v1.2.3