summaryrefslogblamecommitdiffstats
path: root/MCServer/Plugins/ProtectionAreas/ProtectionAreas.lua
blob: d816f578f09b3c55f31a3b67f7522d2dea79043d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                             
                             







                                                                                              

-- ProtectionAreas.lua
-- Defines the main plugin entrypoint





function Initialize(a_Plugin)
	a_Plugin:SetName("ProtectionAreas");
	a_Plugin:SetVersion(1);
	
	InitializeStorage();
	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