spectator port

This commit is contained in:
sebseb7
2026-05-21 09:43:30 +02:00
parent 5cdcfd836d
commit a02a1758b5
11 changed files with 511 additions and 8 deletions

View File

@@ -109,6 +109,8 @@ Copy the template structure and configure your parameters in `config.json` in th
* **`bot`**: Bot behavior settings.
* `antiAfk`: When no client is connected, randomly turns, sneaks, and swings so the bot stays active.
* `antiAfkMinInterval` / `antiAfkMaxInterval`: Milliseconds between idle actions (default 15006000).
* **`spectator`**: Watch-only proxy (default port **25568**). Multiple clients can connect; they receive spectator gamemode and a live view of the bot (bot mode / idle) or the controlling player (client mode). No movement or interaction is forwarded upstream.
* `enabled`, `port`, `onlineMode`, `maxClients` (default 20).
* **`cache`**: Memory usage controls for caching the world.
---