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 werneck · Aug 22, 2018 at 03:50 AM · Leaderboards and Statisticslimits

Can I set a Statistic/Leaderboard that isn't associated with a specific character/player? If not, how do I do this?

Hi there! I'd like some help figuring out how to do something.

From reading your answers on other questions, I understand you like to take a top-down approach and consider what kind of functionality users want, so I'll explain what I'm doing.

What I'm Doing

I'm working on a game with a level editor. Levels are basically long strings, and they'll be saved online so other users can access.

I want to do a level rating system that works as following: After playing, users can rate a level under one of three categories. Let's say "Challenging", "Fun", or "Interesting".

Each level will then have a score for each category, and when a user starts to play, they can choose whether they want to see the most Challenging, Fun, or Interesting levels.

As I learned about the options you offer, I thought the Leaderboards system would be an excellent way to achieve that - I could set each Category as a Statistic, and then request the leaderboards to retrieve the top-ranked levels in a Category.

The thing is, apparently statistics and leaderboards can only be set for Players or Characters.


The Question

My question is: Is there something similar to Leaderboards/Statistics which would allow me to attribute a 'score' to a certain piece of data (as opposed to attributing it to a character or user), and then fetch the pieces of data with the highest scores?

If not - do you think it's a good idea to save a player's levels as characters in their account, so I can use place them in Leaderboards? I understand there would be limitations regarding number of key/value pairs and data size, but would this implementation cause any obvious problems? Thanks in advance!

Comment

People who like this

0 Show 2
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 werneck · Aug 23, 2018 at 01:42 AM 0
Share

Thanks, @Andy! Yes, I suppose that's what I meant to ask, hehe. I appreciate the quick response. I'll experiment with this character-based approach, and see how far I can get.

Another thing: I read somewhere that you can pay to expand certain limits. Since every other limit in the free tier is more than I need for a soft launch, it would make a lot of sense for me to expand the character count and character data size limits, only, so that players can have more freedom to save their levels. I suppose twenty-five 10kb characters would be a good start.

How should I go about getting one of these expansions? Do I send an e-mail somewhere?

avatar image Brendan ♦♦ werneck · Aug 23, 2018 at 06:15 AM 1
Share

Please be sure to bear in mind that user and character data (like shared group data) is designed for a very small number of players to use. If you have a significant number of players trying to read or write to the same character or user data, you're very likely to run into performance issues (and if that does happen, we might have to throttle the title's ability to use that API call). I'd strongly recommend waiting on the actual UGC feature to implement something like this.

For limit upgrades, all the upgrades that are available separately from the tiers of service are in the Limits page (click the specific limit to see the options).

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Andy · Aug 22, 2018 at 09:58 PM

Fundamentally, I think what you're asking for is how PlayFab supports user generated content. The answer right now is that we don't. It is absolutely on our road map, but I don't know when it's going to be available.

I've seen other games attempt to use a character as a stand-in for a piece of user generated content. It introduces some interesting and unexpected corner-case scenarios that you would have to work around. Handling discoverability for the content can be tricky, I know. You can probably get it to work, but it won't be pretty. Hopefully, when we introduce a UGC feature set, this all gets much easier.

Comment
werneck

People who like this

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

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

    3 People are following this question.

    avatar image avatar image avatar image

    Related Questions

    Unable to create more Leaderboards? 1 Answer

    Few questions regarding limits 1 Answer

    Leaderboards Limits 1 Answer

    Level score sharing with friends - Best practices for saving levels data 1 Answer

    Limits on essential tier 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