Skip to content

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");
       }
 }
Clone this wiki locally