2016-10-31 04:12:40 +00:00
|
|
|
package alisolarflare;
|
|
|
|
|
|
|
|
import java.util.logging.Logger;
|
|
|
|
|
|
|
|
import org.bukkit.plugin.PluginDescriptionFile;
|
|
|
|
//import alisolarflare.links.AliLinkSubPlug;
|
|
|
|
import org.bukkit.plugin.java.JavaPlugin;
|
|
|
|
|
2016-11-03 11:35:25 +00:00
|
|
|
import alisolarflare.components.flairdoor.FlairDoorModule;
|
|
|
|
import alisolarflare.components.gpowers.GPowerModule;
|
|
|
|
import alisolarflare.components.links.AliLinkModule;
|
|
|
|
import alisolarflare.components.shulker.AliShulkerModule;
|
|
|
|
import alisolarflare.events.uhc.UHCModule;
|
|
|
|
import alisolarflare.magic.MagicModule;
|
2016-11-03 19:50:41 +00:00
|
|
|
import alisolarflare.minigames.freeforall.FreeForAllModule;
|
|
|
|
import alisolarflare.minigames.lobby.LobbyModule;
|
2016-10-31 04:12:40 +00:00
|
|
|
|
|
|
|
public class AliPresents extends JavaPlugin{
|
|
|
|
public void onEnable(){
|
|
|
|
PluginDescriptionFile pdfFile = getDescription();
|
|
|
|
Logger logger = getLogger();
|
|
|
|
|
|
|
|
|
|
|
|
logger.info(pdfFile.getName() + " has been started (V." + pdfFile.getVersion()+ ").");
|
|
|
|
|
|
|
|
registerModules();
|
|
|
|
|
|
|
|
logger.info(pdfFile.getName() + " has fully registered (V." + pdfFile.getVersion()+ ").");
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
public void registerModules(){
|
2016-10-31 05:02:58 +00:00
|
|
|
new FlairDoorModule().register(this);
|
|
|
|
new GPowerModule().register(this);
|
|
|
|
new AliLinkModule().register(this);
|
|
|
|
new AliShulkerModule().register(this);
|
2016-11-03 19:50:41 +00:00
|
|
|
|
2016-10-31 05:02:58 +00:00
|
|
|
new UHCModule().register(this);
|
2016-11-03 19:50:41 +00:00
|
|
|
|
2016-11-03 06:56:29 +00:00
|
|
|
new MagicModule().register(this);
|
2016-11-03 19:50:41 +00:00
|
|
|
|
|
|
|
new FreeForAllModule().register(this);
|
|
|
|
new LobbyModule().register(this);
|
2016-10-31 04:12:40 +00:00
|
|
|
}
|
|
|
|
}
|