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

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

功能特性
- 支持按类别(建筑方块、其他方块、红石、材料、食物、工具、战斗、酿造)、字母顺序或数量进行整理
- 整洁布局——每个类别从新行开始
- 自然排序——矿石按价值排列,工具和护甲按等级排列,木材家族归为一类(橡木原木、橡木木板、橡木台阶……),并且堆叠物会合并
- 支持箱子、双联箱、 barrels、潜影盒、末影箱、发射器、投掷器、漏斗以及存储矿车——不与其他插件的菜单冲突
- 快捷栏补充:针对方块、食物和损坏的工具
- 快速堆叠 (
/stash):在可配置半径内的箱子中堆叠物品
- 尊重保护插件(WorldGuard、GriefPrevention 等)和上锁的容器
- 安全:任何更改前都会检查物品数量——不会丢失或复制物品
- 每位玩家都可以自行开启或关闭自动整理 (
/sort auto) 和补充 (/sort refill)
- Folia 支持——一个 jar 包同时兼容 Paper、Purpur 和 Folia
- 使用 MiniMessage 消息格式,内置英语、德语、法语、西班牙语、波兰语、俄语、葡萄牙语、土耳其语和中文
- 新增的配置选项会自动添加,可选从 Modrinth 自动更新(默认关闭)
也在使用 BetterCarry?请将其更新至 1.2.1 或更高版本。
命令与权限
/sort - 整理你的物品栏(别名 /bettersort)
/sort auto - 打开箱子时自动整理
/sort refill - 开启或关闭快捷栏补充
/stash - 将物品放入附近的箱子中(别名 /quickstack)
/sort reload - 重新加载配置和消息文件
| 权限 |
默认值 |
说明 |
bettersort.sort |
所有人 |
整理箱子和自己的物品栏 |
bettersort.refill |
所有人 |
快捷栏补充 |
bettersort.stash |
所有人 |
/stash |
bettersort.admin |
OP |
/sort reload,更新通知 |
要求
- Paper、Purpur 或 Folia 26.1 - 26.3,Java 25
- 无需其他插件
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
# 当快捷栏中的一组物品耗尽(方块、食物)或工具损坏时,
# 同类物品会从物品栏移动到快捷栏。玩家可以通过 /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(英语)、de(德语)、fr(法语)、es(西班牙语)、
# pl(波兰语)、ru(俄语)、pt(葡萄牙语)、tr(土耳其语)或 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)
Using BetterCarry too? Update it to 1.2.1 or newer.
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 |
Requirements
- Paper, Purpur or Folia 26.1 - 26.3, Java 25
- No other plugins needed
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
# 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
登录后参与评分
还没有评论,来抢沙发吧