question

bpeid avatar image
bpeid asked

Matchmaking (preview) with externally hosted headless server

Hi there! I'm trying this forum for the 1st time! :-)

I have a Unity project and I want to try something like this:

- host a headless/dedicated server externally

- have clients use the new matchmaking flow describe here (https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/matchmaking/quickstart)

The questions are:

- what APIs need to be called on the server?

- any specific setup is required on the backend? (ie, matchmaking queue rules)

- how clients can retrieve the endpoint information (ip:port) of the server?

The only documentation found on the topic is this one (https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/servers/using-externally-hosted-games-servers-with-playfab) but it refers to the legacy APIs, thus not what I want to try.

Thanks! :-)

Matchmaking
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
JayZuo avatar image
JayZuo answered

If you want to use the new Matchmaking with externally hosted server. Then the Matchmaking system can only help you to gather proper players based on your rules. You still use it as normal, only that you can't Integrating with PlayFab Multiplayer Servers.

That means you will need to find your own way to manage your externally servers. And when match finished, you will need to determine which server should the members use and also give the endpoint information of the server to members in this match. These are things PlayFab can't support, you have to do it by yourself.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.