diff --git a/.classpath b/.classpath
index b7e6579..b367607 100644
--- a/.classpath
+++ b/.classpath
@@ -1,42 +1,37 @@
-
-
diff --git a/src/me/staartvin/plugins/pluginlibrary/hooks/FactionsHook.java b/src/me/staartvin/plugins/pluginlibrary/hooks/FactionsHook.java index 0b1d005..856e00f 100644 --- a/src/me/staartvin/plugins/pluginlibrary/hooks/FactionsHook.java +++ b/src/me/staartvin/plugins/pluginlibrary/hooks/FactionsHook.java @@ -7,14 +7,6 @@ import me.staartvin.plugins.pluginlibrary.Library; import me.staartvin.plugins.pluginlibrary.hooks.factions.Faction; -import org.bukkit.Location; - -import com.massivecraft.factions.Factions; -import com.massivecraft.factions.entity.BoardColl; -import com.massivecraft.factions.entity.FactionColl; -import com.massivecraft.factions.entity.MPlayer; -import com.massivecraft.massivecore.ps.PS; - /** * Factions, link. diff --git a/src/me/staartvin/plugins/pluginlibrary/hooks/LibraryHook.java b/src/me/staartvin/plugins/pluginlibrary/hooks/LibraryHook.java index b8bdb94..73d7de1 100644 --- a/src/me/staartvin/plugins/pluginlibrary/hooks/LibraryHook.java +++ b/src/me/staartvin/plugins/pluginlibrary/hooks/LibraryHook.java @@ -2,8 +2,6 @@ import me.staartvin.plugins.pluginlibrary.PluginLibrary; -import org.bukkit.Bukkit; - /** * Represents a hook to another plugin *
diff --git a/src/me/staartvin/plugins/pluginlibrary/hooks/McMMOHook.java b/src/me/staartvin/plugins/pluginlibrary/hooks/McMMOHook.java
index 10c0d6d..5f4a0e2 100644
--- a/src/me/staartvin/plugins/pluginlibrary/hooks/McMMOHook.java
+++ b/src/me/staartvin/plugins/pluginlibrary/hooks/McMMOHook.java
@@ -7,23 +7,6 @@
import me.staartvin.plugins.pluginlibrary.Library;
-import org.bukkit.OfflinePlayer;
-import org.bukkit.entity.LivingEntity;
-import org.bukkit.entity.Player;
-import org.bukkit.plugin.Plugin;
-
-import com.gmail.nossr50.mcMMO;
-import com.gmail.nossr50.api.AbilityAPI;
-import com.gmail.nossr50.api.ChatAPI;
-import com.gmail.nossr50.api.ExperienceAPI;
-import com.gmail.nossr50.api.PartyAPI;
-import com.gmail.nossr50.api.SkillAPI;
-import com.gmail.nossr50.api.exceptions.InvalidFormulaTypeException;
-import com.gmail.nossr50.api.exceptions.InvalidPlayerException;
-import com.gmail.nossr50.api.exceptions.InvalidSkillException;
-import com.gmail.nossr50.api.exceptions.InvalidXPGainReasonException;
-import com.gmail.nossr50.datatypes.party.Party;
-
/**
* mcMMO library, link.
diff --git a/src/me/staartvin/plugins/pluginlibrary/hooks/OnTimeHook.java b/src/me/staartvin/plugins/pluginlibrary/hooks/OnTimeHook.java
index 16f042e..0ed9f19 100644
--- a/src/me/staartvin/plugins/pluginlibrary/hooks/OnTimeHook.java
+++ b/src/me/staartvin/plugins/pluginlibrary/hooks/OnTimeHook.java
@@ -3,10 +3,6 @@
import java.util.HashMap;
import java.util.Map;
-import me.edge209.OnTime.DataIO;
-import me.edge209.OnTime.OnTimeAPI;
-import me.edge209.OnTime.OnTimeAPI.topData;
-import me.edge209.OnTime.PlayingTime;
import me.staartvin.plugins.pluginlibrary.Library;
/**
diff --git a/src/me/staartvin/plugins/pluginlibrary/hooks/RoyalCommandsHook.java b/src/me/staartvin/plugins/pluginlibrary/hooks/RoyalCommandsHook.java
index eda8789..514e9f2 100644
--- a/src/me/staartvin/plugins/pluginlibrary/hooks/RoyalCommandsHook.java
+++ b/src/me/staartvin/plugins/pluginlibrary/hooks/RoyalCommandsHook.java
@@ -2,12 +2,6 @@
import me.staartvin.plugins.pluginlibrary.Library;
-import org.bukkit.OfflinePlayer;
-import org.bukkit.entity.Player;
-import org.bukkit.inventory.Inventory;
-import org.royaldev.royalcommands.RoyalCommands;
-import org.royaldev.royalcommands.WorldManager;
-
/**
* RoyalCommands library, link.
diff --git a/src/me/staartvin/plugins/pluginlibrary/hooks/StatsHook.java b/src/me/staartvin/plugins/pluginlibrary/hooks/StatsHook.java
index af38202..d4fb8f4 100644
--- a/src/me/staartvin/plugins/pluginlibrary/hooks/StatsHook.java
+++ b/src/me/staartvin/plugins/pluginlibrary/hooks/StatsHook.java
@@ -8,13 +8,6 @@
import me.staartvin.plugins.pluginlibrary.Library;
import me.staartvin.plugins.pluginlibrary.hooks.customstats.FoodEatenStat;
import me.staartvin.plugins.pluginlibrary.hooks.customstats.MobKilledStat;
-import nl.lolmewn.stats.api.stat.Stat;
-import nl.lolmewn.stats.api.stat.StatEntry;
-import nl.lolmewn.stats.api.user.StatsHolder;
-import nl.lolmewn.stats.bukkit.BukkitMain;
-
-import org.bukkit.Material;
-import org.bukkit.entity.EntityType;
/**
* Stats library,
diff --git a/src/me/staartvin/plugins/pluginlibrary/hooks/customstats/MobKilledStat.java b/src/me/staartvin/plugins/pluginlibrary/hooks/customstats/MobKilledStat.java
index 8364eae..b1d9b21 100644
--- a/src/me/staartvin/plugins/pluginlibrary/hooks/customstats/MobKilledStat.java
+++ b/src/me/staartvin/plugins/pluginlibrary/hooks/customstats/MobKilledStat.java
@@ -3,10 +3,6 @@
import java.util.HashMap;
import java.util.Map;
-import nl.lolmewn.stats.api.stat.Stat;
-import nl.lolmewn.stats.api.stat.StatEntry;
-import nl.lolmewn.stats.api.storage.DataType;
-
/**
* Stat that tracks special mobs killed, such as 'charged creeper' or 'elder
* guardian'
diff --git a/src/me/staartvin/plugins/pluginlibrary/hooks/factions/Faction.java b/src/me/staartvin/plugins/pluginlibrary/hooks/factions/Faction.java
index da25e71..c7529ca 100644
--- a/src/me/staartvin/plugins/pluginlibrary/hooks/factions/Faction.java
+++ b/src/me/staartvin/plugins/pluginlibrary/hooks/factions/Faction.java
@@ -6,16 +6,6 @@
import java.util.Set;
import java.util.UUID;
-import org.bukkit.Chunk;
-import org.bukkit.Location;
-import org.bukkit.entity.Player;
-
-import com.massivecraft.factions.Rel;
-import com.massivecraft.factions.entity.BoardColl;
-import com.massivecraft.factions.entity.FactionColl;
-import com.massivecraft.factions.entity.MFlag;
-import com.massivecraft.massivecore.ps.PS;
-
/**
* Represents the {@link com.massivecraft.factions.entity.Faction} class.
*
This class mirroring is used so developers don't have to import the API of Factions.
diff --git a/src/me/staartvin/plugins/pluginlibrary/hooks/factions/MPlayer.java b/src/me/staartvin/plugins/pluginlibrary/hooks/factions/MPlayer.java
index 5267f8f..0556391 100644
--- a/src/me/staartvin/plugins/pluginlibrary/hooks/factions/MPlayer.java
+++ b/src/me/staartvin/plugins/pluginlibrary/hooks/factions/MPlayer.java
@@ -2,9 +2,6 @@
import java.util.UUID;
-import com.massivecraft.factions.Rel;
-import com.massivecraft.factions.entity.FactionColl;
-
/**
* Represents the {@link com.massivecraft.factions.entity.MPlayer} class.
*
This class mirroring is used so developers don't have to import the API of Factions.
diff --git a/src/me/staartvin/plugins/pluginlibrary/listeners/PlayerEatsFoodListener.java b/src/me/staartvin/plugins/pluginlibrary/listeners/PlayerEatsFoodListener.java
index 14f94e1..a8e9590 100644
--- a/src/me/staartvin/plugins/pluginlibrary/listeners/PlayerEatsFoodListener.java
+++ b/src/me/staartvin/plugins/pluginlibrary/listeners/PlayerEatsFoodListener.java
@@ -5,15 +5,6 @@
import me.staartvin.plugins.pluginlibrary.hooks.StatsHook;
import me.staartvin.plugins.pluginlibrary.hooks.customstats.FoodEatenStat;
import me.staartvin.plugins.pluginlibrary.util.Util;
-import nl.lolmewn.stats.api.stat.Stat;
-import nl.lolmewn.stats.api.user.StatsHolder;
-import nl.lolmewn.stats.stat.DefaultStatEntry;
-import nl.lolmewn.stats.stat.MetadataPair;
-
-import org.bukkit.entity.Player;
-import org.bukkit.event.EventHandler;
-import org.bukkit.event.Listener;
-import org.bukkit.event.player.PlayerItemConsumeEvent;
/**
* This listener will listen to players eating food (for custom stat)
diff --git a/src/me/staartvin/plugins/pluginlibrary/listeners/PlayerKillsMobListener.java b/src/me/staartvin/plugins/pluginlibrary/listeners/PlayerKillsMobListener.java
index 2727b4f..84611e0 100644
--- a/src/me/staartvin/plugins/pluginlibrary/listeners/PlayerKillsMobListener.java
+++ b/src/me/staartvin/plugins/pluginlibrary/listeners/PlayerKillsMobListener.java
@@ -4,25 +4,6 @@
import me.staartvin.plugins.pluginlibrary.PluginLibrary;
import me.staartvin.plugins.pluginlibrary.hooks.StatsHook;
import me.staartvin.plugins.pluginlibrary.hooks.customstats.MobKilledStat;
-import nl.lolmewn.stats.api.stat.Stat;
-import nl.lolmewn.stats.api.user.StatsHolder;
-import nl.lolmewn.stats.stat.DefaultStatEntry;
-import nl.lolmewn.stats.stat.MetadataPair;
-
-import org.bukkit.entity.Chicken;
-import org.bukkit.entity.Creeper;
-import org.bukkit.entity.Entity;
-import org.bukkit.entity.Guardian;
-import org.bukkit.entity.Player;
-import org.bukkit.entity.Rabbit;
-import org.bukkit.entity.Rabbit.Type;
-import org.bukkit.entity.Skeleton;
-import org.bukkit.entity.Skeleton.SkeletonType;
-import org.bukkit.entity.Spider;
-import org.bukkit.event.EventHandler;
-import org.bukkit.event.Listener;
-import org.bukkit.event.entity.EntityDamageByEntityEvent;
-import org.bukkit.event.entity.EntityDeathEvent;
/**
* This listener will listen to players killing mobs (for custom stat)
diff --git a/src/me/staartvin/plugins/pluginlibrary/util/Util.java b/src/me/staartvin/plugins/pluginlibrary/util/Util.java
index 19ad2ed..bbb113f 100644
--- a/src/me/staartvin/plugins/pluginlibrary/util/Util.java
+++ b/src/me/staartvin/plugins/pluginlibrary/util/Util.java
@@ -1,8 +1,5 @@
package me.staartvin.plugins.pluginlibrary.util;
-import org.bukkit.Material;
-import org.bukkit.inventory.ItemStack;
-
/**
* Util class
*