View Source Code

Lobbies

Set Player Connected

Called when a player connects to the lobby.

Request

  • lobbyId
    optional string
  • lobbyToken
    optional string
  • playerTokens
    array of strings

Response

Script does not return any data.

Usage

1. Install the module

2. Use this script

const data = await ctx.modules.lobbies.set_player_connected({
  // Request body
});