public synchronized static String getPlayerStatus(String uIP) {
		String msg = "GET_PLAYER_STATUS PLAYER_NOT_FOUND";

		NodeList nList = doc.getElementsByTagName("player");
		Element player = getPlayerElement(uIP, true);
		if (nList != null && player != null) {
			if (player.getParentNode().getNodeName()
					.equals("players_available")) {
				msg = "GET_PLAYER_STATUS AVAILABLE";
			} else if (player.getParentNode().getParentNode().getNodeName()
					.equals("games_available")) {
				msg = "GET_PLAYER_STATUS WAITING";
			} else if (player.getParentNode().getParentNode().getNodeName()
					.equals("games_active")) {
				msg = "GET_PLAYER_STATUS ACTIVE";
			} else if (player.getParentNode().getParentNode().getNodeName()
					.equals("games_history")) {
				msg = "GET_PLAYER_STATUS SCOREBOARD";
			}
		}
		return msg;
	}