1
0

Debuggers: Added commands to investigate item's custom Lua properties.

This commit is contained in:
Mattes D
2016-11-26 20:45:01 +01:00
parent 56f8dedb6b
commit 12071bc51a
3 changed files with 61 additions and 2 deletions

View File

@@ -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",