Intigration
This is a small guide how to integrate the API in your minecraft plugin.
Recommended
We recommend you to use Kotlin as your programming language, because the API is written in Kotlin. But you can also use Java if you want.
To use this API you have to implement it, you cann see how to do this in the Implementation section.
Then you have to register the API in your onEnable
method:
To use this API you have to implement it, you cann see how to do this in the Implementation section.
Then you have to register the API in your onEnable
method:
Main.java
public class Main extends JavaPlugin {
public static WolkenlosAPI api;
@Override
public void onEnable() {
api = new WolkenlosAPI(this);
}
}
Warning
The WolkenlosAPI
was never tested in Java, so it may not work.