YEEEEY - I've made a fix for inventory -
Also - Use my version of the cleaning items. It doesn't break player inventoryCode:case "fix": player.inventory.ServerInit(player); break;
Admin Inventory Cleaner
This is simple plugin that will do what is says it does, clean your inventory :)
Total Downloads: 4,917 - First Release: Apr 20, 2015 - Last Update: Mar 17, 2018
- 5/5, 10 likes
-
[DOUBLEPOST=1487922851][/DOUBLEPOST]
Thank you for the input. I will update it shortly. -
TheDoc updated Admin Inventory Cleaner with a new update entry:
1.4.0
-
Ooook, why did you left player.inventory.Strip()? And why there is a case "fix"?
The best way was just to replace
Code:if (args.Length == 0) { player.inventory.Strip(); SendChatMessage(player, "<color=lime>Inventory Cleaner</color>: Your Complete Inventory is now clean!"); return; }
Code:foreach(var item in player.inventory.containerBelt.itemList) { item.Remove(); } foreach (var item in player.inventory.containerMain.itemList) { item.Remove(); } foreach (var item in player.inventory.containerWear.itemList) { item.Remove(); }
-
TheDoc updated Admin Inventory Cleaner with a new update entry:
1.4.1
-
@TheDoc any posibility to add option (also in config true/false) to clean inv of admin when ever he disconnects? So you know, you dont need to run those commands Would prefer the naked full command to be runned when ever admin disconnects. Thanx
-
-
how do you give yourself permission to do the command, im new to the server making things so i have to learn and i cant figure out how
-
grant group default inventorycleaner.allowed
This will grant it to just one player:
grant user TheDoc inventorycleaner.allowed
-
oxide.grant group admin inventorycleaner.allowed [ put that in console for those having issues with permissions ]
-
Does this plugin still work? Can't seem to get it working and checked permissions files and I am in admin group and admin's have inventorycleaner.allowed access.
Not sure what's going on but the command just doesn't execute when run from in game console.
Thanks -
can you add cleaRinv as well for idiots like me who keep typing clearinv instead of cleaninv lol
-
thank you
-
can you add a console command to it? i would like to use it with my shop, but with that plug i cannot use the chat commands.
-
[DOUBLEPOST=1521218486][/DOUBLEPOST]
[DOUBLEPOST=1521218555][/DOUBLEPOST] -
TheDoc updated Admin Inventory Cleaner with a new update entry:
1.5.0
-
3 years ago do I do inventorycleaner.allowed (name) or how do i do it
-
Wulf Community Admin
-
This will grant it to all players:
oxide.grant group default inventorycleaner.allowed
This will grant it to just one player:
oxide.grant user TheDoc inventorycleaner.allowed
Don't forget about the new one permission for Admins only: inventorycleaner.cleanonexit -
love this thing for working with kits. bind a key to /cleaninv and vwallah!