没人喜欢翻找背包来整理物品。为什么不把这个任务交给小妖精呢?Magic Chest 会在你关闭容器时自动整理你的背包,这样当你再次打开时,里面的物品已经全部排好序,方便你快速找到所需物品。
工作原理
1. 相同材质的堆叠物品会合并。
2. 堆叠物品按物品名称排序。
3. 名称相同的堆叠物品按数据值(例如羊毛颜色)排序。
4. 名称和数据值都相同的堆叠物品按数量排序(因此不完整数量的堆叠会被排在最后)。
- 注意:在铁砧中重命名或没有默认 Minecraft 库存标题的容器不会被排序。
排序前

排序后

命令
/mgcs help:显示命令使用帮助页面。
/mgcs on:为执行该命令的玩家开启自动排序。
/mgcs off:为执行该命令的玩家关闭自动排序。
/mgcs invon:当拾取物品时,为玩家背包开启自动排序。(v1.2.4 及以上版本)
/mgcs invoff:为玩家背包关闭自动排序。(v1.2.4 及以上版本)
/mgcs reload:重新加载 MagicChest 的所有配置。
权限
magicchest.sort:排序该玩家打开的所有容器。
magicchest.sort.chest:排序该玩家打开的箱子。
magicchest.sort.dispenser:排序该玩家打开的发射器。
magicchest.sort.enderchest:排序该玩家打开的末影箱。
magicchest.sort.shulkerbox:排序该玩家打开的潜影盒。
magicchest.help:显示使用帮助。
magicchest.reload:重新加载 MagicChest 的所有配置。
评论
Curse Spotlight
插件统计

插件兼容性
dtlTraders- 避免排序 TNPC 的容器。
ChestCommands- 忽略对 ChestCommands 容器的排序。
FastCraft- 避免排序 FastCraft 菜单。
AShops- 避免排序 AShops 容器。
SkillAPI- 避免排序 SkillTrees 和其他菜单。
- 如果你发现 MagicChest 对另一个插件的容器或其他类似情况进行了错误的排序,请随时留言告知我。
InventorySortEvent API(面向插件开发者)
如果你需要取消 MagicChest 对某个容器的排序,请使用此接口。Github Wiki
特别鸣谢与感谢:
dandielo - 实现了 dtlTraders 的兼容性!没有你就不可能帮助到大家!
timsavage - 提出了 dtlTraders 插件兼容性的需求!
filoghost - 出色的 ChestCommands 插件的作者,以及 MagicChest 的帮助和支持!没有你的建议就不可能做到这一点!:)
lecraeman - 请求支持 ChestCommands!
Kepler_ - FastCraft 的作者以及 MagicChest 的支持者。谢谢你让我知晓并与我合作!
Metrics 信息
引用:
本插件使用了 Hidendra 的插件指标系统,这意味着以下信息将被收集并发送至 mcstats.org:
唯一标识符 Java 的版本 服务器是在离线模式还是在线模式 插件的版本 服务器的版本 操作系统版本/名称及架构 CPU 核心数 在线玩家数量 Metrics 版本 可以通过编辑 plugins/Plugin Metrics/config.yml 并将 opt-out 更改为 true 来选择退出此服务。
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
Curse Spotlight
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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧