-
Notifications
You must be signed in to change notification settings - Fork 0
Your Main Class Blank Plugin
TheCyberCode edited this page Sep 16, 2018
·
1 revision
Your main class should look something like this:
package me.[your ign or other name].code;
import org.bukkit.plugin.java.JavaPlugin;
public class SpigotTestPlugin extends JavaPlugin {
// Called upon when plugin is first enabled
@Override
public void onEnable() {
// Some code to do stuff
}
// Called upon when the plugin is disabled
@Override
public void onDisable() {
// Some code to do stuff
}
}
Getting Started: Starting with eclipse