From 12071bc51a46b245d7b46bfe697dda1d54ee2f56 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sat, 26 Nov 2016 20:45:01 +0100 Subject: Debuggers: Added commands to investigate item's custom Lua properties. --- Server/Plugins/Debuggers/Info.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Server/Plugins/Debuggers/Info.lua') 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", -- cgit v1.2.3