From eada7ad8f8b3d2617f9146a80bcad4dd4d8a8c89 Mon Sep 17 00:00:00 2001 From: mfnalex <1122571+mfnalex@users.noreply.github.com> Date: Wed, 7 Jul 2021 09:33:25 +0200 Subject: [PATCH] Updated HOW_TO_USE_API.md --- HOW_TO_USE_API.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/HOW_TO_USE_API.md b/HOW_TO_USE_API.md index 67a80b6..656a7bd 100644 --- a/HOW_TO_USE_API.md +++ b/HOW_TO_USE_API.md @@ -5,7 +5,7 @@ If you want to use ChestSort's advanced sorting features for your own plugin, or - a cancellable event called `ChestSortEvent` that is fired whenever ChestSort is about to sort an inventory, that can also be used to change the sorting results - the methods `setSortable(Inventory inv)` and `setUnsortable(Inventory inv)` to tell ChestSort whether your custom inventories should be sortable by ChestSort -and more, see the Javadocs at the bottom of this page. +and more, see the Javadocs at the bottom of this page. There's also a link to an example plugin. ## Maven repository You can use maven to add ChestSort as a dependency to your Spigot-/Bukkit-Plugin: @@ -130,9 +130,14 @@ ChestSortAPI.setUnsortable(myInventory); ## 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) -## Javadocs & Source code +## Javadocs, Source code & Discord There are more methods you can use, just have a look at the Javadocs. - [ChestSortAPI Javadocs](https://repo.jeff-media.de/javadocs/ChestSortAPI). - [ChestSortAPI source code](https://github.com/JEFF-Media-GbR/Spigot-ChestSortAPI). + +Here is a complete example plugin that shows to add and use the ChestSort API: [LINK](https://github.com/JEFF-Media-GbR/ChestSortAPIExample) + +If you need help using the API, feel free to join my Discord server: + +[![Join my Discord](https://api.jeff-media.de/img/discord1.png)](https://discord.jeff-media.de) \ No newline at end of file