question

contact-24 avatar image
contact-24 asked

Global Displayname?,Global DisplayName?

Context: We are migrating our game from GameSparks to PlayFab, the game already had its own logic, and GameSparks username allowed special characters, but we noticed usernames from playfab are too limiting, so we are using DisplayNames on our AddFriend function, and emails to login each user.

Problems: - Our database should be global for all games our publisher. - If a user has a DisplayName in one game, he should have in all other games, but PlayFab won't allow that. - If a user register in one game we've managed to store its DisplayName on the UserPublisherData, so if he logs in another game it will automatically be fetched. But while a player does not register or logs into another game, another user can register that same displayname and steal that name breaking our entire logic.

Question: Is there a way to guarantee that displayname for every game and keeping them unique?,Context: We are migrating our game from GameSparks to PlayFab, the game already had its own logic, and GameSparks username allowed special characters, but we noticed usernames from playfab are too limiting, so we are using DisplayNames on our AddFriend function, and emails to login each user.

Problems: - Our database should be global for all games our publisher. - If a user has a DisplayName in one game, he should have in all other games, but PlayFab won't allow that. - If a user register in one game we've managed to store its DisplayName on the UserPublisherData, so if he logs in another game it will automatically be fetched. But while a player does not register or logs into another game, another user can register that same displayname and steal that name breaking our entire logic.

Question: Is there a way to guarantee that displayname for every game and keeping them unique?

Player DataAuthenticationFriends
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Xiao Zha avatar image
Xiao Zha answered

PlayFab does not provide such feature to guarantee the DisplayName of each game and keep them unique. Because DisplayName belongs to Title Player Account, it is not designed to be used globally by all games, and it can only be unique in one game. Meanwhile, the UserName belongs to the Master Player Account, which can be used in all games and remains unique. But UserName does not meet your requirements due to the character kind limitation, so it is recommended for you to post a feature request for it.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.