Thank you for taking the time to look into it, not sure about the code sample, but this is what i have as of now for the config file. I really just want to stack all items so whatever is easier, i.e. /stackall 300k or whatever.
{
"Settings": {
"CategoryDefaultStack": {
"Ammunition": 500,
"Attire": 100,
"Common": 100,
"Component": 100000,
"Construction": 100000,
"Food": 500,
"Items": 100000,
"Medical": 500,
"Misc": 500,
"Resources": 300000,
"Tools": 5,
"Traps": 0,
"Weapon": 0
},
"DefaultStack": 300000,
"StackHealthItems": true
}
}
If I try the /stackall in the chat nothing happens, however the RCON displays this:
(15:47:02) | Failed to call hook 'StackAllCommand' on plugin 'StackSizeController v2.0.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.StackSizeController.StackAllCommand (BasePlayer player, System.String command, System.String[] args) [0x00166] in <b8d0f499969a401ea4be8fb407951c94>:0
at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002f2] in <b8d0f499969a401ea4be8fb407951c94>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
Again, I'm new to this so I'm sure I'm missing something small but I appreciate your efforts, I am well aware all of the mod makers are doing this out of their own time.