-
Notifications
You must be signed in to change notification settings - Fork 0
Your Main Class With CyberDevAPI
TheCyberCode edited this page Sep 16, 2018
·
1 revision
Your main class should look something like this if you just want your plugin to show enabled and disabled:
package me.[your ign or other name].code;
import org.bukkit.plugin.java.JavaPlugin;
import dev.thecybercode.devapi.CyberDevAPI;
public class SpigotTestPlugin extends JavaPlugin {
@Override
public void onEnable() {
CyberDevAPI.Log("&aTest plugin - Enabled");
}
@Override
public void onDisable() {
CyberDevAPI.Log("&cTest plugin - Disabled");
}
}
Getting Started: Starting with eclipse