Skip to content

Support for Premium username change #18

@TKwSni

Description

@TKwSni

Just as a reminder

If premium player Joins with a different name after he played at least once in the server an error of duplicate entry is shown in console since you cant have more than 1 row with the same uuid.

A temporal fix is to remove the unique index from the uuid rown in the database, this will allow duplicate uuids and let the player play normally. The only thing I can imagine that could happen, nopremiums player wont be able to use that nick and if by any chance a premium player gets that username and try to join the server with it, the uuid row gets updated with a new uuid without errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions