Best sorting plugin for Minecraft / Spigot 1.14+
Go to file
mfnalex 029dcee228
Merge branch 'master' into 8.16.1
2020-07-24 16:40:25 +02:00
.github/ISSUE_TEMPLATE Update problems_with_other_plugins.md 2020-05-24 00:13:55 +02:00
src/main Merge branch 'master' into 8.16.1 2020-07-24 16:40:25 +02:00
.gitignore Add gitignore 2019-04-25 16:25:35 +02:00
CHANGELOG.md Merge branch 'master' into 8.16.1 2020-07-24 16:40:25 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2018-08-24 17:12:16 +02:00
FUNDING.yml Create FUNDING.yml 2020-05-23 20:46:25 +02:00
HOW_TO_USE_API.md 8.14.2 release 2020-07-12 15:56:49 +02:00
LICENSE Create LICENSE 2018-08-24 17:15:09 +02:00
README.md 1.16 2020-06-25 16:42:39 +02:00
SpigotMC-description.bb 8.11.0 release 2020-06-24 17:50:58 +02:00
TODO.md 9.0.0-SNAPSHOT (BestTool) 2020-07-13 03:22:22 +02:00
pom.xml 8.17.1 release 2020-07-24 16:33:52 +02:00

README.md

ChestSort

1.8 to 1.16 compatible Minecraft-/Spigot-Plugin to allow automatic chest and inventory sorting.

Download & more information

Please see the related topic at spigotmc.org for information regarding the commands, permissions and download links:

https://www.spigotmc.org/resources/1-13-chestsort.59773/

Maven repository

If you want to use ChestSort as dependency for your own plugin, you can use our public maven repository. More information can be found in the API documentation.

Building .jar file

To build the .jar file, you will need maven. Also, the CrackShot library is in no public repository, so please create a directory called lib and put the latest CrackShot.jar file (available here) inside it. Now you can do mvn install

API

If you want to use ChestSort's advanced sorting features for your own plugin, you can use the ChestSort API. It provides methods to sort any given inventory, following the rules you have specified in your ChestSort's plugin.yml and the corresponding category files.

More information about the API can be found HERE.

Technical stuff

ChestSort takes an instance of org.bukkit.inventory.Inventory and copies the contents. The resulting array is sorted by rules defined in the config.yml. This takes far less than one millisecond for a whole chest. So there should be no problems even on big servers, where hundreds of players are using chests at the same time. The plugin should cause no lag at all.