a81c0ceb76
Using finite state machines is *so much harder* than simply creating commands that a player or admin uses as the match goes on. I can always make UHC automatic later
38 lines
1.2 KiB
Java
38 lines
1.2 KiB
Java
package alisolarflare;
|
|
|
|
import java.util.logging.Logger;
|
|
|
|
import org.bukkit.plugin.PluginDescriptionFile;
|
|
//import alisolarflare.links.AliLinkSubPlug;
|
|
import org.bukkit.plugin.java.JavaPlugin;
|
|
|
|
import alisolarflare.components.flairdoor.FlairDoorModule;
|
|
import alisolarflare.components.gpowers.GPowerModule;
|
|
import alisolarflare.components.links.AliLinkModule;
|
|
import alisolarflare.creativeboundaries.CreativeBoundariesModule;
|
|
import alisolarflare.easyuhc.EasyUHCModule;
|
|
import alisolarflare.magic.MagicModule;
|
|
import alisolarflare.minigames.MinigameModule;
|
|
|
|
public class AliPresents extends JavaPlugin{
|
|
public void onEnable(){
|
|
PluginDescriptionFile pdfFile = getDescription();
|
|
|
|
Logger logger = getLogger();
|
|
logger.info(pdfFile.getName() + " has been started (V." + pdfFile.getVersion()+ ").");
|
|
|
|
|
|
new FlairDoorModule().register(this);
|
|
new GPowerModule().register(this);
|
|
new AliLinkModule().register(this);
|
|
new EasyUHCModule().register(this);
|
|
new MagicModule().register(this);
|
|
new MinigameModule().register(this);
|
|
new CreativeBoundariesModule().register(this);
|
|
|
|
|
|
logger.info(pdfFile.getName() + " has fully registered (V." + pdfFile.getVersion()+ ").");
|
|
|
|
|
|
}
|
|
}
|