API Hook-up
Easy to understand and use
Ask for the API .jar file from here.
Registering the API in your project
First you need to create a folder in the main path of your project and store the .jar file there.
Maven
Replace libs
with the name of the directory where the .jar file is stored and replace API.jar
with the name of the .jar file.
Gradle
Replace libs
with the name of the directory where the .jar file is stored and replace API.jar
with the name of the .jar file.
Obtaining and using the API
To obtain the API class we make use of the service provided by Bukkit to register a class and retrieve it using #getRegistration
method.
Retrieving the service
Change challenge wins
Last updated