summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/Debuggers/Info.lua
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-11-26 20:45:01 +0100
committerMattes D <github@xoft.cz>2016-11-26 20:45:01 +0100
commit12071bc51a46b245d7b46bfe697dda1d54ee2f56 (patch)
tree7800402041e8ae8ecfb10fd2fb3efc6cc8921c61 /Server/Plugins/Debuggers/Info.lua
parentDebuggers: Added commands to investigate item's custom name. (diff)
downloadcuberite-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 '')
-rw-r--r--Server/Plugins/Debuggers/Info.lua12
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",