summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/Debuggers/Info.lua
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-11-26 19:24:24 +0100
committerMattes D <github@xoft.cz>2016-11-26 19:24:24 +0100
commit56f8dedb6b0c8922257055d22c6166e85f5e066f (patch)
treeeb430c09bd70e97dd7dc5e5af7ec5382ec2f17e2 /Server/Plugins/Debuggers/Info.lua
parentDebuggers: Added commands to investigate item's Lore. (diff)
downloadcuberite-56f8dedb6b0c8922257055d22c6166e85f5e066f.tar
cuberite-56f8dedb6b0c8922257055d22c6166e85f5e066f.tar.gz
cuberite-56f8dedb6b0c8922257055d22c6166e85f5e066f.tar.bz2
cuberite-56f8dedb6b0c8922257055d22c6166e85f5e066f.tar.lz
cuberite-56f8dedb6b0c8922257055d22c6166e85f5e066f.tar.xz
cuberite-56f8dedb6b0c8922257055d22c6166e85f5e066f.tar.zst
cuberite-56f8dedb6b0c8922257055d22c6166e85f5e066f.zip
Diffstat (limited to '')
-rw-r--r--Server/Plugins/Debuggers/Info.lua14
1 files changed, 13 insertions, 1 deletions
diff --git a/Server/Plugins/Debuggers/Info.lua b/Server/Plugins/Debuggers/Info.lua
index 06fabad14..dcdcdd17f 100644
--- a/Server/Plugins/Debuggers/Info.lua
+++ b/Server/Plugins/Debuggers/Info.lua
@@ -100,11 +100,17 @@ g_PluginInfo =
Handler = HandleGCCmd,
HelpString = "Activates the Lua garbage collector"
},
+ ["/getcustomname"] =
+ {
+ Permission = "debuggers",
+ Handler = HandleGetCustomNameCmd,
+ HelpString = "Displays the exact custom name of currently held item (including non-printables)",
+ },
["/getlore"] =
{
Permission = "debuggers",
Handler = HandleGetLoreCmd,
- HelpString = "Displays the Lore of currently held item",
+ HelpString = "Displays the exact Lore of currently held item (including non-printables)",
},
["/hunger"] =
{
@@ -172,6 +178,12 @@ g_PluginInfo =
Handler = HandleSched,
HelpString = "Schedules a simple countdown using cWorld:ScheduleTask()"
},
+ ["/setcustomname"] =
+ {
+ Permission = "debuggers",
+ Handler = HandleSetCustomNameCmd,
+ HelpString = "Sets the custom name for the item currently in hand",
+ },
["/setlore"] =
{
Permission = "debuggers",