Version: en

100 Player Battle Royale With Backfill Enabled Sample

This config file configures the matchmaking logic for a 100 player Battle Royale game with the following criteria:

  • All players will be matched in a single team.
  • The matchmaking logic will create a match only if there is a minimum of 10 players.
  • The matchmaker will continue to add players to the match until it reaches 100 players.

Config File#

{
"Matchmaking": {
"Name": "100p-battle-royale",
"TargetFunction": {
"Name": "rule-based"
},
"Config": {
"Name": "100p-battle-royale",
"DefaultQoSRegion": "0000-0000-0000-0000",
"MatchDefinition": {
"Teams": [
{
"Name": "Main Team",
"TeamCount": { "Min": 1, "Max": 1 },
"PlayerCount": { "Min": 10, "Max": 100 }
}
]
},
"TicketTimeoutMs": 60000,
"BackfillEnabled": true
}
}
}

Ticket Sample#

Base-64 encoded field values#

{
"Properties": {
"Players": "W3siSWQiOiAiUGxheWVyMSJ9XQ==",
"Data":"e30="
}
}

The decoded contents of the above fields are:#

"Players": [{"Id": "Player1"}]
"Data":{}