Skin item in view (Rust)
Sometimes, as an admin, you may copy and post structures, whether it's for an event or otherwise, and you may want to randomize the look a bit. Maybe the items inside use default skins and you want to assign them. Skinbox is great, but you'd have to pick up every item to use it and that's just not an option.

Two ideas: 
  1. Look at a structure, type /reskin and have it reskin randomly reskin all the items in the base - furnaces, doors, etc.
  2. Look at an item, type /reskin and have it reskin randomly that item.

If both features, different permissions would be good. #1 is more admin #2 can be something a player might appreciate. Both could be used by admins.

This seems like a play on the https://umod.org/plugins/item-skin-randomizer plugin so I wonder if it's a play on that @Orange

Item, you mean item in base or item you mean item in hands?

I can add randomizing item in hands to ItemSkinRandomizer
Failed to call hook 'OnItemCraft' on plugin 'InstantCraft v2.1.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.InstantCraft.GetRandomSkin (ItemDefinition def) [0x00013] in <ae0d99ed24834e16bc2208f2cd061ec7>:0
  at Oxide.Plugins.InstantCraft.GiveItem (BasePlayer player, ItemDefinition item, System.Collections.Generic.List`1[T] stacks, System.Int32 craftSkin) [0x00031] in <ae0d99ed24834e16bc2208f2cd061ec7>:0
  at Oxide.Plugins.InstantCraft.OnCraft (ItemCraftTask task) [0x000fc] in <ae0d99ed24834e16bc2208f2cd061ec7>:0
  at Oxide.Plugins.InstantCraft.OnItemCraft (ItemCraftTask item) [0x00000] in <ae0d99ed24834e16bc2208f2cd061ec7>:0
  at Oxide.Plugins.InstantCraft.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00126] in <ae0d99ed24834e16bc2208f2cd061ec7>: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
In response to DrChester ():
Failed to call hook 'OnItemCraft' on plugin 'InstantCraft v2.1.0' (NullReferenceException: Object re...
Create topic on plugin page with information how its happened
I think adding an in hand randomizer would be nice, but I mean to be able to reskin both 1) what you're looking at and 2) all items within a base if you're looking at a wall or foundation, etc.
I'm working on something similar, you can pm me, if interested.
In response to Orange ():
Added in last update of https://umod.org/plugins/item-skin-randomizer
Great work @Orange just tested this and it works great!
I tried to extend orange's script, but failed.

Anyone knows a way how to change/reset the skin on a dropped weapon on the floor?

The code I did based on Orange's one does not work:
The weapon on the floor does not render the new skin, the changes are only visible when the item is picked up again. It seems I need to change the skin on the generic_world entity, but I could'nt figure out how.
void OnItemDropped(Item item, BaseEntity entity)
{
            ulong skin = 0; // clear the skin

            item.skin = skin;
            item.MarkDirty();

            var held = item.GetHeldEntity();
            if (held != null)
            {
                held.skinID = skin;
                held.SendNetworkUpdate();
            }​
}
remove it and spawn a new one in on same pos and rotation