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 /
  • Feature Requests /
avatar image

Dylan Hunt suggested an idea · Apr 21, 2017 at 01:12 PM · MatchmakingLeaderboards and Statistics

Match Stats

Many games are competitive these days or have small "match" style gameplay --

It would be cool to see match stats. This would pair well with Photon events, too.

There's a few things that could be done:

  1. Have the master send PlayFab a StartMatch(startMatchData) call to know that a PlayFab match has started. The startMatchData could store potential values such as passing a list of Photon Players (or your own Players class). Your Photon.UserId should be your PlayFabId, so there's a lot that can come from this. Then some custom data like "class", "skillTree{}", whatever.
  2. At the end of a match, have the master call EndMatch(endMatchData). This would show results of the match. Who lived, who died, points, kills, deaths....
  3. Aggregation -- Essentially, it's stats! However, instead of per-player, or global, it's per-match! This would allow for a lot of things, like match history... could aggregate match stats instead of only player stats. Total # of matches. ever played. Could organize by match IDs and view shared data.

You could probably do this now with title data and shared data, but something official like Stats would make things less stressful (as it already is, compared with just adding stats within player data).

thub.nodes.view.add-new-comment

People who like this

0 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 Brendan ♦♦ · Apr 21, 2017 at 08:27 PM 0
Share

Thanks for the request - to clarify, what do you see as the requirements for query? How would a player "discover" sessions to view the stats for it, or would it be solely so that they could view the stats for games they have played?

To be clear, neither Title Data nor Shared Group Data would be an effective way to do this. Title Data is a sharded and cached data store, which should only be updated occasionally. Client-initiated updating of Title Data isn't supported. Shared Group Data is meant for very small numbers of players to share some data, such as game state for asynchronous turn-based games. It's not designed for storing data on dozens/hundreds/thousands of matches per player.

No comments

· Add your reply

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Your Opinion Counts

    We would love to know what you need. Submit your ideas and upvote others to help us prioritize.

    Sign in to post a new idea

    Follow

    Follow This Idea

    No one has followed this yet.

    Related Ideas

    Add support for Statistics values as MatchMaking Rule Attributes

    Add "Avg" as a leaderboard aggregation method and use existing leaderboard vals

    Allow to pass parameters to matchmaking queues and back to spawned servers

    Provide Leaderboard Percentile

    Matchmaking Team Total Rule

    Make UpdatePlayerStatistics returns the Statistics Version

    Matchmaking minimum size of 1 player

    GetLeaderboard Parameters

    Support Party Feature in Unreal Blueprint

    Ability to change prize table via Admin API

    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