summaryrefslogblamecommitdiffstats
path: root/MCServer/Plugins/sTick/main.lua
blob: 057cd22d162307ef74b0cf93419d961b5eaba750 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                  
                            

                        

                                

                                                       
                                                                           
         
                                                                                

                    

-- Global variables
PLUGIN = {}	-- Reference to own plugin object





function Initialize(Plugin)
	PLUGIN = Plugin
	
	Plugin:SetName("sTick")
	Plugin:SetVersion(2)
	
	PluginManager = cRoot:Get():GetPluginManager()
	PluginManager:AddHook(Plugin, cPluginManager.E_PLUGIN_BLOCK_PLACE)
	
	LOG("Initialized " .. Plugin:GetName() .. " v." .. Plugin:GetVersion())
	return true
end