Joining lobbies and connection strings
Players join lobbies by providing the lobby service with a lobby’s “connection string”, an opaque identifier which grants membership to the lobby. Players can discover connection strings and join lobbies in the following ways.- By using in-game invites—A member of a lobby may invite another player to that lobby directly via the lobby service. This will share the lobby’s connection string with the invited player. These invites work cross-platform but only work in-game. For more information, see Lobby invites
- By using platform-provided invites—Members of the lobby can directly share the lobby’s connection string with other players over platform-specific invite mechanisms. These invites will not work cross-platform but can be received without the recipient already running the game.
- By searching for available lobbies with FindLobbies and joining an available lobby
- By sharing the lobby’s connection string via any out-of-band, custom discovery mechanism
Only players (i.e. title_player_account PlayFab entities) can join lobbies as members. Game servers (i.e. game_server PlayFab entities) cannot join lobbies as members. For more information on the how game servers interact with lobbies, see Game Servers and Lobbies.
