BlatPlugin
Example
public class BlatLibs extends BlatPlugin {
@Override
public void onStartEnabling(){
setPrefix(ChatColor.DARK_PURPLE+"[BlatLibs]");//Console prefix
getConsole().info(ChatColor.GREEN + "Enabled!");
setProjectID(114257);//Optional //Spigot project id (for update cheking)
getCommandFramework().registerCommands(new Commands());
}
@Override
public void onEnabling() {
}
@Override
public void onEndEnabling() {
}
@Override
public void onDisabling() {
}
@Override
public void onStartDisabling() {
}
@Override
public void onEndDisabling() {
}
}
Last updated