VocationLife/Docs/Multiplayer.md
pixachux 7cc715cad5 Keep multiplayer options in the start menu only; free M for the world map.
The menu no longer opens in-game and will not reappear after gameplay has started.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 19:09:34 +02:00

57 lines
1.3 KiB
Markdown

# Multiplayer, Steam & Server Admin
## Start Menu
Map / Steam / LAN / IP:Port selection appears **only at game start**.
It is not bound to a key in-game (`M` is reserved for the world map).
## Steam
1. Steam Client must be running.
2. Dev AppId is `480` (Spacewar) in `Config/DefaultEngine.ini` — replace with your own AppId for release.
3. In the menu choose Backend **Steam** or **Auto**.
4. Host on one PC, Find Steam on the other.
LAN/IP works without Steam (Backend **LAN** or Direct Connect).
## Direct Connect
```
IP: 192.168.x.x
Port: 7777
```
Or console: `open 192.168.x.x:7777`
## Dedicated Server Web Admin
On headless / dedicated start, admin UI binds to **AdminHttpPort** (default `8080`):
```
http://192.168.178.129:8080
```
Default password: `vocation` (change in `Config/ServerConfig.ini`).
You can change:
- Server name, game port, max players, map
- LAN / Steam preference
- Game rules (friendly fire, day length, mining respawn, …)
**Game port changes require a server restart.**
JSON status: `GET /api/status`
Force web admin on a non-dedicated run: `-WebAdmin`
## ServerConfig.ini
```ini
[/Script/VocationLife.VocationServerSettings]
ServerName=VocationLife Dedicated Server
GamePort=7777
AdminHttpPort=8080
AdminPassword=vocation
MaxPlayers=4
```