public boolean setDisplayName(String displayName)
	{
		resetLastError();
		
		if (!isConnected())
		{
			saveLastError("setDisplayName(): Not connected to TS3 server!");
			return false;
		}
		
		if (displayName == null || displayName.length() < 3)
		{
			saveLastError("setDisplayName(): displayName null or shorter than 3 characters!");
			return false;
		}
		
		HashMap<String, String> hmIn;
		try
		{
			hmIn = doInternalCommand("clientupdate client_nickname=" + encodeTS3String(displayName));
			if (hmIn == null)
			{
				return false;
			}
			else if (!hmIn.get("id").equals("0"))
			{
				saveLastError("setDisplayName()", hmIn.get("id"), hmIn.get("msg"), hmIn.get("extra_msg"), hmIn.get("failed_permid"));
				return false;
			}
		}
		catch (Exception e)
		{
			if (DEBUG) e.printStackTrace();
			saveLastError("Exception setDisplayName(): " + e.toString());
			return false;
		}
		
		return true;
	}