summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/Debuggers/Debuggers.lua
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-10-21 20:59:54 +0200
committerMattes D <github@xoft.cz>2015-10-21 20:59:54 +0200
commit7761f7e5b8525e32d81cb97ee2b3ae92884962cc (patch)
tree5953d442b3496f739e8610a286df65110d6a152b /Server/Plugins/Debuggers/Debuggers.lua
parentFixed a crash when sending messages too early after connection. (diff)
downloadcuberite-7761f7e5b8525e32d81cb97ee2b3ae92884962cc.tar
cuberite-7761f7e5b8525e32d81cb97ee2b3ae92884962cc.tar.gz
cuberite-7761f7e5b8525e32d81cb97ee2b3ae92884962cc.tar.bz2
cuberite-7761f7e5b8525e32d81cb97ee2b3ae92884962cc.tar.lz
cuberite-7761f7e5b8525e32d81cb97ee2b3ae92884962cc.tar.xz
cuberite-7761f7e5b8525e32d81cb97ee2b3ae92884962cc.tar.zst
cuberite-7761f7e5b8525e32d81cb97ee2b3ae92884962cc.zip
Diffstat (limited to 'Server/Plugins/Debuggers/Debuggers.lua')
-rw-r--r--Server/Plugins/Debuggers/Debuggers.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/Server/Plugins/Debuggers/Debuggers.lua b/Server/Plugins/Debuggers/Debuggers.lua
index bd0b94a06..2b80e15c8 100644
--- a/Server/Plugins/Debuggers/Debuggers.lua
+++ b/Server/Plugins/Debuggers/Debuggers.lua
@@ -1648,6 +1648,17 @@ end
+
+function HandlePlugMsg(a_Split, a_Player)
+ local ch = a_Player:GetClientHandle()
+ ch:SendPluginMessage("TestCh", "some\0string\1with\2funny\3chars")
+ return true
+end
+
+
+
+
+
function HandlePoof(a_Split, a_Player)
local PlayerPos = Vector3d(a_Player:GetPosition()) -- Create a copy of the position
PlayerPos.y = PlayerPos.y - 1