2013-05-26 19:20:49 +00:00
|
|
|
|
|
|
|
|
-- ProtectionAreas.lua
|
|
|
|
|
-- Defines the main plugin entrypoint
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function Initialize(a_Plugin)
|
|
|
|
|
a_Plugin:SetName("ProtectionAreas");
|
|
|
|
|
a_Plugin:SetVersion(1);
|
|
|
|
|
|
2013-06-04 21:05:33 +00:00
|
|
|
InitializeStorage();
|
2013-05-26 19:20:49 +00:00
|
|
|
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
|