1
0
cuberite-2a/MCServer/Plugins/sTick/main.lua
2012-08-20 12:20:20 +00:00

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