Skip to main content

JoinLobby

Joins a specific lobby.

This request will use the direct player count configured for the lobby group.

Request Body required
  • lobby_id string required

    Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

    A universally unique identifier.

  • captcha

    Methods to verify a captcha.

Responses

JoinLobby 200 response

Schema
  • lobby object required

    A matchmaker lobby.

    • lobby_id string required

      Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

      A universally unique identifier.

    • region object required

      A matchmaker lobby region.

      • region_id string required

        Possible values: 1 ≤ length ≤ 16, Value must match regular expression ^[a-zA-Z0-9](?:[a-zA-Z0-9]-?)+[a-zA-Z0-9]$

        A human readable short identifier used to references resources.

        Different than a rivet.common#Uuid because this is intended to be human readable.

        Different than rivet.common#DisplayName because this should not include special characters and be short.

      • display_name string required

        Possible values: 1 ≤ length ≤ 24, Value must match regular expression ^(?:[^ \n\r] ?)+[^ \n\r]$

        Represent a resource's readable display name.

    • ports object required

      A list of lobby ports.

    • player object required

      A matchmaker lobby player.

      • token password required

        Pass this token through the socket to the lobby server. The lobby server will validate this token with rivet.api.matchmaker#PlayerConnected$player_token.