Matchmaking to Server Allocation
A 3-step recipe with Unity. We can help you get access.
Recipe · 3 steps
Matchmaking to Server Allocation
with Unity
Match players then allocate a Multiplay server for the session.
- Create a matchmaking ticket placing the player into the named queue.
- Poll the ticket status, retrying while InProgress and continuing once a match is Found.
- Allocate an available game server from the Multiplay fleet for the matched session.
What you'll need to have ready
- accessToken: Bearer JWT for the service account.
- projectId: The Unity project identifier.
- environmentId: The Unity environment identifier (matchmaker).
- queueName: The matchmaking queue to enter.
- playerId: The player id to include in the ticket.
- regionId: The Multiplay region to allocate a server in.
- fleetId: The Multiplay fleet to allocate a server from.
For your developer
Arazzo workflow unity:matchmaking-allocate-server, 3 operations: $sourceDescriptions.ticketsApi.createTicket → $sourceDescriptions.ticketsApi.getTicket → $sourceDescriptions.allocationsApi.allocateServer. Specs on APIs.io.