Mineuniverse
Log in Register
Plugins

ClickSort

Sort inventories with a simple mouse click.
by chengzi
Download Claim this project
50,889 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Mechanics

ClickSort

ClickSort is a Bukkit plugin which makes it very easy for players to sort their inventories (player/chest/dispenser) with a single or double click of the mouse. Players can sort by item ID, item name, switch between single- and double-clicking, or disable sorting entirely, all on a per-player basis and without needing any commands; it's all done with mouse clicks in inventory windows.

ClickSort Image

Latest Version

All versions above should work on Spigot.

Video

A review of v1.0.0, with thanks to VariationVault :

Installation

  • Copy ClickSort.jar into your bukkit/plugins folder and reload/restart your CraftBukkit server.
  • The bukkit/plugins/ClickSort folder will be automatically created, containing a config.yml file.
  • You may edit this file as you please, and run /clicksort reload to reload. See Configuration for details.

As of v1.3.2, you'll have to put your item names into items.yml manually if you want to sort by item names.

Usage

ClickSort operates as follows:

  • In middle-click mode (the default, or swap key 'F' since ClickSort v1.5.1) players can sort their own inventory, a chest/dispenser/hopper/dropper inventory by middle-clicking any slot in that inventory (including slots with items in).
  • In double-click mode, players can sort by double-left-clicking any slot in that inventory (including slots with items in).
  • In single-click mode, players can sort inventories by single-left-clicking any empty slot in that inventory.
  • By default, items are sorted by item ID (see http://www.minecraftwiki.net/wiki/Data_Value for a full list of ID's) and the click mode is middle-click (in v1.1 and earlier, the default click mode was double-click).
  • Players can Shift-left-click any empty inventory slot to cycle through sorting by item ID, item name, item group, or item value (see Sort Modes for more detail on each sort mode).
  • Players can Shift-right-click any empty inventory slot to cycle between double-click and single-click mode, or disabled sorting.

Any mode changes will give the player a feedback message indicating the new sort or click mode. Player sort/click modes are persistent across server restarts.

As of v1.1.0, it is also possible for players to disable shift-click mode changing (on a per-player basis); some players may find themselves annoyed by accidentally shift-clicking empty inventory slots. To avoid this, players can use the /clicksort shiftclick command to toggle shift-clicking for themselves.

Also as of v1.1.0, two commands have been added to allow players to set their sort or click modes directly; these are most useful if shift-click mode changing has been disabled:

  • /clicksort sort <id|name|group|value>
  • /clicksort click <middle|double|single|swap|none>

Protection

ClickSort attempts to respect protection plugins which cancel InventoryClickEvent by running its own event handler as late as possible and ignoring cancelled events.

Documentation

Planned

  • Possible sort mode to compact items? E.g. 9 iron ingot -> iron block, 9 diamond -> diamond block etc. Might require the player to have a crafting table in their inventory, or be standing near one.
  • Maybe a sorting "wand" to have the option of sorting chests without having the inventory open? A stick with some appropriate metadata set on it, for example.

Source

Changelog

Usage Statistics

Fully anonymous usage statistics are collected using bStats.

ClickSort v1.6.2
MC 1.20.6, 1.21, 1.16, 1.19.3, 1.20.2, 1.18.1, 1.20, 1.20.4, 1.20.3-Snapshot, 1.19.2, 1.20.5, 1.20.1, 1.20.3, 1.17, 1.18, 1.20.5-Snapshot, 1.19.4, 1.19, 1.18.2, 1.19.1
Release 2024-07-04 Get
ClickSort v1.6.1
MC 1.16, 1.18.1, 1.17, 1.18, 1.19, 1.18.2, 1.19.1
Release 2022-08-13 Get
ClickSort v1.6.0
MC 1.16, 1.18.1, 1.17, 1.18, 1.18.2
Release 2022-03-06 Get
ClickSort v1.5.2
MC 1.16, 1.17, 1.18
Release 2021-12-19 Get
ClickSort v1.5.1
MC 1.16, 1.17, 1.18
Release 2021-12-15 Get
ClickSort v1.5.0
MC 1.16, 1.17, 1.14, 1.13, 1.15
Release 2021-11-30 Get
ClickSort v1.4.6
MC 1.16, 1.17, 1.14, 1.13, 1.15
Release 2021-10-26 Get
ClickSort v1.4.5
MC 1.16, 1.17, 1.14, 1.13, 1.15
Release 2021-10-10 Get
ClickSort v1.4.4
MC 1.16, 1.17, 1.14, 1.13, 1.15
Release 2021-08-21 Get
ClickSort v1.4.3
MC 1.16, 1.17, 1.14, 1.13, 1.15
Release 2021-01-15 Get
ClickSort v1.4.2
MC 1.16, 1.14, 1.13, 1.15
Release 2020-11-24 Get
ClickSort v1.4.1
MC 1.16, 1.14, 1.13, 1.15
Release 2020-11-18 Get
ClickSort v1.3.7
MC 1.13
Release 2018-12-14 Get
ClickSort v1.3.6
MC 1.13
Release 2018-12-01 Get
ClickSort v1.3.5
MC 1.11, 1.12, 1.10
Release 2018-11-25 Get
ClickSort v1.3.4
MC 1.11, 1.12, 1.10
Release 2018-07-05 Get
ClickSort v1.3.3
MC 1.10
Release 2016-09-02 Get
ClickSort v1.3.2
MC 1.9, 1.8.1, 1.8
Release 2016-04-03 Get
ClickSort v1.3.1
MC 1.8.1, 1.8
Release 2015-03-25 Get
ClickSort v1.3.0
MC CB 1.6.4-R2.0, CB 1.7.2-R0.3
Release 2014-03-07 Get
Clicksort v1.2.1
MC 1.6.2, CB 1.5.2-R1.0
Release 2013-07-12 Get
ClickSort v1.1.2
MC CB 1.4.7-R1.0
Release 2013-03-05 Get
ClickSort v1.1.0
MC CB 1.4.7-R1.0
Release 2013-02-27 Get
ClickSort v1.0.1
MC CB 1.4.6-R0.3
Release 2013-01-16 Get

More from chengzi

Lockette-RustedLocks
727
PingPlayer
49,745
WorldEditCrashFix
4,227
BetterPositionTP
2,654
QueuedCommands
1,764
OfflinePay
1,083

You Might Also Like

MobHealth
Simple plugin to let you know the damage you just caused to a mob, and how much health it has left.
989,881
Player Heads
Lop off Player and all Mob Heads with configurable drop rates + pvp-farming nerf, includes detailed commands and permissions
979,351
Advanced Item Effects
Adds custom effects to any item including potion effects.
97,290
VoxelMore
"Sharing is caring."
9,999
SunSteel
A Golden Item Enhancement Plugin
9,880
Sneaker
Hide name tags above players' heads.
9,865