From 56f8dedb6b0c8922257055d22c6166e85f5e066f Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sat, 26 Nov 2016 19:24:24 +0100 Subject: Debuggers: Added commands to investigate item's custom name. --- Server/Plugins/Debuggers/Info.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'Server/Plugins/Debuggers/Info.lua') 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", -- cgit v1.2.3