2ccc87286c
git-svn-id: http://mc-server.googlecode.com/svn/trunk@529 0a769ca7-a7f5-676a-18bf-c427514a06d6
20 lines
404 B
Lua
20 lines
404 B
Lua
|
|
-- 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 |