ChestCleaner - Sorting Plugin (+API)
2.4.4ChestCleaner sorts your chests and inventories. (+ Autorefill for items in the hotbar)
2.4.4latestUpdate 2.4.4Sep 4, 2022 Chanlog on GitHub: https://github.com/tom2208/ChestCleaner/releases/tag/v2.4.42.4.3Update v2.4.3Jul 14, 2022 Changelog at github: https://github.com/tom2208/ChestCleaner/releases2.4.1ChestCleaner 2.4.1Dec 4, 2021 I fixed the click sort issue. Spigot removed the option to track middle mouse click in survival mode, thus i changed it. Now you can sort using right click like you used the middle mouse button. The middle mouse button can still be used if spigot supports it, so just give it try.2.4.0ChestCleaner 2.4.0Nov 13, 2021 Git Hub Release: https://github.com/tom2208/ChestCleaner/releases/tag/v2.4.0 Wiki for 2.4: https://github.com/tom2208/ChestCleaner/blob/master/wiki.md2.3.2Update 2.3.2Oct 21, 2020 The github release: https://github.com/tom2208/ChestCleaner/releases/tag/v2.3.2 What changed: · The auto refill is now using the stacks form the hotbar too except the items which you are holding · a bug was fixed which caused error messages on the event an item breakes or gets damaged2.3.1Update 2.3.1Oct 13, 2020 Removed debug message, which send you the type of block you placed.2.3.0Update 2.3.0Oct 11, 2020 GitHub Release: https://github.com/tom2208/ChestCleaner/releases/tag/v2.3.0 Added: · a blacklist of refill items got implemented (entries will no longer get refilled) Bug Fixes: · tools which "placed" a block no longer getting replaced by autorefill (example hoe which creates dirt from coarse dirt) · autorefill replaced the item in the scondary slot if a armor piece breaked · some items have not the same Material ID if they get placed (example normal torch has the id: TORCH, a torch placed on the wall has the id: WALL_TORCH) this bug was fixed for many items: · all kinds of seeds · all kinds of signs · Strings · potatos and carrots · sweet berries · redstone dust · all kinds of torches2.2.1ChestCleaner v2.2.1Aug 27, 2020 Bug Fixes: · Since consumables couldn't be refilled by a stack with the amount of one, because the clientr would make the item invisible. Thats fixed now: the item gets put into the inventory after waiting one game tick. · Refill items of Breakables like tools will no longer get deleted when breaking in combat. We use the some one-tick waiting method form above. · Clicksort will no longer sort inventories that create gamebreaking item reordering. Like swaping the saddle and a block in an mule inventories. Or in the case of an llama inv, we have a hidden slot the player can't see. The sorting alogrith puts items into this hidden slot. Another example is the oven, swaping coal and meat. In this cases ClickSort will sort the inventory of the player.2.2.0Update 2.2.0Aug 23, 2020 Added: · You can now sorts via middle-mouse-clicking outside of an inventory (but only in survival mode) · you can reset your individual category configuration now Change: · New Spigot API Version: 1.16.2-R0.1-SNAPSHOT2.1.0Update 2.1.0Aug 18, 2020 GitHub Link: https://github.com/tom2208/ChestCleaner/releases/tag/v2.1.0 New: · you can now toggle the sorting notification and the sorting sound (for server default and individualy with (sortingadmin & sortingconfig command) · new reset command (sortingconfig reset) to reset the individual configuration · autorill for breakable items like tools etc. + configuration of this autorill type · sorting own and others inventory with "cleaninventory own" · you can remove categories now (sortingadmin categories remove ) Bug Fixes: · we fixed a bug which caused showing the wrong categories for indivdual configuration (sortingconfig categories) · Auto Refill will no longer replace an block, if worldguard denied the placing. We know about the problem that the .properties files are not de/encoded in UTF-8, thats a java issue and we have to work around that. We are searching for an nice solution.2.0.2cave air bug-fixMay 10, 2020 A bug was fixed which caused the not-openEvent-mode to not avoid cave air block, that resulted in not being able to sort in this mode in caves.2.0.1v2.0.1 Permission Bug FixMay 3, 2020 A bug got fixed which caused the permission for "set auto sort" to work not properly.2.0Huge 2.0 UpdateApr 26, 2020 For all changes: https://github.com/tom2208/ChestCleaner/wiki/Changelist-2.0 The whole Plugin got reworked. To get started again: here you can find a migration guide: https://github.com/tom2208/ChestCleaner/wiki/Migration-Gu… The new wiki link: https://github.com/tom2208/ChestCleaner/wiki1.7.1Update 1.7.1 - bug fixxes + ender chest autosortMar 14, 2020 - A bug was fixed where player data was not removed or not loaded correctly (sorting patterns and evaluators, autosort settings) - A bug which caused an issue with setting individual player settings was fixed. - Old code was reworked + autosort now sorts ender chests and trapped chests too (instead of just chests)1.7Version 1.7Sep 16, 2019 - New sorting algoriths and configuration options. - New sorting control command (for more information read the main article of this plugin) - a bug was fixxed where the wrong player name was displayed if you gave another player the cleaning item with /cleaningitem give <player> - you can now use @a in /cleaningitem give <@a/player> to give every online player a cleaningitem. - autosorting was added1.6.5Fixxing log-BugAug 28, 2019 I got an bug report by "MrAmericanMike": "When right clicking Logs with an Axe to get stripped logs, if you already have those logs in inventory, the plugin will delete our axe and place those logs in our hand." That is fixxed now.1.6.4Update 1.6.4Jul 3, 2019 [NEW] IteratorMode ( EventDetectionMode = false) is now ignoring grass, signs, item frames, torches and carpets. (an example of what issue is fixxed now can you find here: https://www.spigotmc.org/threads/chestcleaner-sorting-plu… [NEW] InventoryBlackList : The entries of the inventory blacklist are materials that will get ignored by trying to sort an inventory ( is only working in IteratorMode or EventDetectionMode = false). For example you can put a furnace onto the list, then you will not be able to sort furnace inventories. How does it work using the blacklist command? I modified the /blacklist command: the first argument of the command is the list you want to modify the second argument are the old ones you know form the old command. /blacklist <list/clear/addMaterial/removeMaterial> ===> /blacklist <inventories/sorting> <list/clear/addMaterial/removeMaterial> [NEW] If a block does not contain an inventory, if you sort something with the command, you will get the information of the material of the block in the error message.1.6.3Update 1.6.3Jun 10, 2019 [BUG-FIX] durabilityloss boolean gets read correctly now. [BUG-FIX] TabCompleter will not show suggestions that are not intended [BUG-FIX] A bug was fixed, where a few item stacks got shifted some slots to the side. [BUG-FIX] Stacking issue: stackable cleaning items where sometimes unable to stack together. [ADDED] Blacklist: A list of item materials that get ignored by the stacking algorithm, means they will not get merged to max stacked stacks. [ADDED] Command: /BlackList <list/clear/addMaterial/removeMaterial> permission for using that command: "chestcleaner.cmd.blacklist" [REPLACED] deprecated method-uses. [ADDED] You can now use the cleaning item in both hand slots. Except holding one in both hands (I'm trying to get that thing working). [ADDED] some syntax error messages.1.6.2Update 1.6.2Jun 6, 2019 [Fix] - " sneaking + right clicking" is now sorting you own inventory in eventdetectionmode and in interationmode (eventdetectionmode false) - a permission was added ("chestcleaner.cleaningitem.use.owninventory") [NEW] TabCompleter was added to the commands. [CHANGE] /cleaningitem setdurability <true/false> was changed to /cleaningitem setdurabilityloss <true/false> . The permission of that subcommand was changed too: chestcleaner.cmd.cleaningitem.setdurability -> chestcleaner.cmd.cleaningitem.setdurabilityloss . Now it's more clear what this command really means.1.6.1.4Adding UpdatecheckerJun 5, 2019 You will get a message, if there is an update of my plugin available . (To get the message you have to be operator or have the persmission "chestcleaner.update")1.6.1.3Fixxing importent bugJun 5, 2019 [bug fix] in 1.6-1.6.1.2 entchantments (and other meta datas) on items got copied on similar items. Thats fixxed now.1.6.1.2FixJun 2, 2019 [Bug fix] It works on 1.13 again.1.6.1.1Fixxing a BugJun 2, 2019 You can now disable correctly (/cleaningitem setdurability false), that stackable items will no longer get reduced, if they are used as a sorting item.1.6.1Adding CleaningItem FeatureJun 1, 2019 You can now use stackable items as the cleaning item. If you use an iron ingot, for example, its amount will reduced by one, if you have activated the durability loss (/cleaningitem setDurability true).1.6Code-Rework + 1.14 supportMay 25, 2019 For informations, see the main page.1.5.3Automatic Refill Function and Console FixSep 20, 2018 Consumables and blocks can now get autofilled. /autorefill <blocks/consumables> <true/false> Minecraft Vanilla 1.8 will not work with this plugin version, use 1.5.2 instead. (I will fix this soon) new permissions: Code (Text): chestcleaner.clean.item chestcleaner.item.give (give a player the cleaning item /cleaningitem give <player>) chestcleaner.item.get (gives you the cleaning item) chestcleaner.clean.playerinventory (cleaning the player inv with the command and the item) chestcleaner.clean.chest (cleaning chest with the command) chestcleaner.clean.enderchest (cleaning enderchests with the command) chestcleaner.clean.shulkerbox (cleaning shulkerboxes with the command) chestcleaner.config (configure the plugin, timer and cleaningitem commands) chestcleaner.* (Gives access to all chestcleaner commands) chestcleaner.clean.* (Allows you to sort chests,enderchests, shulkerboxes and playerinventorys) chestcleaner.autorefill.config (allows the configuration of autorefill) chestcleaner.autorefill.consumables (allows using the autorefill function for consumables) chestcleaner.autorefill.blocks (allows using the autorefill function for blocks)1.5.21.13 updateAug 9, 2018 - ChestCleaner is now working with mincraft versions: 1.8, 1.9, 1.10, 1.11, 1.12, 1.13 - the default cleaning item was changed, it is now an iron hoe. - IF YOUR PLUGIN IS NOT WORKING: delete the ChestCleaner folder in the plugin folder and restart or reload the server1.5.1.2Fixxing support for 1.8. MinecraftAug 8, 2018 You can use ChestCleaner now without errors on version 1.8. You will not here an sorting sound in version 1.8 of minecraft anymore. That caused the error.1.5.1Update 1.5.1 (Lore, Sound and rename of a command)Feb 6, 2018 UPDATE 1.5.1 [~] the command "cleanitem" was renamed to "cleaningitem" [+] You can now add lore to your items (use /cleaningitem) [+] You will hear a sound now, if you're sorting a inventory [+] some bugs got fixed1.5Protection now possible (cleaningitem rework)Feb 5, 2018 UPDATE 1.5 ________________________________________ I reworked the method how the cleaning item works. It is not longer using the method of the command (gets the block you're looking at), it is using the InventoryOpenEvent. That means you can sort any inventory you can open , other Plugins which are denying to open inventories are denying the sorting for them. (!) You can still sort chests of other players with the sorting command, if you don't want this, then you have to remove the permission of these commands for these players. Here are the new permissions: Code (Text): chestcleaner.clean.item chestcleaner.item.give (give a player the cleaning item /cleanitem give <player>) chestcleaner.item.get (gives you the cleaning item) chestcleaner.clean.playerinventory (cleaning the player inv with the command and the item) chestcleaner.clean.chest (cleaning chest with the command) chestcleaner.clean.enderchest (cleaning enderchests with the command) chestcleaner.clean.shulkerbox (cleaning shulkerboxes with the command) chestcleaner.config (configure the plugin, timer and cleanitem commands) chestcleaner.* (Gives access to all chestcleaner commands) chestcleaner.clean.* (Allows you to sort chests,enderchests, shulkerboxes and playerinventorys)1.4.9.d.3sorting fixxedJan 29, 2018 The error whichs caused the item error event (deleting items), got fixxed. The sorting system is working fine now, like before.1.4.9.d.2Hard FixJan 29, 2018 Hard Fix (some items got deleted, that is now fixed)1.4.9.dNew more efficient sorting method + BUG FIX (ERROR MESSAGE BUG)Jan 28, 2018 UPDATE 1.4.9.d ------------------------------- [~] a new more efficient sorting method [ERROR-FIX] i fixed a bug which caused error messages in the console1.4.9.c1.12 SupportJul 6, 2017 You can now use my plugin on 1.12 Servers, now without errors.1.4.9.bFixing Error-Message caused by older versions (v.1.4.9.b)Jun 4, 2017 Fixing Error-Message caused by the old version 1.8. I used a method which is only aviable in 1.9+.1.4.9Message Update (1.4.9)Jun 3, 2017 UPDATE ____________________________________________________ [+] You can now configure the messages of this plugin in the config.yml1.4.8API Update (v1.4.8)May 22, 2017 UPDATE 1.4.8 [+] A new API New and better permissions: Code (Text): chestcleaner.clean.item.chest (cleaning chests with the cleaningitem) chestcleaner.clean.item.enderchest (cleaning enderchests with the cleaningitem) chestcleaner.clean.item.shulkerbox (cleaning shulkerboxes with the cleaningitem) chestcleaner.item.give (give a player the cleaning item /cleanitem give <player>) chestcleaner.item.get (gives you the cleaning item) chestcleaner.clean.playerinventory (cleaning the player inv with the command and the item) chestcleaner.clean.chest (cleaning chest with the command) chestcleaner.clean.enderchest (cleaning enderchests with the command) chestcleaner.clean.shulkerbox (cleaning shulkerboxes with the command) chestcleaner.config (configure the plugin, timer and cleanitem commands) chestcleaner.* (Gives access to all chestcleaner commands) chestcleaner.clean.* (Allows you to sort chests,enderchests, shulkerboxes and playerinventorys)1.4.7Permissions + ErrorMessage Update (v.1.4.7)May 20, 2017 UPDATE 1.4.7 new permissions: Code (Text): chestcleaner.clean.item.chest (cleaning chests with the cleaningitem) chestcleaner.clean.item.enderchest (cleaning enderchests with the cleaningitem) chestcleaner.clean.item.shulkerbox (cleaning shulkerboxes with the cleaningitem) chestcleaner.item.give (give a player the cleaning item /cleanitem give <player>) chestcleaner.item.get (gives you the cleaning item) chestcleaner.playerinventory (cleaning the player inv with the command and the item) chestcleaner.clean.chest (cleaning chest with the command) chestcleaner.clean.enderchest (cleaning enderchests with the command) chestcleaner.clean.shulkerbox (cleaning shulkerboxes with the command) chestcleaner.config (configure the plugin, timer and cleanitem commands) chestcleaner.* (Gives access to all chestcleaner commands) chestcleaner.clean.* (Allows you to sort chests,enderchests and shulkerboxes) _______________________________________________ [+] new syntax and permissionerror messages1.4.6Get CMD + Bugfix (v.1.4.6)May 16, 2017 UPDATE 1.4.6 [+] The new /cleanitem get command gives you the cleaning item BUGFIX: You can only choose names for your cleaningitem with two or more arguments + message if you do a syntax error (/cleanitem rename)1.4.5CleanItem Name Update (v.1.4.5)May 16, 2017 UPDATE 1.4.5 [+] You can now use a name with spaces for your cleaning item. ---> (/cleanitem rename <arg1> <arg2> .... <argn>)1.4.4Rename Cleaning item + Bugfix (v1.4.4)May 14, 2017 UPDATE [+] You can rename your cleaning item now! /cleanitem rename name (colors with &x) You can give a player the item with /cleanitem give player Permissions: Code (Text): cleanchest.clean.item.chest (cleaning chests with the cleaningitem) cleanchest.clean.item.enderchest (cleaning enderchests with the cleaningitem) cleanchest.clean.item.shulkerbox (cleaning shulkerboxes with the cleaningitem) chestcleaner.item.give (give a player the cleaning item /cleanitem give <player>) cleanchest.playerinventory (cleaning the player inv with the command and the item) cleanchest.clean.chest (cleaning chest with the command) cleanchest.clean.enderchest (cleaning enderchests with the command) cleanchest.clean.shulkerbox (cleaning shulkerboxes with the command) chestcleaner.config (configure the plugin, timer and cleanitem commands) ERROR FIX ERROR if you clicked in the air, this is now fixed.1.4.3CleanItem Update #2 (v1.4.3)May 14, 2017 UPDATE [+] You can use your cleaningitem to sort your inventory (SHIFT + RIGHTCLICK) New permissions: Code (Text): cleanchest.clean.item.chest (cleaning chests with the cleaningitem) cleanchest.clean.item.enderchest (cleaning enderchests with the cleaningitem) cleanchest.clean.item.shulkerbox (cleaning shulkerboxes with the cleaningitem) cleanchest.playerinventory (cleaning the player inv with the command and the item) cleanchest.clean.chest (cleaning chest with the command) cleanchest.clean.enderchest (cleaning enderchests with the command) cleanchest.clean.shulkerbox (cleaning shulkerboxes with the command) chestcleaner.config (configure the plugin, timer and cleanitem command)1.4.2HOTFIXESMay 13, 2017 Fixes (plugin.yml) - ci command (removed)1.4.1Timer Update (v.1.4)May 13, 2017 Update 1.4 ___________________________________________________ [+] /Timer <setActive/setTime> Permission: ChestCleaner.Config Timer: Cooldown for the cleaning commands and the cleaning item ___________________________________________________1.4May 13, 2017 1.3Fixing Upload Bug v1.3May 10, 2017 i fixed a upload bug1.2.11.10 SupportMay 4, 2017 You can use Chestcleaner now on your 1.8, 1.9 & 1.10 Spigot-Servers.1.2ClearItem Update (v1.2)May 3, 2017 Version 1.2 ______________________________________________________________ [+] You can now use items instead of the /cc or /clearchest command. Configuration: - /cleanitem setActive <true/false> (funktion is activated) - /cleantem durability <true/false> (item get durability by using it to sort) - /cleanitem setItem - (item you're holding in your (main (MC1.9)) Hand) Permissions: - ChestCleaner.Config (for /clearitem or /ci) - CleanChest.Clean.Item.Chest (sorting chests with the clearing item) - CleanChest.Clean.Item.EnderChest (sorting enderchests with the clearing item) Default Config: Code (Text): cleaningItem: ==: org.bukkit.inventory.ItemStack type: GOLD_HOE active: true durability: true But this config will generate automaticly, with your own settings. [+] Permission: CleanChest.Clean.EnderChest, is now working without CleanChest.Clean.Chest1.11.9 SupportMay 2, 2017 You can use my plugin now on your 1.8 & 1.9 spigot server.1.0May 2, 2017
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta