summaryrefslogtreecommitdiffstats
path: root/Plugins/sTick/main.lua
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-30 23:31:42 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-30 23:31:42 +0200
commit2ccc87286cbdd2058fec5888e5cb3c9c11786b77 (patch)
treeb7814dd671a32cdbec88bf3e89313df1e08450c1 /Plugins/sTick/main.lua
parentAdded more statistics to the "chunkstats" server console command (diff)
downloadcuberite-2ccc87286cbdd2058fec5888e5cb3c9c11786b77.tar
cuberite-2ccc87286cbdd2058fec5888e5cb3c9c11786b77.tar.gz
cuberite-2ccc87286cbdd2058fec5888e5cb3c9c11786b77.tar.bz2
cuberite-2ccc87286cbdd2058fec5888e5cb3c9c11786b77.tar.lz
cuberite-2ccc87286cbdd2058fec5888e5cb3c9c11786b77.tar.xz
cuberite-2ccc87286cbdd2058fec5888e5cb3c9c11786b77.tar.zst
cuberite-2ccc87286cbdd2058fec5888e5cb3c9c11786b77.zip
Diffstat (limited to '')
-rw-r--r--Plugins/sTick/main.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/Plugins/sTick/main.lua b/Plugins/sTick/main.lua
new file mode 100644
index 000000000..16ac7167f
--- /dev/null
+++ b/Plugins/sTick/main.lua
@@ -0,0 +1,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 \ No newline at end of file