Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
Platforms
Tags
Creators
Details
Licensed MIT
Published 3 days ago
Updated 4 days ago
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 |









