I have a server and a self-made permission plugin that includes also ranks from a MySQL database. Admins can do /setrank or /setdonorrank to players in order to update their ranks. Then it will change their rank in the database. For example: /setrank Notch Moderator My player_data table has these columns: - uuid - playerName - rank - donorRank Then I will just update rank/donorRank according to playerName. Every time a player joins I update their playerName in the database due to name changes. Let's imagine a situation that a player called "Notch" has registered to the server, and then he has changed his name to "Notch2". "Notch2" hasn't connected to the server ever again... Then another player has changed his name to "Notch". "Notch" joins the server. Now there are two "Notch"es and if I set "Notch"'s rank to helper then I won't be able to control which player will be changed. I want you guys to give me ideas how to solve that issue. I think that I may get rid of playerName and fetch the UUID of a player from their name somehow from an API. What do you think should I do?