Clicksort Plugin
ClickSort Plugin (1.21, 1.20.1) is a Bukkit plugin that 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.
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, 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>
Commands
clicksort reload
Reloads the configuration from bukkit/plugins/ClickSort/config.yml. This command requires the clicksort.commands.reload permission node, which is only available to ops by default. Regular players do not need to use this command.
clicksort sort <id|name|group|value>
Sets the player’s sort mode for sorting inventories. This is an alternative using shift-left-click to cycle through the available sort modes, if shift-click has been disabled with the /clicksort shiftclick command.
The default mode for all players is id, i.e. sort items by their numeric item ID.
clicksort click <single|double|none>
Sets the player’s click mode for sorting inventories. This is an alternative using shift-right-click to cycle through the available sort modes, if shift-click has been disabled with the /clicksort shiftclick command.
The default mode for all players is double, i.e. require a double-click on any inventory slot to sort that inventory.
clicksort shiftclick
Toggles the player’s availability of shift-left-click and shift-right-click sort/click mode cycling. When shift-click is disabled, the /clicksort sort and /clicksort click commands are useful to change mode directly.
Permissions
Screenshots:
How to install:
- Download a plugin of your choice.
- Place the .jar and any other files in your plugins directory.
- Run the server and wait for it to fully load.
- Type stop in your Minecraft server console to bring the server to a clean stop.
- Run the server.
- All done! Your plugin should be installed and ready to be used.