diff --git a/pom.xml b/pom.xml index c95a573..0966f2d 100644 --- a/pom.xml +++ b/pom.xml @@ -29,32 +29,6 @@ 1.6 - - org.apache.maven.plugins - maven-shade-plugin - 1.5 - - - - org.mcstats.bukkit:metrics - - - - - org.mcstats.bukkit - com.me.tft_02.soulbound.util - - - - - - package - - shade - - - - @@ -62,10 +36,6 @@ spigot-repo https://hub.spigotmc.org/nexus/content/groups/public/ - - Plugin Metrics - http://repo.mcstats.org/content/repositories/public - @@ -75,12 +45,6 @@ jar provided - - org.mcstats.bukkit - metrics - R7 - compile - UTF-8 diff --git a/src/com/me/tft_02/soulbound/listeners/PlayerListener.java b/src/com/me/tft_02/soulbound/listeners/PlayerListener.java index 43495a0..1ab4717 100644 --- a/src/com/me/tft_02/soulbound/listeners/PlayerListener.java +++ b/src/com/me/tft_02/soulbound/listeners/PlayerListener.java @@ -16,7 +16,6 @@ import org.bukkit.event.player.PlayerCommandPreprocessEvent; import org.bukkit.event.player.PlayerDropItemEvent; import org.bukkit.event.player.PlayerFishEvent; import org.bukkit.event.player.PlayerInteractEvent; -import org.bukkit.event.player.PlayerJoinEvent; import org.bukkit.event.player.PlayerPickupItemEvent; import org.bukkit.event.player.PlayerRespawnEvent; import org.bukkit.event.player.PlayerShearEntityEvent; @@ -38,16 +37,6 @@ import com.me.tft_02.soulbound.util.PlayerData; public class PlayerListener implements Listener { - @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) - private void onPlayerJoin(PlayerJoinEvent event) { - Player player = event.getPlayer(); - - if (Soulbound.p.isUpdateAvailable() && Permissions.updateCheck(player)) { - player.sendMessage(ChatColor.GOLD + "Soulbound is outdated!"); - player.sendMessage(ChatColor.AQUA + "http://dev.bukkit.org/server-mods/Soulbound/"); - } - } - @EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true) private void onItemPickup(PlayerPickupItemEvent event) { Player player = event.getPlayer(); diff --git a/src/com/me/tft_02/soulbound/util/Misc.java b/src/com/me/tft_02/soulbound/util/Misc.java index d014fe7..fadccf5 100644 --- a/src/com/me/tft_02/soulbound/util/Misc.java +++ b/src/com/me/tft_02/soulbound/util/Misc.java @@ -4,4 +4,7 @@ import org.bukkit.ChatColor; public class Misc { public static String SOULBOUND_TAG = ChatColor.GOLD + "Soulbound"; + public static String PICKUPBIND_TAG = ChatColor.GOLD + "Soulbound"; + public static String USEBIND_TAG = ChatColor.GOLD + "Soulbound"; + public static String EQUIPBIND_TAG = ChatColor.GOLD + "Soulbound"; }