summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-22 21:08:34 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-22 21:08:34 +0200
commit943dcaea14c7530eecca57af015f1007b3b9630f (patch)
tree5f6f3c95c67d22810dc349b7831d10a64d89b480 /MCServer/Plugins
parentAdded the End height and composition generators. (diff)
downloadcuberite-943dcaea14c7530eecca57af015f1007b3b9630f.tar
cuberite-943dcaea14c7530eecca57af015f1007b3b9630f.tar.gz
cuberite-943dcaea14c7530eecca57af015f1007b3b9630f.tar.bz2
cuberite-943dcaea14c7530eecca57af015f1007b3b9630f.tar.lz
cuberite-943dcaea14c7530eecca57af015f1007b3b9630f.tar.xz
cuberite-943dcaea14c7530eecca57af015f1007b3b9630f.tar.zst
cuberite-943dcaea14c7530eecca57af015f1007b3b9630f.zip
Diffstat (limited to 'MCServer/Plugins')
-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 55a954f47..fa49456bb 100644
--- a/MCServer/Plugins/Debuggers/Debuggers.lua
+++ b/MCServer/Plugins/Debuggers/Debuggers.lua
@@ -20,6 +20,7 @@ function Initialize(Plugin)
PluginManager:AddHook(Plugin, cPluginManager.HOOK_PLAYER_USING_ITEM);
PluginManager:AddHook(Plugin, cPluginManager.HOOK_TAKE_DAMAGE);
PluginManager:AddHook(Plugin, cPluginManager.HOOK_TICK);
+ PluginManager:AddHook(Plugin, cPluginManager.HOOK_CHAT);
PluginManager:BindCommand("/le", "debuggers", HandleListEntitiesCmd, "Shows a list of all the loaded entities");
PluginManager:BindCommand("/ke", "debuggers", HandleKillEntitiesCmd, "Kills all the loaded entities");
@@ -631,3 +632,11 @@ end
+
+function OnChat(a_Player, a_Message)
+ return false, "blabla " .. a_Message;
+end
+
+
+
+