summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/sTick/main.lua
blob: 16ac7167f7b59e88f2a69ff842fc4c28a946657c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

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





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