Update HOW_TO_USE_API.md

This commit is contained in:
JEFF 2020-06-10 18:43:12 +02:00 committed by GitHub
parent ed7d7d9310
commit 0564c8d51c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
# API Usage # API Usage
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. If you want to use ChestSort's advanced sorting features for your own plugin, or if ChestSort causes trouble with 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, and a cancellable ChestSortEvent event that is fired whenever ChestSort is about to sort an inventory.
## Maven repository ## Maven repository
You can use maven to add ChestSort as a dependency to your Spigot-/Bukkit-Plugin: You can use maven to add ChestSort as a dependency to your Spigot-/Bukkit-Plugin: