updated ReadMe for CrackShot library

This commit is contained in:
mfnalex 2019-07-15 14:35:25 +02:00
parent 22eb9fe7d9
commit f37b05bd6a
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ Please see the related topic at spigotmc.org for information regarding the comma
https://www.spigotmc.org/resources/1-13-chestsort.59773/
## Building .jar file
To build the .jar file, you will need maven. Also, the CrackShot library is in no public repository, you please create a lib directory and put the latest CrackShot.jar inside it. Now you can do `mvn install`
## 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.