public static void hidePlayerWhereAppropriate(Player client, boolean newPlayer) {

		for (Player user : Bukkit.getOnlinePlayers()) {

			if (HyperPVP.getSpectators().containsKey(user.getName()) && HyperPVP.getGameSessions().containsKey(client.getName())) {
				client.hidePlayer(user);
				user.showPlayer(client);
			} else if (HyperPVP.getGameSessions().containsKey(user.getName()) && HyperPVP.getSpectators().containsKey(client.getName())) {
				user.hidePlayer(client);
				client.showPlayer(user);
			} else {
				client.showPlayer(user);
				user.showPlayer(client);
			}
		}

		if (HyperPVP.getGameSessions().containsKey(client.getName()) && newPlayer) {
			resetInventory(client);
			client.teleport(HyperPVP.getMap().getRandomSpawn(client));
			client.setGameMode(GameMode.SURVIVAL);
			client.sendMessage(HyperPVP.getMap().matchInfoToString(client));
			//client.setAllowFlight(false);
		}
	}