Skip to content

Commit

Permalink
Version Change
Browse files Browse the repository at this point in the history
  • Loading branch information
Driftay committed Jun 16, 2021
1 parent 5891e59 commit 608850d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.massivecraft</groupId>
<artifactId>Factions</artifactId>
<version>1.6.9.5-2.7.0-STABLE</version>
<version>1.6.9.5-2.8.0-RC</version>
<packaging>jar</packaging>

<name>SaberFactions</name>
Expand Down
40 changes: 20 additions & 20 deletions src/main/java/pw/saber/corex/CoreX.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,102 +15,102 @@ public static CustomFile getConfig() {

public static void init() {
FactionsPlugin.getInstance().log(Level.INFO, "CoreX Integration Starting!");
if(getConfig().fetchBoolean("Features.Anti-Baby-Zombies")) {
if (getConfig().fetchBoolean("Features.Anti-Baby-Zombies")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiBabyZombie(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Anti Baby Zombie Module Injected!");
}

if(getConfig().fetchBoolean("Features.Anti-Mob-Movement")) {
if (getConfig().fetchBoolean("Features.Anti-Mob-Movement")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiMobMovement(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Anti Mob Movement Module Injected!");
}

if(getConfig().fetchBoolean("Features.Anti-Mob-Targeting")) {
if (getConfig().fetchBoolean("Features.Anti-Mob-Targeting")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiMobTargeting(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Anti Mob Targeting Module Injected!");
}

if(getConfig().fetchBoolean("Features.Iron-Golem-Health")) {
if (getConfig().fetchBoolean("Features.Iron-Golem-Health")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new IronGolemHealth(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Iron Golem Health Module Injected!");
}

if(getConfig().fetchBoolean("Features.Water-Proof-Blazes")) {
if (getConfig().fetchBoolean("Features.Water-Proof-Blazes")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new WaterProofBlazes(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Water Proof Blazes Module Injected!");
}

if(getConfig().fetchBoolean("Features.Anti-Book-Quill-Crash")) {
if (getConfig().fetchBoolean("Features.Anti-Book-Quill-Crash")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiBookQuillCrash(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Anti Book & Quill Crash Module Injected!");
}

if(getConfig().fetchBoolean("Features.Anti-Cobble-Monster")) {
if (getConfig().fetchBoolean("Features.Anti-Cobble-Monster")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiCobbleMonster(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Anti Cobble Monster Module Injected!");
}

if(getConfig().fetchBoolean("Features.Anti-Death-Clip")) {
if (getConfig().fetchBoolean("Features.Anti-Death-Clip")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiDeathClip(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Anti Death Clip Module Injected!");
}

if(getConfig().fetchBoolean("Features.Anti-Dupe")) {
if (getConfig().fetchBoolean("Features.Anti-Dupe")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiDupe(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Anti Dupe Module Injected!");
}

if(getConfig().fetchBoolean("Features.Anti-Nether-Roof")) {
if (getConfig().fetchBoolean("Features.Anti-Nether-Roof")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiNetherRoof(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Anti Nether Roof Module Injected!");
}

if(getConfig().fetchBoolean("Features.Anti-Piston-Glitch")) {
if (getConfig().fetchBoolean("Features.Anti-Piston-Glitch")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiPistonGlitch(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Anti Piston Glitch Module Injected!");
}

if(getConfig().fetchBoolean("Features.Anti-Wilderness-Spawner")) {
if (getConfig().fetchBoolean("Features.Anti-Wilderness-Spawner")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiWildernessSpawner(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Anti Wilderness Spawner Module Injected!");
}

if(getConfig().fetchBoolean("Features.Auto-Respawn")) {
if (getConfig().fetchBoolean("Features.Auto-Respawn")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AutoRespawn(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Auto Respawn Module Injected!");
}

if(getConfig().fetchBoolean("Features.Book-Disenchant")) {
if (getConfig().fetchBoolean("Features.Book-Disenchant")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new BookDisenchant(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Book Disenchant Module Injected!");
}

if(getConfig().fetchBoolean("Features.Border-Patches")) {
if (getConfig().fetchBoolean("Features.Border-Patches")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new BorderPatches(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Border Patches Module Injected!");
}

if(getConfig().fetchBoolean("Features.Anti-Explosion-Damage")) {
if (getConfig().fetchBoolean("Features.Anti-Explosion-Damage")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new DenyExplosionDamage(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Anti Explosion Damage Module Injected!");
}

if(getConfig().fetchBoolean("Features.Anti-Dragon-Egg-TP")) {
if (getConfig().fetchBoolean("Features.Anti-Dragon-Egg-TP")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new DragonEggAntiTP(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Anti Dragon Egg TP Module Injected!");
}

if(getConfig().fetchBoolean("Features.Enemy-Spawner-Mine")) {
if (getConfig().fetchBoolean("Features.Enemy-Spawner-Mine")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new EnemySpawnerMine(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Enemy Spawner Mine Module Injected!");
}

if(getConfig().fetchBoolean("Features.Insta-Sponge-Break")) {
if (getConfig().fetchBoolean("Features.Insta-Sponge-Break")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new InstaSpongeBreak(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Insta Sponge Break Module Injected!");
}

if(getConfig().fetchBoolean("Features.Anti-Natural-Mobs")) {
if (getConfig().fetchBoolean("Features.Anti-Natural-Mobs")) {
FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new NaturalMobSpawning(), FactionsPlugin.getInstance());
FactionsPlugin.getInstance().log(Level.INFO, "Anti Natural Mob Spawning Module Injected!");
}
Expand Down

0 comments on commit 608850d

Please sign in to comment.