Cleaner Download 1.8 • Donate This plugin is originally made by Nijikokun i'm just keeping this up-to-date. Cleaner is a plugin to help you maintain users inventories. Why? Everyone likes to be a little dangerous. Now you can prevent it. Cleaner allows you to scan, preview, force removal of items, cleaning, forced cleaning, and more! Install: First, grab the Permissions plugin if you don't have it already. Modify your permissions file (plugins/Permissions/world.yml) with the permissions included in the README.txt included in this archive. Download & Extract all the files into your base directory of bukkit. Configure your items.db Reload the server or Enable the plugin via console. Enjoy! Commands: /wipe - Wipe all inventories of online players on the server. /wipe -f - Wipe all inventories & quickbars of online players on the server. /clean - Clean your inventory without harming the quickbar /clean -f - Force clean the entire inventory. /clean [player] - Clean another player without harming their quickbar /clean [player] -f - Clean another player's entire inventory. /scan [item] - Scans every online player to see if they have the item /scan [item] -r - Removes 1 of every item from every player who has it. /scan [item] -f - Removes every instance of item from every player who has it. /scan [item] [amount] - Scans every online player to see if they have the item under amount /scan [item] [amount] -r - Removes the amount of item from any player who has it. /scan [item] [amount] -f - Removes every instance of item from every player who has it. /scan [player] - Verbose scan of a players inventory (Possible client crash due to Notch Line length / color bug) /scan [player] [args] - Does the same for a player as the item scanning. /preview [player] - View a players inventory and store yours for later /replace [player] - Replaces a players inventory with yours. /replace [item] [with] - Globally replace an item with another in everyone's inventory. /replace [player] [item] [with] - Replace an item with another item in a players inventory. /invrestore - Restores your inventory after you are done viewing another players inventory Permissions Nodes: Code: [ PERMISSIONS ] - Requires Permissions - Cleaner contains the following Permissions: cleaner.clean cleaner.clean.force cleaner.clean.player cleaner.clean.player.force cleaner.preview cleaner.preview.invrestore cleaner.replace cleaner.replace.items cleaner.replace.player cleaner.replace.player.items cleaner.scan cleaner.scan.items cleaner.scan.remove cleaner.scan.remove.force cleaner.scan.player cleaner.scan.player.remove cleaner.scan.player.remove.force - Some examples of how you could set this up: cleaner.clean cleaner.scan Would allow you to scan and clean but nothing else. - Advanced: cleaner.clean cleaner.clean.* cleaner.scan.player cleaner.scan.player.* Gives you access to everything under .clean & .scan.player - Easy for admins: cleaner.* Gives you access to everything. Changelog 1.8 Updated to recommend build Fixed the /replace command Changed /restore to /invrestore (also in permissions) 1.7 Updated to support Permissions plugin. 1.6 Contained fixes. 1.5 Converted for Bukkit 1.4 Added /wipe command. Added partial username support to all commands. 1.3 Contains various fixes / missing messages captured by testing. 1.2 Added more verbose permissions to cleaner in Cleaner/permissions.settings for sub-commands / features 1.1 Added /replace commands Patched up the /clean [player] command now outputs a message with confirmation. 1.0 Initial Release Item name control Database: (Whew long name, IncDB for short)[size=x-small] This is controlled by items.db inside of the Cleaner/ directory. This controls item name <- to -> id mapping. This is a single usage map (actually, never tested multiple) for custom item names inside the plugin. Currently all of the newer plugins that I've been releasing will be utilizing these (if needed). This contains the items.db and some example entries. Check it out, its pretty cool. IMPORTANT: Post the bugs in this thread!