Skip to content

APIPlugin

APIPlugin is an extension of the Bukkit's JavaPlugin class, which gives you full control over AdriAPI's functions. You should make your plugin's main class extend this class, because it's necessary for other functions AdriAPI has.

Getting Started

First, make your plugin's main class extend APIPlugin:

import me.adrigamer2950.adriapi.api.APIPlugin;

public final class Main extends APIPlugin {
    // ...
}

After that, implement abstract methods to avoid errors, then, proceed to the next guide.