question

Jay avatar image
Jay asked

Are user accounts global?

It's not clear to me if a PlayFab user account is:

a) A global account, across the whole of PlayFab, with the same email address and password across all titles (my titles and those from other publishers).

b) A publisher-specific account, common across all of my titles.

c) A title-specific account within my game across all platforms.

This drastically affects how we need to brand the login/register page so that the user knows what to do (and they know if they need to re-use an existing login or create a new one).

Is this explained anywhere?

 

10 |1200

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

brendan avatar image
brendan answered

B) PlayFab accounts are specific to your Studio, meaning that the accounts and publisher-level data can be shared across all your titles, but are not accessible by any other title in the service.

While I know we've discussed this in a few places in the documentation, I don't believe it's spelled out in our Getting Started Guide yet, so I'll add a work item for our doc team to take care of that.

10 |1200

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

Jay avatar image
Jay answered

Great thanks, that's perfect. From what I've read in other posts this seems to have been an issue in the past, but now appears to be solved. So yeah, some clarity for new users who don't have any of this history/context would be great.

10 |1200

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

brendan avatar image
brendan answered

Correct - when we first launched PlayFab, all the accounts were in one "bucket". We moved to the Publisher ID model soon after, as it was clear it was needed.

10 |1200

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

fabian-kuhn@gmx.de avatar image
fabian-kuhn@gmx.de answered

Oh i didnt know that, so for example if Player A creates new PlayFabAccount with a deviceID in title T1 and then downloads T2 from the same publisher, and then login with the same device ID, he gets the same playfabID ?

Does he even share the same PlayerData/Friends etc. ? or does he only share the PublisherData ? 

Are the usage limits per Title or per publisher then ? So for example can a player which plays 3 games from the same publisher have 1000 items in each game or 1000 combined ?

 

 

10 |1200

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

brendan avatar image
brendan answered

Well first, please note that the limit for items a single player can have in inventory, for our free service is 256 items, not 1000. The limits are designed to be per live title, so a user playing three of your games, all in the same Studio (with the same Publisher ID) could have 256 items in each inventory, in each game. And again, it's worth noting that if you need more than the stated limits for the free service, let us know the specifics at devrel@playfab.com, and we'll work with you on a contract with custom costs for the totals you need.

To answer your other question, User Title Data (plus User Read Only Title Data and User Internal Title Data) is stored per title, while the Publisher equivalents are stored at the Publisher level.

10 |1200

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

fabian-kuhn@gmx.de avatar image
fabian-kuhn@gmx.de answered

and what about "if Player A creates new PlayFabAccount with a deviceID in title T1 and then downloads T2 from the same publisher, and then login with the same device ID, he gets the same playfabID ?"

How does Playfab knows its the same player ? so when does playfab gives the same playfabID in 2 different titles for the same publisher ? 

10 |1200

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

brendan avatar image
brendan answered

There are two key things to consider:

1. Are the titles in the same Publisher ID? Your Publisher ID shows up on the Settings tab for your titles. By default, if you create titles in the same Studio, they have the same Publisher ID. User accounts are created within a Publisher ID's ownership - not a title's.

2. How are you signing the user in? If you're using a new Device ID (they player changed devices) or a sign-in method that the user has never used before (if the first title didn't have Facebook login, but the second title did, for instance), then those are separate accounts. Once a user is signed into an account, you can use the Link... API calls to attach many other authentication mechanisms to it. Any and all authentication mechanisms linked to a user account will cause the user to be signed into that account when signing into any title which has the same Publisher ID.

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.