mojira.dev
MC-265368

team players are stored as names instead of UUIDs on multiplayer

This was for 1.19.4:
MC-261082 Player team entries are stored as player names - Jira (mojang.com)
It says resolved, but the error is still there in 1.20.1.

Steps to reproduce:
1) On a multiplayer server, create a team and do /team join <teamName> <playerName>
2) Go on the Minecraft website and change the player name.
3) Log back into the server and observe

Observed:
The player is no longer on the team. 

Expected:
The player is still on the team. 

This is most likely due to storing team data using player names instead of UUIDs. 

Linked issues

Comments 5

Thank you for your report!
We're tracking this issue in MC-50247, so this ticket is being resolved and linked as a duplicate.

That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Edit: Note that MC-261082 is not resolved as "Fixed", but as "Duplicate" of MC-50247, which is working as intended.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

MC-50247 is for 1.15.2

Also how can this be working as intended? Wouldn't it be better if the same player is on the same team before and after they name change? Changing names should not affect teams that the player is on. The player is still the same person. This is like saying it is intended when players name change to have a whole new empty inventory when they log onto a multiplayer server because they are seen as a different person. Using UUIDs would solve this error.

Scoreboards are not meant to be long term storage of persistent data.

It is a better idea for it to store persistent data just as how the player inventory analogy mentions. If it is the same player, then it should behave as if it is the same player regardless of name changes. Can you explain to me why this idea is worse than what is in place?

Mojang is the one that decides what is a bug and what is not, nobody else. I personally have even offered solutions to formatting it without changing any user-facing functionality as I believe it to be the most unthoughtful WAI to date, but that doesn't change anything. If you want it changed, go to the feedback site, as it's been a reviewed report time and time again.

BTW resolved reports aren't updated, that doesn't mean this is any different from an ancient report from 1.15.

kexunho

(Unassigned)

Unconfirmed

(Unassigned)

1.20.1

Retrieved