What does it do?
With this plugin you can delete your own inventory, or parts of it, like belt, wear, inv, but you can also delete the inventory of all players logged into the server.Your inventory can also be deleted when you log out or when you die, if you have permission to do so.
Permissions
This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.- inventorycleaner.allowed - To use the /clearinv command.
- inventorycleaner.cleaneveryone - Perm to use the options to clean the inventory of all players.
- inventorycleaner.cleanondeath - To clear your inventory on death.
- inventorycleaner.cleanonexit - To clear your inventory on logout.
Commands
This plugin provides both chat and console commands using the same syntax. When using a command in chat, prefix it with a forward slash: `/`.The base command is /clearinv, if you type the base command, your inventory will be cleared.
If you type /clearinv help, you will access the help menu, with all your permissions.
Command Options
To use the options, type the base command /clearinv [opts] and use one option.- main - remove all your items
- inv - remove all items from your inventory
- belt - remove all items from your belt
- wear - remove all items from your clothing sloots
If you type /clearinv cmds, you will access the commands menu, with all your commands.
Console Commands
To use console commands, type the base command inv.clear in F1 and use one option.- main - remove all your items
- inv - remove all items from your inventory
- belt - remove all items from your belt
- wear - remove all items from your clothing sloots
ATENTION: So, both, console and chat commands have the same Syntax, only the base command changes.
Localization
The default messages are in the InventoryCleaner file under the lang/en directory. To add support for another language, create a new language folder (e.g. de for German) if not already created, copy the default language file to the new folder and then customize the messages.You can translate all the messages that the plugin is able to send to the chat.