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 Khalid Rasool · Aug 23, 2019 at 12:06 PM · Player DataCustom Game ServersPlayer Inventoryscheduled tasks

Custom data fields and tables

Greetings, I'm working on a website which will have a WebGl unity game (multiplayer ) integrated. I want to manage players, conduct tournaments for different number of players and then choose some lucky winners on random basis and then schedule rounds for remaining players. I want to store custom data for players like {age, level, matches_played, country, etc etc}. I also want to have a custom table like Tournaments where i can store tournaments data and then apply different queries to fetch different types of tournaments like Active, Completed, Upcoming, with rounds of particular tournaments. Please point me to right direction so i can start my work ASAP.

Thanks in Advance.

Khalid.

Comment
marcos

People who like this

1 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
Best Answer

Answer by Sarah Zhang · Aug 26, 2019 at 03:15 AM

1. store custom data for players like age, level, matches_played, country, etc.

You can use Player data to store the custom data for players. Player data is information that applies to an individual player or player group (shared data) and is stored as Key/Value Pairs (KVPs) by PlayFab. Please check the doc Player data quickstart for more.

2. a custom table like Tournaments where I can store tournaments data and then apply different queries to fetch different types of tournaments like Active, Completed, Upcoming

Playfab doesn't natively support create a custom table that can store and query data. If you don't need to update their states too frequently, you can use Title data to store these states. And implement a query feature by yourself. Title data is represented as Key/Value Pairs (KVPs) too, that can only be associated with a specific title. Please check the doc Title Data quickstart for more.

If you want to use these content features to handle the data, please be aware of their limits. In your selected title, you can navigate to [GameManager]->[Settings]->[Limits] to check them.

Comment
Khalid Rasool

People who like this

1 Show 2 · 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 Khalid Rasool · Aug 26, 2019 at 04:33 AM 0
Share

Dear Sarah Zhang, i got the first point and thanks for that. My main focus is to conduct tournaments of my multiplayer game online. Let me explain my scenario to you.

I will have a WebGL based unity multiplayer game embedded on my website. I want to conduct tournament of 25 players. First of all I will simply extract 5 players randomly as Lucky Winners and will award them points. Secondly remaining 20 players will play the tournament. There will be rounds of this tournament scheduled by admin. In first round half players will be eliminated and then again half in second round and so on. In this way i will also decide which round is semi-final and final. Last player standing will be a winner of tournament and that player will be awarded with some points and award. This is the basic scenario of my game. Now i don't understand how can i schedule these tournaments, do perform stuff explained above. Please point me to right direction for this or let me know if PlayFab does not support this kind of scenario. I'm really looking forward to hear from you.

Khali

avatar image Sarah Zhang Khalid Rasool · Aug 28, 2019 at 09:17 AM 0
Share

Playfab provides the Leaderboards service. And you can check this doc Tournaments and Leaderboards for the direction of how to use this service to handle your tournament.

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

    How can I change a players statistics ? 1 Answer

    How to give player EXP after battle? and How to reward player after level up? 1 Answer

    How to Display Players Invenotry In-Game 1 Answer

    How to save Player levels 1 Answer

    Can't figure out how to get the consume count of all items in player inventory 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