public synchronized static String notifyPlayer(String ip, int playerIndex,
			String msgChat) {
		String msg = "NOTIFY_PLAYER FAILURE";

		Element sender = getPlayerElement(ip, true);
		if (sender != null) {
			Element parent = (Element) sender.getParentNode();
			Element player = (Element) parent.getElementsByTagName("player")
					.item(playerIndex);
			if (player != null) {
				msgChat = sender.getElementsByTagName("username").item(0)
						.getTextContent()
						+ ": " + msgChat;
				if (sendChatMessage(msgChat, sender)
						&& sendChatMessage(msgChat, player)) {
					if (writeToXML())
						msg = "NOTIFY_PLAYER SUCCESS";
				}
			}
		}

		return msg;
	}