public static String[] getOnlinePlayerNames() {
		Player[] onlinePlayers = Bukkit.getServer().getOnlinePlayers();
		String[] onlinePlayerNames = new String[onlinePlayers.length];

		for(int i = 0; i < onlinePlayers.length; i++) {
			onlinePlayerNames[i] = onlinePlayers[i].getName();
		}

		return onlinePlayerNames;
	}