#Matchmaking rules

1 messages · Page 1 of 1 (latest)

granite harbor
#

The match ticket results have the teams that were formed based on the team rules that were set up

dreamy bramble
#
  "Name": "Test",
  "DefaultQosRegion": "0000-0000-0000-0000",
  "MatchDefinition": {
    "Teams": [
      {
        "Name": "TeamBlue",
        "TeamCount": {
          "Min": 1,
          "Max": 1,
          "Relaxations": []
        },
        "PlayerCount": {
          "Min": 1,
          "Max": 5
        },
        "TeamRules": []
      },
      {
        "Name": "TeamRed",
        "TeamCount": {
          "Min": 1,
          "Max": 1,
          "Relaxations": []
        },
        "PlayerCount": {
          "Min": 1,
          "Max": 5
        }
      }
    ],
    "MatchRules": [
      {
        "Name": "LobbyID",
        "Type": "Equality",
        "Source": "Players.CustomData.LobbyID",
        "Not": false,
        "EnableRule": true
      }
    ]
  },
  "BackfillEnabled": false
}```
How can i determine player's team from given setup? I want matchmaker to put players in teams, dont want to declare their team at the beginning