question

Dale Strickler avatar image
Dale Strickler asked

What is the best way to track the same player across different games?

We are looking at offering certain awards and prizes for players who play more than one of our games. But it seems like all the PlayFab basic player management is per game. What is the best way to track a player across several games? Should we maybe use the PlayFab ID in one game as the Custom ID in another?

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

·
brendan avatar image
brendan answered

Actually, the player account itself lives at the Publisher ID level, specifically so that your player account is shared across all your titles (all titles in a studio have the same Publisher ID by default). And while player title data per-title, there's also player publisher data, which is shared across all titles in the Publisher ID. So anything you write to there (for example, using https://api.playfab.com/documentation/server/method/UpdateUserPublisherReadOnlyData) would be available to all your titles. That's the most common way to enable cross-title experiences like rewards (or loading data for a sequel).

3 comments
10 |1200

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

Dale Strickler avatar image Dale Strickler commented ·

Super. I missed that.

0 Likes 0 ·
Dale Strickler avatar image Dale Strickler commented ·

Is there a limit to the number of titles a studio can have?

0 Likes 0 ·
brendan avatar image brendan Dale Strickler commented ·

Not really, no. From the point of view that the IDs are tracked as 64-bit numbers, there's a theoretical limit, but no one could reasonably hit that limit in any real-world scenario.

0 Likes 0 ·

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.