---
title: "Lobby System - s&box library"
description: "Drop-in multiplayer for s&box: auto-hosting, networked Citizen players with a working controller, and a lobby and round loop."
canonical: "https://sbox.watch/fr/libraries/rwtrcsc/lobbysystem/"
generated_at: "2026-10-09T17:36:17.610Z"
---

# Lobby System

Drop-in multiplayer for s&box: auto-hosting, networked Citizen players with a working controller, and a lobby and round loop.

- Type: bibliothèque
- Identifiant: rwtrcsc.lobbysystem
- Créateur: rwtrcsc
- URL canonique: https://sbox.watch/fr/libraries/rwtrcsc/lobbysystem/
- Markdown: https://sbox.watch/fr/libraries/rwtrcsc/lobbysystem/index.md
- sbox.game: https://sbox.game/rwtrcsc/lobbysystem/
- Généré: 2026-10-09T17:36:17.610Z

## Statistiques

- dynamique sur 24 h: +0
- Terry Score: 43%
- Favoris: 2
- Votes positifs: 2
- Votes négatifs: 0
- Mis à jour: 15 juin 2026
- Créé: 15 juin 2026
- Taille: 53.0 KB
- Fichiers: 17
- Tags: citizen, coop, framework, gamemode, library, lobby, multiplayer, networking

## Description

Lobby System
An s&box library that does the boring, fiddly part of a networked game for you. Drop it into your project and you get auto-hosting, Citizen players with a working third-person controller, and a small lobby/round framework you build your own gamemode on top of.

It stays out of your way. The framework never needs to know what your game is; you write the rules.

What you get
- Auto-hosting. LobbyNetworkManager opens a lobby on launch (Steam friends can join) and keeps one networked player per connection, plus optional bots.
- A real player. The example LobbyPlayer uses the standard Citizen with WASD, run, jump, a third-person camera, and animation. The owner drives it; proxies stay in sync and wear the right avatar.
- A lobby to round to lobby loop. LobbyDirector runs a free-roam lobby, an in-world button that opens a mode menu, a synced countdown, and the return to the lobby afterwards. Ignore the round side and it's just a free-roam multiplayer sandbox.
- One clean extension point. Write your gameplay as an IGameMode; make any pawn lobby-aware by implementing ILobbyAgent.

Installing it
This library lives in Libraries/LobbySystem. To use it in your own game, copy that folder into your project's Libraries/ folder and commit it. The editor's Library Manager will pick it up, and your game code can use any of its types.

The repo itself is a small game project so you can open it and press Play to see everything working before you pull it in.

Quick start
- Open the project and press Play on Assets/scenes/demo.scene. You spawn as the Citizen and can run around. Host and have a friend join over Steam to see the networking.
- Write your gamemode: implement IGameMode (starting roles, win condition, result text) and list it in an IGameModeCatalog component. ExampleMode is the reference.
- Use your own player: edit LobbyPlayer, or put ILobbyAgent on your existing pawn. The framework only needs IsBot, DisplayName, InitAgent, ResetForRound and TeleportTo.

Docs
- Getting Started
- API Reference




## More by rwtrcsc

| Package | Identifiant | Joueurs | Favoris | Votes positifs | Score | Markdown |
| --- | --- | --- | --- | --- | --- | --- |
| Checkpoint System | rwtrcsc.checkpointsystem | 0 | 1 | 0 | -- | https://sbox.watch/fr/libraries/rwtrcsc/checkpointsystem/index.md |
| Library System | rwtrcsc.librarysystem | 0 | 1 | 0 | -- | https://sbox.watch/fr/libraries/rwtrcsc/librarysystem/index.md |
