That menu api allows you to easily implement your own custom menus in human-readable way.
- You can check wiki page to get a deep understanding of how api works
- You can check separated module example to get basiс understanding of api.
- Builder pattern everywhere for creating a menu
- Api uses java's functional interfaces for listening button clicks
- Easy pagination
- Menu tracking
- Menu Templates
- Null safety with optional and javax annotation @Nullable/@Nonnull
- And... Some more features that I don't remember
Building:
- Download Apache Maven
- Unpack it
- Optionally add the bin folder to your PATH variable to invoke Maven with mvn without specifying the complete path to the bin folder for every command
- Download this project with Git (git clone <URL/git@github:...>) or as zip
- Move to the top folder of the project conting the pom.xml
- Run
mvn clean install
- The final version is inside the menu-api/target folder
- Shade it in your plugin
Dependencies:
- Java 8
- Bukkit api 1.12.2 (It may work on lower version but I haven't tested)