NullReferenceException at InitError
Wondering if anyone could shed some light on why I am getting this message below?.....Thanks
I'm using v1.4.3

ItemSkinRandomizer was compiled successfully in 3227ms
Failed to initialize plugin 'ItemSkinRandomizer v1.4.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Game.Rust.Libraries.Command.AddChatCommand (System.String command, Oxide.Core.Plugins.Plugin plugin, System.Action`3[T1,T2,T3] callback) [0x00000] in <d0deb77121b047e88dcefd1bbc619e37>:0
at Oxide.Game.Rust.Libraries.Command.AddChatCommand (System.String name, Oxide.Core.Plugins.Plugin plugin, System.String callback) [0x00014] in <d0deb77121b047e88dcefd1bbc619e37>:0
at Oxide.Plugins.ItemSkinRandomizer.Init () [0x00022] in <0d3a189332a24d4e8e6bfc5dd13b3d29>:0
at Oxide.Plugins.ItemSkinRandomizer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00038] in <0d3a189332a24d4e8e6bfc5dd13b3d29>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <008b12f41ec4452da1a5497eeb849299>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0
at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <ac41dd3599754d448b8c218b34645820>:0
Unloaded plugin Item Skin Randomizer v1.4.3 by Orange
No previous version to rollback plugin: ItemSkinRandomizer​
This would imply that the command is missing in the configuration, else not set.
The command is missing in the config?....what is the command?
I just assumed that the dev of the plugin would already have that completed?
I tried putting in "reskin" in the place of "null".....but that didn't seem to work either.
Not sure what command that is missing.....and why would it be missing?

By the way....would the plugin SkinBox conflict with Randomizer plugin?

Thanks
I already did that before, but apparently I guess you need to own the actually skins for it to randomly generate, other then vanilla skin.
It's odd that random skins generate in the world looting, but not crafting.
Anyway, thanks for the insight.

Merged post

Sorry....nvm. I got it to finally work. For whatever reason the plugin was having a hell of a time loading and unloading, reloading.
I had to give the permission again, for what seemed to be like the 20th time.....Aye yai yai.....lol.

Why isn't that command in the config already like that. I know it shows in the example on the Description page.
But if it comes with null, it wont work.....seems odd.

Thanks again Wulf.
Were you using an old version before? May have not had it added to the configuration automatically after updating.
It's very possible. I've got so many mods(which is probably an issue by itself) keeping track of them all,
surprised the server even runs.....lol.
Seeing this exception with 1.4.5

ItemSkinRandomizer was compiled successfully in 2082ms
Failed to initialize plugin 'ItemSkinRandomizer v1.4.5' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Game.Rust.Libraries.Command.AddChatCommand (System.String command, Oxide.Core.Plugins.Plugin plugin, System.Action`3[T1,T2,T3] callback) [0x00000] in <c94a9e2424174038b157fd977c3888cd>:0 
  at Oxide.Game.Rust.Libraries.Command.AddChatCommand (System.String name, Oxide.Core.Plugins.Plugin plugin, System.String callback) [0x00014] in <c94a9e2424174038b157fd977c3888cd>:0 
  at Oxide.Plugins.ItemSkinRandomizer.Init () [0x00022] in <752537b458cf432a9e95449a5e383716>:0 
  at Oxide.Plugins.ItemSkinRandomizer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00038] in <752537b458cf432a9e95449a5e383716>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0 
  at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <cf88a28c7fb44d36890d85a78331cc9d>:0 
Unloaded plugin Item Skin Randomizer v1.4.5 by Orange​
Disregard, deleting the config solved this

For those who have this error:

10:34 [Info] ItemSkinRandomizer was compiled successfully in 2314ms
10:34 [Error] Failed to initialize plugin 'ItemSkinRandomizer v1.4.7' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Game.Rust.Libraries.Command.AddChatCommand (System.String command, Oxide.Core.Plugins.Plugin plugin, System.Action`3[T1,T2,T3] callback) [0x00000] in <8bc89768bdcc441999d53075af6$
  at Oxide.Game.Rust.Libraries.Command.AddChatCommand (System.String name, Oxide.Core.Plugins.Plugin plugin, System.String callback) [0x00014] in <8bc89768bdcc441999d53075af67fefa>:0
  at Oxide.Plugins.ItemSkinRandomizer.Init () [0x00022] in <7ceb22b719d14aa3b0702b858724db5a>:0
  at Oxide.Plugins.ItemSkinRandomizer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00038] in <7ceb22b719d14aa3b0702b858724db5a>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
  at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00043] in <cf88a28c7fb44d36890d85a78331cc9d>:0
10:34 [Info] Unloaded plugin Item Skin Randomizer v1.4.7 by Orange
10:34 [Info] No previous version to rollback plugin: ItemSkinRandomizer

This error is solved in latest version. Update your plugin.