ChestSort/README.md

26 lines
1.6 KiB
Markdown
Raw Normal View History

2018-08-12 15:56:25 +02:00
# ChestSort
2019-05-02 17:55:24 +02:00
1.8 to 1.14 compatible Minecraft-/Spigot-Plugin to allow automatic chest sorting.
2018-08-12 15:56:25 +02:00
## About
Tired of sorting your chests? Let's spend less time on organizing, and more on playing!
2018-08-13 19:11:48 +02:00
![Screenshot ChestSort](https://static.jeff-media.de/i/chestsortbeforeafter.jpg "Screenshot ChestSort")
2018-08-13 19:11:16 +02:00
ChestSort will automatically sort every chest after you have closed it. Every player can enable or disable this feature if desired with the simple command `/chestsort`. By default, sorting is disabled. If a player uses a chest for the first time after logging in, they will be shown a text on how to enable automatic chest sorting. Players need the "chestsort.use" permission to use the plugin.
2018-08-12 15:56:25 +02:00
2018-08-12 16:27:51 +02:00
Sorting will work with chests and shulker boxes.
2019-04-29 20:14:40 +02:00
Tested Spigot versions: 1.8 to 1.14
2018-08-13 19:11:16 +02:00
2018-08-13 19:10:16 +02:00
## Download & more information
Please see the related topic at spigotmc.org for information regarding the commands, permissions and download links:
2018-08-12 16:20:52 +02:00
https://www.spigotmc.org/resources/1-13-chestsort.59773/
2018-11-11 14:19:07 +01:00
2019-07-15 14:35:25 +02:00
## Building .jar file
2019-07-15 14:36:26 +02:00
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 inside it. Now you can do `mvn install`
2019-07-15 14:35:25 +02:00
2018-11-11 14:19:07 +01:00
## 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.
2019-04-29 15:58:28 +02:00
The plugin should cause no lag at all.