diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-26 21:20:49 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-26 21:20:49 +0200 |
commit | 89d9abf9115a74a063e547f84a076165196954bf (patch) | |
tree | 131d27b85f7da7cd9cf19482b00549bda04aaf17 /MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua | |
parent | Block entities with storage now correctly mark the chunk as dirty when their contents change. (diff) | |
download | cuberite-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.lua | 20 |
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
|