- Modules
- Multiplayer
- Lobbies
Lobbies
Find Or Create Lobby
Finds a lobby or creates one if there are no available spots for players.
Request
version
stringregions
optional array of stringstags
optional combination of empty object and record of stringsplayers
array of empty objectsnoWait
optional booleancreateConfig
objectcreateConfig.region
stringcreateConfig.tags
optional combination of empty object and record of stringscreateConfig.maxPlayers
numbercreateConfig.maxPlayersDirect
number
Response
lobby
objectlobby.id
stringlobby.version
stringlobby.tags
combination of empty object and record of stringslobby.createdAt
numberlobby.readyAt
optional numberlobby.players
numberlobby.maxPlayers
numberlobby.maxPlayersDirect
numberlobby.backend
union of objectslobby.backend.test
empty object
lobby.backend.localDevelopment
objectlobby.backend.localDevelopment.ports
combination of empty object and record of objects
lobby.backend.server
objectlobby.backend.server.serverId
stringlobby.backend.server.ports
optional combination of empty object and record of objects
players
array of objectsplayers.token
stringplayers.id
string