question

John Peterson avatar image
John Peterson asked

Multiple entries by the same player on the leaderboard?

Dear PlayFab community:

When executing `UpdatePlayerStatistics` for a player on a statistic that has an aggregation method of MAX, if a statistic already exists with a higher value than the one being provided, does the new value get added with a higher version?

I ask, because I was wondering if it was possible for the same player to appear multiple times on a Leaderboard. For example, if I had high scores of 100, 101, and 102, and the next highest person had a high score of 99, would I be listed 3 times on the leaderboard for each of my high scores? Or would I just appear once with a score of 102?

Leaderboards and Statistics
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

·
pfnathan avatar image
pfnathan answered

A player can only be on the leaderboard once thus you would appear just once with score of 102 in your case.

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.