diff --git a/HOW_TO_USE_API.md b/HOW_TO_USE_API.md index 33f2c2d..da9d935 100644 --- a/HOW_TO_USE_API.md +++ b/HOW_TO_USE_API.md @@ -1,6 +1,6 @@ # 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 You can use maven to add ChestSort as a dependency to your Spigot-/Bukkit-Plugin: @@ -69,4 +69,4 @@ public void onChestSortEvent(ChestSortEvent event) { ## Example Plugin -Here is a complete example plugin that shows to add and use the ChestSort API: [LINK](https://github.com/JEFF-Media-GbR/ChestSortAPIExample) \ No newline at end of file +Here is a complete example plugin that shows to add and use the ChestSort API: [LINK](https://github.com/JEFF-Media-GbR/ChestSortAPIExample)