ClickSort Lite
Attention curseforge users
To keep the information centralized, if you are view this page from curseforge site you can view/post messages from bukkit project page: https://dev.bukkit.org/projects/clicksort-lite
Description
This plugin sorts and organizes inventory contents automatically just by middle click it, it is inspired in Inventory Tweaks Mod and ClickSort plugin, but lighter and with craftbukkit 1.13+ support
before middle click (images are referencial)
after middle click, items are automatically sorted and stacked (not shown in the image)
Usage
Just open the chest/inventory and middle click inside, it will sort contents alphabetically and stack items to save space
Features
- LIGHT AND FAST
- craftbukkit 1.13+ support
- sorts chests with a single middle click (less conflicting click type, more info HERE)
- sorts items alfabetically
- auto stacks partial item stacks to optimize space
- just plug and play, that seems...
- no configuration
- no commands
- no permissions (but since v3 added 'clicksortlite' permission)
- no dependencies
- compatible with any container type inventory (see below)
- works in creative mode (see below)
- just uses java and bukkit native methods, that seems...
- lightning fast!
- almost null footprint (less than 4kb!)
- reliable and resistant to version changes
- feels like a vanilla feature
- low maintainance, install and forget
- since v3 can disable inventory sorting with permissions (see above) or cancelling InventoryClickEvent
Compatibility
Any inventory with "container" slots which include:
- player inventory
- wooden chests (single, double)
- trapped chests (single, double)
- ender chests
- shulker boxes
- dispensers, droppers, hoppers
- animal chests (donkey, mules, llamas)
- DON'T WORKS with creative inventory because is managed by the client (pointless anyway), however creative players can still sort his inventory (the bottom one) in dual chest views
Installation
Just copy/move the jar file inside the server plugins folder and reload/restart the server
Bug reports
if you found some bug try to isolate the problem first and find/resolve the cause, in mostly cases could be a conflict with other plugin
if the problem persists report your findings in https://github.com/atesin/ClickSort-Lite/issues, including server logs, detailed steps to reproduce your environment/problem and your compressed server folder (excluding world subfolders and sensible information)... make it me easy because i currently dont have the time and energy to do much researching
Important information
Thanks for your interest in this plugin, but please don't request exotic features like item classification, partial sorting, sort multiple chests, etc... i'm not so skilled in java and my time is limited too
I write plugins with simplicity on mind, to add features that i think will be useful in vanilla minecraft, and share the code to help others to learn java like me
If you want a feature you can search another better plugin, examine the code and submit a patch, or start a fork (please respect the license)
¡Viva Chile!
Thanks for such an easy to use plugin, love it. Seems like it works ok on my 1.16.4 server
Is there any way you can change the button? Say, if my friend's middle click doesn't work?
Love the work though, man! It works super well and it's really simple!
In reply to liknzelda:
hi, thanks for your interest
middle button is harcoded in this plugin, because currently in survival mode middle click is unused and available for inventories, and to keep plugin the simplest, lightest and fastest as possible with no configs at all
anyway any cheap usb mice have middle button and should run anywhere, so chances are middle click would be avalaible and working and doesn't worth a plugin rewrite
In reply to atesin_dj:
Gotcha. Thank you for the reply!
Any 1.14.4 update?
*edit*...can confirm...works with 1.14.4 :)
In reply to dominichello_twitch:
if the plugin is still compatible just use it... i can't rewrite the plugins in every CB release xD , just when something is broken
please do some tests before post messages like this, thanks for your interest xD
(i am not a developer and a little lazy, so i try to write the plugins the most version compatible i can, so it has low mainteinance)
not working on 1.12.2 T.T pls update
In reply to obscurerking:
the first release of clicksort-lite is for 1.13+ , better instead try to update your server to 1.13.2 and enjoy the new additions ... or if you prefer the easy way try another older and heavier plugin like clicksort
hi I'm wondering if you could add a feature where you can move the entire top half of your inventory (not the toolbar although that would be nice too) by shift then middle clicking, also it would be handy for it to be automatically sorted as well when put into the chest (this bit is optional but would be nice) see its because I have an afk fish farm and is a hassle to take stuff from chests and put it into other chests (especially separate enchanted stuff which have different enchantments and durability so its a nightmare) and I cant find a plugin that does that and is updated to 1.13 (closest I've found is 1.12) so this would be a nice feature to add, thanks in advance!
good news... i just uploaded v3 with disabling container sorting support, as suggested below
before download please read the version history, and once running read the console messages when plugin loads
Wonderful plugin!
In the latest version doesn't appear to be sorting the player's hotbar, will that be a feature that'll be added later on?
In reply to zefferisv2:
In reply to TheDimSimKing:
In reply to AT_HE:
In reply to TheDimSimKing:
Suggestion to be able to sort with double left click aswell.
Another suggestion to be able to sort the hotbar/actionbar, also permissions would be a good idea
In reply to TheDimSimKing:
(resolved, see reply)
ATTENTION: there are some reports of item loss:
ADVICE: avoid using the plugin while i research the cause
MORE INFO: it seems to be related with Material.compareTo() or other item data/meta comparison or Inventory.add() method (blame to mojang, not me!.. i will however have to research and write a workaround!)
follow to be notified
In reply to AT_HE:
In reply to AT_HE: