summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-29 12:51:58 +0100
committermadmaxoft <github@xoft.cz>2013-12-29 12:51:58 +0100
commit248ba1ea9f6826234535c2a777b3834fbe264e0d (patch)
treeaa52fc2b6d3f78dcaea12d08dd4a2583516d8c8f /MCServer
parentMerge pull request #481 from MikeHunsinger/master (diff)
downloadcuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar.gz
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar.bz2
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar.lz
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar.xz
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar.zst
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.zip
Diffstat (limited to 'MCServer')
-rw-r--r--MCServer/Plugins/Debuggers/Debuggers.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/MCServer/Plugins/Debuggers/Debuggers.lua b/MCServer/Plugins/Debuggers/Debuggers.lua
index c9a610f71..8f2fa3682 100644
--- a/MCServer/Plugins/Debuggers/Debuggers.lua
+++ b/MCServer/Plugins/Debuggers/Debuggers.lua
@@ -27,6 +27,7 @@ function Initialize(Plugin)
cPluginManager.AddHook(cPluginManager.HOOK_PLAYER_RIGHT_CLICKING_ENTITY, OnPlayerRightClickingEntity);
cPluginManager.AddHook(cPluginManager.HOOK_WORLD_TICK, OnWorldTick);
cPluginManager.AddHook(cPluginManager.HOOK_CHUNK_GENERATED, OnChunkGenerated);
+ cPluginManager.AddHook(cPluginManager.HOOK_PLUGINS_LOADED, OnPluginsLoaded);
PM = cRoot:Get():GetPluginManager();
PM:BindCommand("/le", "debuggers", HandleListEntitiesCmd, "- Shows a list of all the loaded entities");
@@ -524,6 +525,14 @@ end
+function OnPluginsLoaded()
+ LOG("All plugins loaded");
+end
+
+
+
+
+
function OnChunkGenerated(a_World, a_ChunkX, a_ChunkZ, a_ChunkDesc)
-- Get the topmost block coord:
local Height = a_ChunkDesc:GetHeight(0, 0);