@Override
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof User)) return false;
        final User other = (User) o;
        return this.uniqueId.equals(other.uniqueId);
    }
Sets the users name

@param name the name to set
@param weak if true, the value will only be updated if a value hasn't been set previously.
@return true if a change was made
common/src/main/java/me/lucko/luckperms/common/model/User.java