minecraft make your own plugin code example
Example: how to code a minecraft plugin
public class Main extends JavaPlugin {
@Override
public static void onEnable() {
getLogger.info("Plugin Enabled");
}
@Override
public static void onDisable() {
getLogger.info("Plugin Disabled");
}
}