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-05-26 21:20:49 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-26 21:20:49 +0200
commit89d9abf9115a74a063e547f84a076165196954bf (patch)
tree131d27b85f7da7cd9cf19482b00549bda04aaf17 /MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua
parentBlock entities with storage now correctly mark the chunk as dirty when their contents change. (diff)
downloadcuberite-89d9abf9115a74a063e547f84a076165196954bf.tar
cuberite-89d9abf9115a74a063e547f84a076165196954bf.tar.gz
cuberite-89d9abf9115a74a063e547f84a076165196954bf.tar.bz2
cuberite-89d9abf9115a74a063e547f84a076165196954bf.tar.lz
cuberite-89d9abf9115a74a063e547f84a076165196954bf.tar.xz
cuberite-89d9abf9115a74a063e547f84a076165196954bf.tar.zst
cuberite-89d9abf9115a74a063e547f84a076165196954bf.zip
Diffstat (limited to 'MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua')
-rw-r--r--MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua b/MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua
new file mode 100644
index 000000000..36256c5f3
--- /dev/null
+++ b/MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua
@@ -0,0 +1,20 @@
+
+-- ProtectionAreas.lua
+-- Defines the main plugin entrypoint
+
+
+
+
+
+function Initialize(a_Plugin)
+ a_Plugin:SetName("ProtectionAreas");
+ a_Plugin:SetVersion(1);
+
+ InitializeHooks(a_Plugin);
+ InitializeCommandHandlers();
+
+ -- TODO: We might be reloading, so there may be players already present in the server
+ -- Reload areas for all present players
+
+ return true;
+end