From 89d9abf9115a74a063e547f84a076165196954bf Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 26 May 2013 19:20:49 +0000 Subject: ProtectionAreas: Initial project import, skeleton code git-svn-id: http://mc-server.googlecode.com/svn/trunk@1516 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua (limited to 'MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua') 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 -- cgit v1.2.3