summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/Debuggers/Info.lua
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2017-01-23 17:43:48 +0100
committerMattes D <github@xoft.cz>2017-01-28 10:31:04 +0100
commit01d9beee9ee60aa1ead52f7796c762a8372b9ca4 (patch)
tree6843b3231de64ffff73da0db34b12253a2b32f30 /Server/Plugins/Debuggers/Info.lua
parentFixed ClientHandle:GetProtocolVersion returning wrong number. (diff)
downloadcuberite-01d9beee9ee60aa1ead52f7796c762a8372b9ca4.tar
cuberite-01d9beee9ee60aa1ead52f7796c762a8372b9ca4.tar.gz
cuberite-01d9beee9ee60aa1ead52f7796c762a8372b9ca4.tar.bz2
cuberite-01d9beee9ee60aa1ead52f7796c762a8372b9ca4.tar.lz
cuberite-01d9beee9ee60aa1ead52f7796c762a8372b9ca4.tar.xz
cuberite-01d9beee9ee60aa1ead52f7796c762a8372b9ca4.tar.zst
cuberite-01d9beee9ee60aa1ead52f7796c762a8372b9ca4.zip
Diffstat (limited to 'Server/Plugins/Debuggers/Info.lua')
-rw-r--r--Server/Plugins/Debuggers/Info.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/Server/Plugins/Debuggers/Info.lua b/Server/Plugins/Debuggers/Info.lua
index 028f7a70b..8b2e7017b 100644
--- a/Server/Plugins/Debuggers/Info.lua
+++ b/Server/Plugins/Debuggers/Info.lua
@@ -28,6 +28,12 @@ g_PluginInfo =
Handler = HandleBlkCmd,
HelpString = "Gets info about the block you are looking at"
},
+ ["/clientversion"] =
+ {
+ Permission = "debuggers",
+ Handler = HandleClientVersionCmd,
+ HelpString = "Shows your client's protocol version",
+ },
["/compo"] =
{
Permission = "debuggers",