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.


-
View User Profile
-
Send Message
Posted May 29, 2013@malhagor
Here
-
View User Profile
-
Send Message
Posted May 29, 2013@lecraeman
Link me to your permissions file in some way so that I can look at it.
-
View User Profile
-
Send Message
Posted May 28, 2013I have added permissions for this plugin, but it still says that people don't have permission. Any ideas?
-
View User Profile
-
Send Message
Posted May 28, 2013@uvbeenzaned
Thanks. Where do I get it ?
-
View User Profile
-
Send Message
Posted May 28, 2013@malhagor
You request has been granted.
-
View User Profile
-
Send Message
Posted May 28, 2013@timsavage
I'm on it. I just talked to the dev of the plugin. We'll see how this turns out. In the meantime, I'm very sorry the plugin hasn't worked for you in that respect.
-
View User Profile
-
Send Message
Posted May 28, 2013I've been using this plugin for about six months on my server. I like my chests sorted. Unfortunately, I've recently started adding Citizens NPC characters to one of my worlds, and have run into a conflict that I could only resolve by removing Magic Chests.
Some of my NPCs are merchants created using dtlTraders. When clicked on, the player is presented with the buy/sell inventory of that particular merchant as a chest inventory. There is a wool cube in the bottom right corner of the inventory that allows you to switch between the buy or sell inventories. Sorting this inventory moves the 'command cube' out of it's lower right position, and thus causes dtlTraders to fail.
Is there something that can be done to make these plugins play nice together? Either something I can do in the configuration, a change to this plugin to prevent sorting of dtlTrader inventories, or a way for the author of dtlTraders to prevent Magic Chests from sorting trader inventories.
I miss my sorted chests, but obviously the NPC traders are going to take priority if I am forced to choose. Thanks!
-
View User Profile
-
Send Message
Posted May 28, 2013@malhagor
Ok I will be able to work on that this afternoon. See if the last release is good enough for a little bit. (check the changelog for what I updated).
-
View User Profile
-
Send Message
Posted May 28, 2013@uvbeenzaned
Thank you for the quick answer... I want by default, every users on my server to be able to use magic chest, Op or not... with nothing to type or no permissions to set
It used to be like that on my old server (2 months ago) with magic chest. (Basically before your update :P)
Thanks in advance if you can help me with that
-
View User Profile
-
Send Message
Posted May 28, 2013@malhagor
How did I mess it up? Just tell me what you want me to fix and I'll write some new code according to your needs. That's what the dev is here for. :-)
-
View User Profile
-
Send Message
Posted May 28, 2013This plugin was one of the best until you had to mess up with permissions to allow all users to use it .... If someone would give me a version of this working without any permissions, i'd be glad.
-
View User Profile
-
Send Message
Posted May 22, 2013@to175
Just added an option in the latest version for you! For version 1.1.4 and above! Added a default_sorting option for the config.yml file. To use this feature, stop your server, delete your MagicChest config.yml file, start it again, edit the option in the config.yml and then type /mgcs reload in game.
-
View User Profile
-
Send Message
Posted May 6, 2013Good News Bro!
Turns out it was a problem with another plugin! An Alias plugin!
Sorry to cause trouble, but it is working!
-
View User Profile
-
Send Message
Posted May 6, 2013Ok but is the auto sorting automatically "on"? Because I would like my players don't use command but that I give them a "permission" to sort. Because I don't want that they have to think about any plugin in game... Thanks
-
View User Profile
-
Send Message
Posted May 6, 2013I still can't get this working :( which sucks because I am letting VIPs(Who pay)use it. I am gonna redownload and try to get it working! Please get back to me!
I know you're working very hard!
-
View User Profile
-
Send Message
Posted May 5, 2013@to175
If you don't want your players to use the command, just change magicchest.sort to -magicchest.sort. The command /mgcs on is what players need to use to turn auto sorting on.
-
View User Profile
-
Send Message
Posted May 5, 2013@lecraeman
Yes it does work with 1.5.2 just tested it. Make sure your plugin actually loaded in the server.
-
View User Profile
-
Send Message
Posted May 5, 2013@donsavage1
As far as I know. Just give it a try.
-
View User Profile
-
Send Message
Posted May 5, 2013Will this work with spoutcraft's custom items?
-
View User Profile
-
Send Message
Posted May 4, 2013@lecraeman
@to175
I will get back to you as soon as I get a chance to test things tomorrow.