private String extractFromResString(QueryResponse r, int idx) {
		
		switch(idx) {
		case 0:
			return r.getServerName();
		case 1:
			return r.getModification();
		case 2:
			return r.hasPassword() ? "yes" : "no";
		case 3:
			return "" + r.getMaxPlayer();
		case 4:
			return r.getServerAddress();
		}
		
		return null;
	}