Magic Chest
Nobody enjoys rummaging through inventories to organize the contents. Why not hand that job down to the gremlins? Magic Chest auto-sorts your inventories while you have them closed, so that when you open them they are completely sorted and it's easy to find your stuff.
How It Works
1. Stacks of the same material are combined.
2. Stacks are sorted by item name.
3. Stacks of the same item name are sorted by Data (i.e. Wool Color)
4. Stacks with the same name and Data are sorted by Quantity (So the incomplete stack will be last)
- Note: Chests that are renamed in an anvil or that do not have the default Minecraft inventory title are excluded from sorting.
Before
After
Commands
/mgcs help: shows a command usage help page.
/mgcs on: turns auto-sorting on for the player that ran the command.
/mgcs off: turns auto-sorting off for the player that ran the command.
/mgcs invon: turns auto-sorting on for the players inventory when an item is picked up. (v1.2.4 and above)
/mgcs invoff: turns auto-sorting off for the players inventory. (v1.2.4 and above)
/mgcs reload: reloads all of MagicChest's config.
Permissions
magicchest.sort: Sorts all inventories that this player opens.
magicchest.sort.chest: Sorts chests that this player opens.
magicchest.sort.dispenser: Sorts dispensers that this player opens.
magicchest.sort.enderchest: Sorts ender chests that this player opens.
magicchest.sort.shulkerbox: Sorts a shulker box that this player opens.
magicchest.help: Shows a usage help.
magicchest.reload: Reloads all of MagicChest's config.
Reviews
cobwebster's (aka. ShinyTinselWorm) overview of MagicChest
Plugin Stats
Plugin Compatibility
dtlTraders- Avoids sorting TNPC inventories.
ChestCommands- Ignores sorting ChestCommands inventories.
FastCraft- Avoids sorting FastCraft menu.
AShops- Avoids sorting AShops inventories.
SkillAPI- Avoids sorting SkillTrees and other menus.
- If you have a problem with MagicChest sorting another plugins inventory or something like that please do not hesitate to leave a comment and let me know.
InventorySortEvent API (for plugin devs)
If you need to cancel MagicChest sorting an inventory, this is for you. Github Wiki
Massive shoutout & thanks to:
dandielo - making dtlTraders compatibility possible! Couldn't have helped folks without you!
timsavage - dtlTraders plugin compatibility request!
filoghost - author of the awesome ChestCommands plugin and the help and support of MagicChest! Couldn't have done it without your suggestion! :)
lecraeman - for requesting support of ChestCommands!
Kepler_ - author of FastCraft and supporter of MagicChest. Thanks for letting me know and working with me!
Metrics Information
Quote:This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
A unique identifier The server's version of Java Whether the server is in offline or online mode The plugin's version The server's version The OS version/name and architecture The core count for the CPU The number of players online The Metrics version Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
Does not work on 1.14 ... Will there be an update
Does this work with shulker boxes too, or just chests? Also, it would be great if (with multiple chests and sulker boxes in the same room), if blocks could be put in containers with the same type of block. For example, one (or more) chests would contain nothing but polished granite, another would have nothing but unpolished granite, while another would have nothing but oak logs, etcetera... That would be the ultimate sorting plugin.
In reply to MegaMarty:
How i can config sort with ID item? :((..
i need help.
In reply to DuckyLuckVN:
In reply to uvbeenzaned:
In reply to DuckyLuckVN:
getting [12:27:06 ERROR]: [MagicChest] Plugin MagicChest v1.3.0 has failed to register events for class org.zonedabone.magicchest.MagicChestListener because org/bukkit/event/entity/EntityPickupItemEvent does not exist. running bukkit, and mc 1.12
In reply to Am_bork:
Hello all I am sorry to address all these comments so late. I didn't know that people still used MagicChest. I will see if I can add the requested things below.
Any way to have it on by default? So that new players don't have to actually use the command? It'll just automatically sort?
EDIT: Nvm xD just looked at config, helpful option for over. Disregard that ^^^
I have a problem because it sorts Transport Pipes. How can I put in an Exception for this mod?
In reply to wesker92:
Whenever I open my horse inventory, the armor and saddle switch. How do I disable this?
In reply to fvoichick:
add support for slimefun please
In reply to a1434967947:
@ToxicFuel
Thanks man, really appreciate it!
Fantastic plugin! This seems like something that should be integrated with essentials. Any time I go on a server without Magic Chest, it's much more of a pain to manage sorting, seeing I'm pretty OCD in that area. Great job, and appreciate the constant stream of updates.