premium banner
Automatically sorts your inventory, backpack and chests

Description

If you enjoy tidy inventories and want your chests to always stay sorted, this plugin will take care of it for you automatically.

Features

Use the /autosort command to open the settings menu, where you can:
- Enable or disable inventory sorting
- Enable or disable backpack sorting
- Enable or disable chests sorting
- Choose your preferred sorting mode (by type, name, or rarity)

Settings are persistent per player and per server. No permissions are required.

 

For server owners - default sort settings

To customize the default sorting settings for players joining your server for the first time, you have two options:

Option A - Automatic

Start the server once and shut it down gracefully. This will automatically generate the following file:

<server root>/mods/Slymp_AutoSort/DefaultSortSettings.json

You can then edit this file to adjust the default values.

Option B - Manual

Create the file yourself at the same location and paste the following template:

{
  "SortInventory": true,
  "SortBackpack": true,
  "SortChests": true,
  "SortType": "Type"
}

Accepted values
- SortInventory: true or false
- SortBackpack: true or false
- SortChests: true or false
- SortType: "Type" (default), "Rarity", or "Name"

These default settings are applied only to players who join the server for the first time while the mod is installed.
Existing players will keep their current personal settings.


Known issues
- Moving a stack from or to the currently selected hotbar slot will not trigger a sort

Furnace and Tannery Rack sorting is intentionally not implemented, as it causes item duplication bugs and can impact gameplay.