BetterSort
一键整理箱子和你自己的物品栏。 BetterSort 还会在堆叠耗尽时补充你的快捷栏,并将你的物品存入附近的箱子中——无需客户端模组。适用于 Paper、Purpur 和 Folia 26.x —— 完美契合生存、SMP 和朋友服务器。

工作原理
| 操作 |
结果 |
| 双击空槽位 |
整理该容器——箱子或你自己的物品栏 |
| 中键点击空槽位(创造模式) |
与双击相同 |
| 潜行 + 左键点击 持有空手的箱子 |
在不打开箱子的情况下整理它 |
/sort |
整理你的物品栏——快捷栏保持不变 |
/stash |
将你的物品放入已包含同类物品的附近箱子中 |
| 快捷栏中的堆叠耗尽 / 工具损坏 |
同种物品会自动移动回快捷栏 |

特性
- 支持按类别(建筑方块、其他方块、红石、材料、食物、工具、战斗、酿造)、字母顺序或数量排序
- 整洁布局——每个类别从新行开始
- 自然顺序——矿石按价值排序,工具和盔甲按等级排序,木材家族归类在一起(橡木原木、橡木木板、橡木台阶……),且堆叠会被合并
- 支持箱子、双层箱子、桶、潜影盒、末影箱、发射器、投掷器、漏斗和储物矿车——不与其他插件的菜单冲突
- 快捷栏补充:针对方块、食物和损坏的工具
- 快速堆放(
/stash):将物品存入配置半径内的箱子中
- 尊重保护插件(WorldGuard、GriefPrevention……)和锁定的容器
- 安全:在更改任何内容前会检查物品数量——不会丢失或重复物品
- 每位玩家都可以开启或关闭自动排序(
/sort auto)和补充(/sort refill)
- 支持 Folia——一个 jar 文件兼容 Paper、Purpur 和 Folia
- 使用 MiniMessage 消息格式,内置英语、德语、法语、西班牙语、波兰语、俄语、葡萄牙语、土耳其语和中文
- 新增配置选项会自动添加,可选从 Modrinth 自动更新(默认关闭)
命令与权限
/sort - 整理你的物品栏(别名 /bettersort)
/sort auto - 打开箱子时自动整理
/sort refill - 开启或关闭快捷栏补充
/stash - 将你的物品放入附近的箱子中(别名 /quickstack)
/sort reload - 重新加载配置和消息
| 权限 |
默认值 |
说明 |
bettersort.sort |
所有人 |
整理箱子和自己的物品栏 |
bettersort.refill |
所有人 |
快捷栏补充 |
bettersort.stash |
所有人 |
/stash |
bettersort.admin |
OP |
/sort reload,更新通知 |
基岩版玩家(Geyser)
基岩版无法在物品栏中双击或中键点击。潜行 + 左键点击箱子以及 /sort 命令对基岩版玩家有效,且当他们打开箱子时会自动整理(默认设置 bedrock.sort_on_open——每位玩家都可以通过 /sort auto 切换此功能)。Java 版玩家不会察觉到任何差异。
要求
- Paper、Purpur 或 Folia 26.1 - 26.3,Java 25
- 不需要其他插件
- 可选:Geyser / Floodgate - 支持基岩版玩家
Bug 报告与支持
如果你需要帮助或遇到 bug,请通过 Discord 联系我(添加好友 hassanbwo)。我将保证提供快速帮助——感谢你的支持 :)
config.yml
# ==========================================
# BetterSort – config.yml
# ==========================================
# 一键整理箱子和你的物品栏,自动补充快捷栏
# 并将物品存入附近的箱子中——无需客户端模组。
#
# 工作原理(默认):
# 双击空槽位 -> 整理该容器(箱子或你自己的物品栏)
# 中键点击(创造模式) -> 与双击相同
# 潜行 + 左键点击箱子 -> 在不打开箱子的情况下整理它
# /sort -> 整理你的物品栏
# /stash -> 将你的物品放入已包含同类物品的附近箱子中
# 所有消息均位于 messages_en.yml / messages_de.yml(使用类似 MiniMessage 的 <red> 或 <gradient:...> 及 & 颜色代码)
# 查看插件页面以获取更多信息:https://modrinth.com/plugin/bettersort
# ==========================================
# 如果你需要帮助或遇到 bug,请通过 Discord 联系我(添加好友 hassanbwo)。
# 我将保证提供快速帮助——感谢你的支持 :)
# ==========================================
# 物品排序方式:
# category - 建筑方块、装饰、红石、运输、材料、食物、工具、战斗、酿造
# alphabetical - 按物品名称(A-Z)
# amount - 最大堆叠优先
sort_mode: category
# 排序后物品的放置方式:
# rows - 每个类别从新行开始(看起来整洁,小类别在空间不足时共享一行)
# compact - 一个堆叠紧挨着另一个
layout: rows
# 排序方式
controls:
double_click_empty_slot: true
middle_click: true
sneak_left_click: true
# 打开箱子时自动整理。
# 这仅是默认设置——每位玩家都可以通过 /sort auto 更改它
sort_on_open: false
# 基岩版玩家(Geyser / Floodgate)无法在物品栏中双击或中键点击。潜行 + 左键点击
# 箱子以及执行 /sort 命令对他们有效。如果设置 sort_on_open: true,他们打开箱子时也会自动整理
# (仅默认生效 - 每个基岩版玩家都可以通过 /sort auto 更改此设置)。仅在安装 Geyser 或 Floodgate 时生效。
bedrock:
sort_on_open: true
# 当快捷栏中的某组物品(方块、食物)用完或工具损坏时,
# 相同的物品会从背包移动到快捷栏。玩家可以使用 /sort refill 更改此行为
refill_hotbar: true
# /stash 会将所有非快捷栏的物品放入附近
# 已包含相同物品的箱子中
quick_stack:
enabled: true
radius: 8
# 音效(Minecraft 音效名称,"" = 无音效)
sounds:
sort: "ui.loom.select_pattern"
stash: "entity.item.pickup"
# BetterSort 被禁用的世界
disabled_worlds:
- example_world
# ------------------------------------------
# 所有消息的语言:en (English), de (Deutsch), fr (Français), es (Español),
# pl (Polski), ru (Русский), pt (Português), tr (Türkçe) 或 zh (简体中文)
# 您可以添加自己的语言,例如 messages_it.yml -> language: it
# /sort reload(权限 bettersort.admin)重新加载配置和消息文件。
# ------------------------------------------
language: en
# Modrinth 更新:控制台始终会公告新版本。
# enabled: 自动下载新版本。下载时会使用 Modrinth 的 SHA-512 校验和进行检查
# 并在下次服务器重启时安装(plugins/update 文件夹)。仅下载适用于您的
# Minecraft 版本和服务端软件(Paper, Purpur, Folia)的版本。
# major_versions: 也自动下载重大更新(例如 2.x -> 3.0),否则仅进行公告。
auto_update:
enabled: false
major_versions: false
BetterPlugins 的其他插件
全部适用于 Paper、Purpur 和 Folia 26.x,支持英语、德语、法语、西班牙语、波兰语、俄语、葡萄牙语、土耳其语和中文 - 查看完整的 BetterPlugins 合集:
BetterSort
Sort chests and your inventory with one click. BetterSort also refills your hotbar when a stack runs out and stashes your items into nearby chests - no client mods needed. For Paper, Purpur and Folia 26.x - perfect for survival, SMP and friends servers.

How it works
| Action |
Result |
| Double-click an empty slot |
sorts that inventory - the chest or your own inventory |
| Middle-click an empty slot (creative mode) |
same as double-click |
| Sneak + left-click a chest with an empty hand |
sorts the chest without opening it |
/sort |
sorts your inventory - the hotbar stays as it is |
/stash |
puts your items into nearby chests that already contain them |
| A stack in the hotbar runs out / a tool breaks |
the same item moves into the hotbar |

Features
- Sorting by category (building blocks, other blocks, redstone, materials, food, tools, combat, brewing), alphabetical or by amount
- Tidy layout - every category starts in a new row
- Natural order - ores by value, tools and armor by tier, wood families together (oak log, oak planks, oak slab, ...) - and stacks are merged
- Chests, double chests, barrels, shulker boxes, the ender chest, dispensers, droppers, hoppers and storage minecarts - never menus of other plugins
- Hotbar refill for blocks, food and broken tools
- Quick stack (
/stash) into chests in a configurable radius
- Respects protection plugins (WorldGuard, GriefPrevention, ...) and locked containers
- Safe: the item count is checked before anything is changed - no lost or duplicated items
- Every player can turn auto-sorting (
/sort auto) and refill (/sort refill) on or off
- Folia support - one jar for Paper, Purpur and Folia
- MiniMessage messages, English, German, French, Spanish, Polish, Russian, Portuguese, Turkish and Chinese included
- New config options are added automatically, optional auto update from Modrinth (off by default)
Commands & permissions
/sort - sort your inventory (alias /bettersort)
/sort auto - sort chests automatically when you open them
/sort refill - turn hotbar refill on or off
/stash - put your items into nearby chests (alias /quickstack)
/sort reload - reload config and messages
| Permission |
Default |
|
bettersort.sort |
everyone |
sort chests and the own inventory |
bettersort.refill |
everyone |
hotbar refill |
bettersort.stash |
everyone |
/stash |
bettersort.admin |
OP |
/sort reload, update notices |
Bedrock players (Geyser)
Bedrock Edition can't double-click or middle-click in inventories. Sneak + left-click on a chest and /sort work for Bedrock players, and their chests are sorted when they open them (default, bedrock.sort_on_open - every player can switch it with /sort auto). Java players don't notice any difference.
Requirements
- Paper, Purpur or Folia 26.1 - 26.3, Java 25
- No other plugins needed
- Optional: Geyser / Floodgate - Bedrock players are supported
Bug report & support
If you need help or have a bug please contact me via discord (add hassanbwo). I will guarantee quick help - Thanks for supporting :)
config.yml
# ==========================================
# BetterSort – config.yml
# ==========================================
# Sort chests and your inventory with one click, refill your hotbar automatically
# and stash items into nearby chests - no client mods needed.
#
# How it works (default):
# Double-click an empty slot -> sorts that inventory (the chest or your own inventory)
# Middle-click (creative mode) -> same as double-click
# Sneak + left-click a chest -> sorts the chest without opening it
# /sort -> sorts your inventory
# /stash -> puts your items into nearby chests that already contain them
# All messages are in messages_en.yml / messages_de.yml (MiniMessage like <red> or <gradient:...> and & color codes)
# Check the plugin page for more information: https://modrinth.com/plugin/bettersort
# ==========================================
# If you need help or have a bug please contact me via discord (add hassanbwo).
# I will guarantee quick help - Thanks for supporting :)
# ==========================================
# How items are sorted:
# category - building blocks, decorations, redstone, transportation, materials, food, tools, combat, brewing
# alphabetical - by item name (A-Z)
# amount - biggest stacks first
sort_mode: category
# How the sorted items are placed:
# rows - every category starts in a new row (looks tidy, small categories share a row if space is short)
# compact - one stack after the other
layout: rows
# Ways to sort
controls:
double_click_empty_slot: true
middle_click: true
sneak_left_click: true
# Sort chests automatically when they are opened.
# This is only the default - every player can change it with /sort auto
sort_on_open: false
# Bedrock players (Geyser / Floodgate) can't double-click or middle-click in inventories. Sneak + left-click
# a chest and /sort work for them. With sort_on_open: true their chests are also sorted when they open them
# (only the default - every Bedrock player can change it with /sort auto). Only used if Geyser or Floodgate is installed.
bedrock:
sort_on_open: true
# When a stack in the hotbar runs out (blocks, food) or a tool breaks,
# the same item moves from the inventory into the hotbar. Players can change it with /sort refill
refill_hotbar: true
# /stash puts all items of the inventory (not the hotbar) into chests nearby
# that already contain the same item
quick_stack:
enabled: true
radius: 8
# Sounds (Minecraft sound names, "" = no sound)
sounds:
sort: "ui.loom.select_pattern"
stash: "entity.item.pickup"
# Worlds where BetterSort is disabled
disabled_worlds:
- example_world
# ------------------------------------------
# Language of all messages: en (English), de (Deutsch), fr (Français), es (Español),
# pl (Polski), ru (Русский), pt (Português), tr (Türkçe) or zh (简体中文)
# You can add your own language, e.g. messages_it.yml -> language: it
# /sort reload (permission bettersort.admin) reloads config and messages.
# ------------------------------------------
language: en
# Updates from Modrinth: a newer version is always announced in the console.
# enabled: download new versions automatically. Downloads are checked with the SHA-512 checksum from Modrinth
# and installed on the next server restart (plugins/update folder). Only releases for your
# Minecraft version and server software (Paper, Purpur, Folia) are downloaded.
# major_versions: also download big updates (e.g. 2.x -> 3.0) automatically, otherwise they are only announced.
auto_update:
enabled: false
major_versions: false
More plugins by BetterPlugins
All for Paper, Purpur and Folia 26.x, in English, German, French, Spanish, Polish, Russian, Portuguese, Turkish and Chinese - see the whole BetterPlugins collection:
|
|
 |
BetterRIP - Graves that keep your items in their slots and your experience |
 |
BetterTimber - Fell whole trees with one hit - protection-plugin safe |
 |
BetterTimberEnchantment - Timber enchantment for BetterTimber - enchanting table, villagers, loot |
 |
BetterAFK - Stylish AFK holograms, auto-AFK, kick and more |
 |
BetterCarry - Carry and throw players, mobs and chests |
 |
BannerForLabyMod - Custom image banner above the tab list for LabyMod |
 |
BetterWaystones - Build, discover and travel between waystones - own 3D model, no resource pack |
评论 0
登录后参与评分
还没有评论,来抢沙发吧