Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by Vasilii Manoilov · May 22, 2019 at 12:27 PM · Leaderboards and Statisticslimits

Get leaderboard with all the local country players

Hello there,

I need to get local leaderboard, based on the country player recently/lastly logged in. The local leaderboard is supposed to contain all the players from the same country. And as the final step i'd like to retrieve the top 100 players from that leaderboard.

How it could be possibly done? Thanks

Comment
Vasilii Manoilov

People who like this

1 Show 1
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vasilii Manoilov · May 22, 2019 at 09:07 AM 0
Share

Any help would be extremely appreciated.

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by jital · May 22, 2019 at 03:25 PM

Greetings,

At this time the recommended way to create location based leaderboards is to create a statistic for each country statistic pair you have

Example: If you want a "High Score" leaderboard, you will need to create a statistic for each country, "US_High_Score", "Finland_High_Score", "Japan_High_Score", etc, etc.

Each of these will need to be individual statistics within PlayFab.

This forum post answer explains the process further.

Comment
Vasilii Manoilov

People who like this

1 Show 3 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vasilii Manoilov · May 22, 2019 at 04:06 PM 0
Share

Thanks for the reply. I've been thinking the same approach so far. Aint we're limited with 25 leaderboards at once? The problem is there are 195 countries all around the world and i'd love all of them hypothetically to be provided with leaderboard. How we can get with it?

avatar image jital ♦ Vasilii Manoilov · May 22, 2019 at 06:31 PM 0
Share

While it is possible to increase the leaderboard/statistic limit by upgrading your PlayFab tier, up to 300 with the enterprise tier.

The better method would be to look at the audience for your game. It is highly unlikely that someone from every country will play your game. On top of that are you willing to localize your game for every culture/country?

I would advise that you take a look at your target audience and make leaderboards for those countries and add more country leaderboards as your game grows in players.

avatar image Vasilii Manoilov jital ♦ · May 23, 2019 at 05:53 AM 0
Share

Well, you're absolutely right here. I guess It's clear for me now. Thanks a bunch!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    2 People are following this question.

    avatar image avatar image

    Related Questions

    Question about statistics limit > 300 1 Answer

    How can we exceed the statistics limit if using basic package with pay as you go? 1 Answer

    Creating statistics/leaderboards dynamically using the admin API. 1 Answer

    Leaderboard limits,Are there limits to leaderboard updates? 1 Answer

    How do you get total number of entries in a Leaderboard? 2 Answers

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges