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 wahnishjorge · Dec 07, 2017 at 06:52 PM · Push Notificationsphotonandroid

Tournaments question

We are in the development of a mobile game in unity and we already have all the logic part with rooms in photon.
We would like to add a section where the player can enter a tournament and when the tournament has 8 players, send notifications to warn that in X minutes the game will begin.

The tournament with 8 players starts from the quarterfinals and then the winners of each key go to the semifinals and then to the final, each match (7 matches) will be a photon room.

Could you enlighten me on how we could implement this with playfab + photon? Some steps or some tutorial would be very helpful.

Very good tool by the way, thanks for everything!


Comment
wahnishjorge

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 pfnathan · Dec 09, 2017 at 12:36 AM

PlayFab does not provide an out-of-the-box tournament system yet, though we do plan on adding more tournament support as soon as we can. Based on your tournament scenario, we recommend having your own Custom Server or using Cloud Script. But it all comes down to who will have the authority on your title. That is, who gets to decide the control of logic for managing each tournament session. If you're okay with clients being authoritative, Photon is fine. In that case, you'd just use Cloud Script to return information on which players are matched and trust the client.

**Cloud Script or Custom Game Server Hosting - One way or another, you'll need to have server authority over the results of matches between players, so you'll want to use one of these to accomplish that. **

  • Shared Group Data - Since your tournaments are for a small number of players (8), this could be a way to track the status/scores of each player.
  • In-app purchasing - We have multiple systems for purchasing items from your in-game catalog, both receipt validation, and more cart-like sales. You could create consumable items which are used as the entry "token" to a tournament, if you want to limit the number of times a player can join one, or help prevent players abandoning tournament sessions.

Please take a look at Game Server documentation here: https://api.playfab.com/docs/tutorials/landing-tournaments/custom-game-servers.

In addition, we've also more recently created a basic server project in Unity that developers can use as the basis for creating their own dedicated servers - you can find that project here: https://github.com/PlayFab/PlayFabGameServer

Comment

People who like this

0 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

    2 People are following this question.

    avatar image avatar image

    Related Questions

    Getting started with Push Notifications and Unity and PlayFab. 1 Answer

    Why Andorid Push Requires Android API level 7.1 Nougat (API 25) 1 Answer

    Android Plugin Upgrade Discussion 4 Answers

    Push notifications on multiple apps using the same Title 1 Answer

    PlayFabGoogleCloudMessaging not found 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