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 /
  • General Discussion /
avatar image
Question by HDUmi · Jun 17, 2019 at 12:35 PM · Player DataLeaderboards and Statistics

ALLOW CLIENT ACCESS TO PROFILE PROPERTIES

Hi Playfab Supporter,

In the past, I have read some advice for members from PlayFab Team. That is:

Don't enable Statistics: ALLOW CLIENT ACCESS TO PROFILE PROPERTIES Instead, use GetLeaderboardAroundPlayer to get the data from the Statistics needed. But one thing I wonder about is that I need about 20 values of Statistics. So I will have to run 20 times the function GetLeaderboardAroundPlayer because there are 20 values

So what is the best. I should turn on the Statistics feature in the Client Profile Options or use GetLeaderboardAroundPlayer.

Comment

People who like this

0 Show 0
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

1 Reply

· Add your reply
  • Sort: 
avatar image

Answer by SethDu · Jun 18, 2019 at 07:13 AM

Yes, you can enable ALLOW CLIENT ACCESS TO PROFILE PROPERTIES, and it should be safe as long as you disallow client to post player statistics. However, you should consider that all the statistics of a player will be exposed to other players and it isn’t like Player Data that can set Private or Public.

Comment

People who like this

0 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 HDUmi · Jun 18, 2019 at 08:02 AM 0
Share

Yes. But if they use Get LeaderboardAroundPlayer many times. They will still receive all Statistics

avatar image SethDu ♦ HDUmi · Jun 18, 2019 at 09:43 AM 1
Share

Indeed, even though it will take long and too frequent calls will cause error.

avatar image HDUmi · Jun 18, 2019 at 12:03 PM 0
Share

Yes. So what is the best solution? Can you guide me?

I see the following cases:

- I turn on the Allow Client feature to read Statistics data at Client Api Option.

- I use GetLeaderboardAroundPlayer: But must repeat 20-30 times for each course Statistics.

- Use Cloudscript to write Statistics data to User Read Only Data. Then, người dùng đọc dữ liệu từ UserReadOnlydata

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

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

    Send parameters to cloud Script on event 1 Answer

    Updating Online / Offline status of player? 1 Answer

    Character Statistics Limit and max characters limit 2 Answers

    Is it possible to create leaderboards with specific time frames? 1 Answer

    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