With ^MurderV3, we plan on adding custom nameplates soon, and we have 2 issues in the game now:
- Rich text (We dont want to remove it)
- Duplicate display names (Problem)
I have already solve for rich text, for example, my display name is <#f4e>Cryptic, but the game will automatically turn it into <#f4e>Cryptic</color>
What I am having problems with is when 2 players have identical names
If two players have identical names, the oldest player should be prioritized, so for example, if two players had the name PlayerName, the oldest would be PlayerName, and the second oldest would be PlayerName (Two), third oldest PlayerName (Three) and so on
But, there are a few issues I have to account for:
- What do I do if the oldest player leaves? how do I fix your name? If you were
PlayerName (Three)andPlayerName (Two)left, you should becomePlayerName (Two) - What do I do if you join with the display name
PlayerName (Two), and 2 people have the namePlayerName? would I keep it asPlayerName,PlayerName (Two), andPlayerName (Two), or should I make itPlayerName,PlayerName (Two)andPlayerName (Three)(or evenPlayerName (Two) (Two)?)
How could I account for these issues? How am I supposed to tell how many people have the same name, and what number to give them?
In addition, I'd also like to account for I/l issues, so PlayerName and PIayerName would be "the same name", despite not being equal, as they look equal
I'm currently working on ideas but my brain is very slow right now