summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/sTick/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'MCServer/Plugins/sTick/main.lua')
-rw-r--r--MCServer/Plugins/sTick/main.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/MCServer/Plugins/sTick/main.lua b/MCServer/Plugins/sTick/main.lua
new file mode 100644
index 000000000..16ac7167f
--- /dev/null
+++ b/MCServer/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