Stability & Autocomplete Improvements
This release fixes critical connection stability issues and improves command autocomplete parsing for complex subcommand structures.
🐛 Bug Fixes
Connection Stability
Fixed: Connections dropping during idle periods
- Enabled TCP keepalive probes (every 60 seconds) to prevent firewalls and NAT gateways from closing idle connections
- Removed aggressive socket timeout that was causing premature disconnections
- Increased command response timeout from 5s to 10s for better reliability with slower servers
- Impact: Connections now stay stable indefinitely, even during long periods of inactivity
Command Autocomplete
Fixed: Optional subcommands treated as parameters
- Improved parsing logic to correctly distinguish between
[<argument>](optional argument) and[subcommand](optional subcommand) - Commands like
/automodpack [generate],/automodpack [host],/automodpack [config]now properly show subcommand suggestions instead of displaying[]as a parameter - Impact: Better autocomplete accuracy for mods and plugins with optional subcommand syntax
📦 Upgrade Notes
After upgrading:
- Run
/clear-cachein your RCON terminal - Run
/reload-commandsto rebuild the command database with improved parsing
📝 Changed Files
rconProtocol.ts- TCP keepalive and timeout improvementscommandAutocomplete.ts- Optional subcommand parsing fixes
Full Changelog: v2.1.1...v2.2.0