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-10-31 05:02:58 +00:00
|
|
|
import alisolarflare.modules.components.flairdoor.FlairDoorModule;
|
|
|
|
import alisolarflare.modules.components.gpowers.GPowerModule;
|
|
|
|
import alisolarflare.modules.components.links.AliLinkModule;
|
|
|
|
import alisolarflare.modules.components.shulker.AliShulkerModule;
|
|
|
|
import alisolarflare.modules.events.uhc.UHCModule;
|
2016-11-03 11:01:50 +00:00
|
|
|
import alisolarflare.modules.magic.MagicModule;
|
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);
|
|
|
|
new UHCModule().register(this);
|
2016-11-03 06:56:29 +00:00
|
|
|
new MagicModule().register(this);
|
2016-10-31 04:12:40 +00:00
|
|
|
}
|
|
|
|
}
|