diff options
author | Mattes D <github@xoft.cz> | 2017-01-23 17:43:48 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2017-01-28 10:31:04 +0100 |
commit | 01d9beee9ee60aa1ead52f7796c762a8372b9ca4 (patch) | |
tree | 6843b3231de64ffff73da0db34b12253a2b32f30 /Server/Plugins/Debuggers/Info.lua | |
parent | Fixed ClientHandle:GetProtocolVersion returning wrong number. (diff) | |
download | cuberite-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 '')
-rw-r--r-- | Server/Plugins/Debuggers/Info.lua | 6 |
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", |