Auto-reconnect to lobby after unexpected disconnection. Will not attempt reconnect on deliberate leaves (quit button, etc.).
An intentional disconnect is any action where the player explicitly chose to leave:
Sequence: The game's normal flow runs unmodified. The client disconnects and returns to the main menu immediately. No reconnect is attempted.
An unintentional disconnect is anything that triggers ConnectionLost without a prior intentional-leave marker:
Sequence:
ConnectionLost fires on the client.MaxAttempts attempts are made, each waiting up to AttemptIntervalSec seconds for the connection to resolve.StartClient throws every time): the normal menu-return flow is restored and the game returns to the main menu as if ConnectionLost had run normally.A cooldown (CooldownSec) prevents a new reconnect sequence from starting too soon after the last one, avoiding rapid-fire loops if the host is unstable.
| Command | Short | Description |
|---|---|---|
/reconnecttoggle |
/rct |
Get or set auto-reconnect on/off. No arg toggles; on/off sets directly |
/reconnectmaxattempts |
/rcma |
Get or set max reconnect attempts (1-100) |
/reconnectinterval |
/rciv |
Get or set seconds between attempts (2-30) |
/reconnectcooldown |
/rccd |
Get or set cooldown between sequences in seconds (10-120) |
/reconnectsimulate |
/rcs |
Simulate an unintentional disconnect to test the reconnect sequence |
/reconnectfocus |
/rcf |
Manually repair broken focus areas after reconnect |
/reconnecthelp |
/rch |
List all reconnect commands |
| Setting | Default | Description |
|---|---|---|
| Enabled | true | Enable auto-reconnect |
| MaxAttempts | 3 | Max reconnect attempts (1-100) |
| AttemptIntervalSec | 5 | Seconds between attempts |
| CooldownSec | 30 | Minimum seconds between reconnect sequences |
Install via Thunderstore or r2modman.
Requires: Alpha