diff options
author | Mattes D <github@xoft.cz> | 2016-11-26 20:45:01 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-11-26 20:45:01 +0100 |
commit | 12071bc51a46b245d7b46bfe697dda1d54ee2f56 (patch) | |
tree | 7800402041e8ae8ecfb10fd2fb3efc6cc8921c61 /Server/Plugins/Debuggers/Info.lua | |
parent | Debuggers: Added commands to investigate item's custom name. (diff) | |
download | cuberite-12071bc51a46b245d7b46bfe697dda1d54ee2f56.tar cuberite-12071bc51a46b245d7b46bfe697dda1d54ee2f56.tar.gz cuberite-12071bc51a46b245d7b46bfe697dda1d54ee2f56.tar.bz2 cuberite-12071bc51a46b245d7b46bfe697dda1d54ee2f56.tar.lz cuberite-12071bc51a46b245d7b46bfe697dda1d54ee2f56.tar.xz cuberite-12071bc51a46b245d7b46bfe697dda1d54ee2f56.tar.zst cuberite-12071bc51a46b245d7b46bfe697dda1d54ee2f56.zip |
Diffstat (limited to 'Server/Plugins/Debuggers/Info.lua')
-rw-r--r-- | Server/Plugins/Debuggers/Info.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Server/Plugins/Debuggers/Info.lua b/Server/Plugins/Debuggers/Info.lua index dcdcdd17f..c21865218 100644 --- a/Server/Plugins/Debuggers/Info.lua +++ b/Server/Plugins/Debuggers/Info.lua @@ -112,6 +112,12 @@ g_PluginInfo = Handler = HandleGetLoreCmd, HelpString = "Displays the exact Lore of currently held item (including non-printables)", }, + ["/getprop"] = + { + Permission = "debuggers", + Handler = HandleGetPropCmd, + HelpString = "Displays the custom cItem property of the currently held item", + }, ["/hunger"] = { Permission = "debuggers", @@ -190,6 +196,12 @@ g_PluginInfo = Handler = HandleSetLoreCmd, HelpString = "Sets the lore for the item currently in hand", }, + ["/setprop"] = + { + Permission = "debuggers", + Handler = HandleSetPropCmd, + HelpString = "Sets the custom property for the item currently in hand", + }, ["/spidey"] = { Permission = "debuggers", |