Clear the inventory when another kit is purchased.

I would like to have the function that when someone buys a kit that already has another kit or already has items in inventory that these are removed to make room for the new items of the purchased kit.

That would be a good option . As you probably know the way it works now is because there were so many complaints of lost (new) items when someone redeemed a kit in chat (before gui) with not enough room. I have several warnings (welcome message, infopanel) including kit description in the gui about redeeming a kit with insufficient room in inventory but not everyone reads them.
Your suggestion would enable them to get all the new kit so they would have to be careful as to the kit they would lose,

Merged post

Just been reading old posts on this and Reneb (original dev) said it was not possible in Sept 2015 .

OK, thanks for the information, I found another option with another plugin called "inventory cleaner", I bind the command on a key and I can clean my inventory easy and quick before I buy another kit, but for my other players it will be difficult because they don't like commands, they want it that all is automatic.

I thought on a config option with True/false function where the command of the other plugin is in the kit plugin. If anyone buys a kit than the inventory will be cleaned and the new kit will be spawned like "if then function", but if that is not possible, it will be not so important than I do it on the other way.

BlackJackFW95

OK, thanks for the information, I found another option with another plugin called "inventory cleaner", I bind the command on a key and I can clean my inventory easy and quick before I buy another kit, but for my other players it will be difficult because they don't like commands, they want it that all is automatic.

I thought on a config option with True/false function where the command of the other plugin is in the kit plugin. If anyone buys a kit than the inventory will be cleaned and the new kit will be spawned like "if then function", but if that is not possible, it will be not so important than I do it on the other way.

This is one other reason the ability to redeem a kit with no room in inventory was added

KiraGame said:
When my inventory is full and when I give myself a set the set will just disappear since the inventory is full it says kit redeemed, but I get nothing how to make a warning "Your inventory is full" and the set wasn't issued?
Click to expand...
Your kit file is ok, now about the warning the coder would need to do that, but you will be waiting a long time, so don't hold your breath if you can't wait, you could post in the request section see if someone will be good enough to do it for you if not you might need to pay for it
 
Resistance,Apr 18, 2016

and

Hello

Any chance we can get a "max inventory space needed" setting to redeem a kit?

bad things are happening when people redeem kits with full inventories on my 1000x server.
 






Merged post

And then they solved the "problem"
Absolut updated Kits with a new update entry:

3.2.0

Hello everyone! It is my pleasure to provide this Kits update! Enjoy!

Highlights
  • Overhauled built in UI
  • Added AutoKits by permission
  • Added UI Key Binding
  • Added Custom UI Background
  • Added Kit Redemption Logging
  • Added Inventory Space Check on Kit Redemption
Config Additions Explained:
"AutoKits": {
"permission1.allow": "KitName1",
"permission2.allow": "KitName2",
"permission3.allow": "KitName3"
},

AutoKits extends the...
Click to expand...
 


Merged post

https://umod.org/community/rust-kits/13836-changing-kits-can-i-place-full-old-outfit-to-inventory