Hello, I hope im not in the wrong by posting link to the code here? Just save as a .cs file and it should run with all the same configs.
I edited the lastetest version (3.3.1) and I added the support mentioned in title.
Randomskin functionality is from Oranges popular plugin. All credit to him on most of that work.
For random skins on a kit just add a r onto the command you know
/kit <kitname> r
for putting kits into storage container directly I added the /loot command
While looking at the container type
"/loot <kitname>" and "/loot <kitname> r" for random skins (Random skin functions from Oranges popular plugin)
It doesnt work too well with lockers. I couldnt quite figure out the data structure for lockers. They are a apart of the storagecontainer class but it seems through code I only have access to 1 row of the locker. The playerinventory is made of 3 sperate item contianers, belt, wear, and main. but the locker didnt seem split up like that.
while it does not show up in the edit options. I added the ability to add/remove "catagory" tags onto each kit
to add a catagory tag to a kit, while in edit mode type
/kit cat "new catagory title"
to remove a catagory from a kit, while in edit mode type
/kit catr <tag to remove>
you can then make use of the /lootc command. This command will pick a random kit out of all with the catagory tag you give it
/lootc <tag> (will pick a random kit with that catagory tag.)
you can then use
/lootc <tag> r (for random skins applied.)
Im not sure ill be working on it any longer, so im passing it on if the devs (not that they need it), or anyone else wants it / feels they can improve on it.
If I do work on it more, it will probably be to add more randomness. Like a modifer to give random choice of items, and random amount (when allowed). But that is not for a few months probably.
I beleive I maintained the same privalge checks, but I am not certain.
I know the catagory add/remove is broken says a invalid argument, but it all worked when I tested and looked good in the json file.
Cheers.