Skip to main content

Definition

A game mode is an object featuring a set of parameters which define the configuration and the behavior of a match. The set of parameters defined on a game mode can further be edited at competition creation time, or voted upon during a match’s voting phase. The final set of parameters will eventually be passed to the game during the Match Configuration call, inside the game_custom_data field of the request.

Example:

{
"overview": {
"name": "1v1",
"gameType": "2Factions",
"teamSize": 1,
"maxPlayers": 2,
"timeToConnect": 300
//...
},
"tree": {
"map": "small_town_04",
"weather": "sunny",
"friendlyFire": true,
"allowedChampions": ["Alice","Bob","Charles","Danny"],
"mutators":{
"gravity": 12,
"speed": 1
}
//...
}
}