public int getUserIdByName(String name) {
		if(Users.getUsersOnline() == null) return -1;
		for(NetworkSharedUser nsu : Users.getUsersOnline()) {
			if(nsu.getName().equalsIgnoreCase(name)) {
				return nsu.getId();
			}
		}
		return -1;
	}