Check for dependencies, use BukkitUtil.getOnlinePlayers() instead of Bukkit.getOnlinePlayers()