question

Phil Woods avatar image
Phil Woods asked

Updating matchmaking queues using Powershell

We have been using Powershell for the management of our server builds. Using Powershell we can upload assets, create new builds, remove builds and remove assets. The last part of our automation requires us to update the matchmaking queues to use the new builds. Currently we are logging into the PlayFab Game Center and updating the matchmaking queues manually. Is there a way to update the matchmaking queues using Powershell?

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

·
Citrus Yan avatar image
Citrus Yan answered

We have a set of Matchmaking Admin APIs to manage Queue configurations: Matchmaking Admin (PlayFab Multiplayer) | Microsoft Docs. You can integrate these into your PowerShell tool to manage your Matchmaking Queues.

2 comments
10 |1200

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

Phil Woods avatar image Phil Woods commented ·

The Matchmaking Admin APIs look to be only written for for Java and C#. We were looking for a Powershell interface similar to what has been provided for the multiplayer servers (https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/servers/quickstart-for-multiplayer-servers-api-powershell). Unless there is an easy way to use the Java/C# API in Powershell? If so, could you provide an example of how to use the Matchmaking Admin API in Powershell please?

0 Likes 0 ·
Citrus Yan avatar image Citrus Yan Phil Woods commented ·

The PowerShell interface you mentioned above is actually written in C#, using our C# SDK, and its source code could be found here: PlayFab/MultiplayerPowershell: Powershell cmdlets for Multiplayer service (github.com). I was thinking that you can do the similar for Matchmaking Admin APIs.

1 Like 1 ·

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.