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 Benjamin Golinvaux · May 27, 2021 at 01:47 AM · Player DataMatchmakingmultiplayer

Adding matchmaking to our game and finding and joining sessions

Hello

I have been assigned the task of "implementing network stuff" in our UE4 game :) (real time, competitive, between 3 vs 3 and 6 vs 6 matches)

Our game already works fine on an LAN, with the null OnlineSubsystem (dedicated server build is OK, on Windows), but I need to research:

  • master server, matchmaking and dedicated server hosting (we need dedicated and we'll maybe add p2p if possible.. to be decided)
  • friend lists, parties, invites...
  • later : in-game purchases, social features..

I have read about integrating the GSDK in our game (the "Huli" tutorial) and this is rather clear.

When it comes to matchmaking and server allocation, it's a bit murkier.

I understand the security risk of allowing a game client to directly call the RequestMultiplayerServer endpoint (I assume this could lead to DOS attacks?), and the documentation states that using a separate matchmaking service makes sense.

I am trying to understand exactly what I need to generally write in addition to the PlayFab turnkey offer, especially for matchmaking, that seems to be to biggest task.

How do people usually cope with this?

By writing a separate application running on Azure that communicates with PlayFab and call the RequestMultiplayerServer endpoint?

Also, as a more general question, how would you VERY APPROXIMATELY rate the workload of bringing our game from the

  • "it works on lan when manually specifying the IP and port"

to :

  • "we can login through PlayFab, invite some friends, ask for a server in our local region and join the session" ?

Is it realistic to assume that it can be a one-man job over a few months (I am experienced in C++ + a little docker/devops experience) ?

Thanks in advance for helping me making sense of all these tasks.

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

Answer by Citrus Yan · May 27, 2021 at 09:54 AM

>> How do people usually cope with this? By writing a separate application running on Azure that communicates with PlayFab and call the RequestMultiplayerServer endpoint?

It’s not necessary to write a separate application on your own since we also offer a feature called “Matchmaking integration with PlayFab Multiplayer Servers”, where the Matchmaking service automatically create a game server for the resulting match. Once matchmaking allocates a server for the match, the resulting server details (IP and Port) can be read from the result of GetMatch. After that, players can use the IP and port to connect to your server and play. For more details about the integration, please check out this tutorial for more details: https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/matchmaking/multiplayer-servers

Comment
Benjamin Golinvaux

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

    2 People are following this question.

    avatar image avatar image

    Related Questions

    Simple process to auto connect and scale the servers? 1 Answer

    1 xbox account linked to 2 playfab master accounts and unique names 1 Answer

    Manual Game Session via groups 1 Answer

    How to create 3 player game multiplayer matchmaking 2 Answers

    About queue rule 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