54 lines
683 B
Markdown
54 lines
683 B
Markdown
# Running the Lobby Server
|
|
|
|
[Lobby Server](https://code.itdominator.com/itdominator/lobby-server)
|
|
|
|
---
|
|
|
|
# Connecting Clients
|
|
|
|
## From the Editor
|
|
|
|
**Debug → Customize Run Instance**
|
|
|
|
Host a game:
|
|
|
|
```text
|
|
--client host_snooker bobs_game
|
|
```
|
|
|
|
Join a game:
|
|
|
|
```text
|
|
--client join bobs_game
|
|
```
|
|
|
|
## From the Command Line
|
|
|
|
### Connect Directly to a Game Server
|
|
|
|
Start a server:
|
|
|
|
```bash
|
|
./billiards.sh --server_5001 game snooker
|
|
```
|
|
|
|
Join the server:
|
|
|
|
```bash
|
|
./billiards.sh --join_server 127.0.0.1 5001
|
|
```
|
|
|
|
### Connect Through the Lobby Server
|
|
|
|
Host a game:
|
|
|
|
```bash
|
|
./billiards.sh --client host_snooker bobs_game
|
|
```
|
|
|
|
Join a game:
|
|
|
|
```bash
|
|
./billiards.sh --client join bobs_game
|
|
```
|