question

mohdkhajaaziz161083 avatar image
mohdkhajaaziz161083 asked

Can we get particular players from a leaderboard to show in game

Player DataLeaderboards 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.

Sarah Zhang avatar image
Sarah Zhang answered

Currently, our leaderboard v2 feature contains "child leaderboards" is in the private preview. The private preview only applies for the titles that our team actively reaches out to. You can check this documentation - Leaderboards v2 child leaderboards - PlayFab | Microsoft Docs for more information of this private previewed feature. And as you said, the current maximum limits of the leaderboard number is 300. For Enterprise Plan, we can upgrade this limit on a limited basis. You can check our pricing page - Pricing (playfab.com) to learn about Enterprise Plan.

So, if you want to put one leaderboard’s players to different “child branches” now, the only workaround is to set the separate leaderboards for different planets. If you need a huge number of leaderboards. PlayFab cannot implement it.

Currently, there is still no ETA for the public preview of Leaderboard v2. We would suggest you keep an eye on our blog - Microsoft Azure PlayFab Blog for the latest updates of our features.

10 |1200

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

Sarah Zhang avatar image
Sarah Zhang answered

Could you please clarify which types of player information you want to display? For clarification, you can get the detailed player profile of every player in the leaderboard. Since the API GetLeaderboard will return the PlayFabIds in the API response. So, you can select one player, then call the API GetPlayerCombinedInfo to retrieve this player’s profile through the PlayFabId and the profile type you specify. Please note, to let the clients can access the player profile, you would need to navigate to your title’s [Game Manger]->[Title Settings]->[Client Profile Options] to check the profile you want to publish for clients.

Besides, as this documentation - Using the Profile for Advanced Leaderboards - PlayFab | Microsoft Docs said, you can also attach the players’ profile in the leaderboard entries directly through specifying the profile types in the request body of GetLeaderboard.

1 comment
10 |1200

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

mohdkhajaaziz161083 avatar image mohdkhajaaziz161083 commented ·

Edited*

No you got me wrong. My question is that suppose there is a leaderboard called solar system in which all planets members are there so from that leaderboard during call getLeaderboard Api can't we get particular members who belongs to earth and show only earth members in a leaderboard called top 'earth'

THis is because we can't create each leaderboard particularly because there is only 300 leaderboards limit in playfab.

Thanks for reply

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.