question

Chris Barrett avatar image
Chris Barrett asked

Is there an API to manage Party Networks?

I'm wanting to have a dedicated server create some number of Party Networks, then invite players who have joined the game, communicating any details to them necessary for them to join the Party Networks for voice chat.

Does PlayFab provide a way to do this sort of things? I've only found a single Party-related API endpoint in the docs. One to "list party QoS servers": https://learn.microsoft.com/en-us/rest/api/playfab/multiplayer/multiplayer-server/list-party-qos-servers?view=playfab-rest

apis
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

·
Xiao Zha avatar image
Xiao Zha answered

PlayFab Party is currently not intended to be used for dedicated server scenarios. Party is aimed at titles which are doing client to client / client-hosted implementations and Party helps navigate situations where the host running on a client device (e.g. an Xbox console) is behind a router/firewall and may have strict or moderate NAT types by utilizing relayed connections – this means connection is typically not done directly via IP & port but rather through network descriptors/information. But for dedicated servers, you typically want to connect directly via IP & port and avoid relaying the connection since this is unnecessary (and can add latency & hops) when you control the network environment – e.g., you can open up the necessary ports and bind a public IP address and have the user connect directly.

Also, PlayFab doesn’t provide any API for you to manage multiple PlayFab Party networks, you may need to refer to Party Quickstart - PlayFab | Microsoft Learn to know how to use PlayFab Party feature with Party SDK and implement the manage logic 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.