AliPresents/src/alisolarflare/AliPresents.java

39 lines
1.2 KiB
Java
Raw Normal View History

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;
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(){
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);
}
}