Summary
Server-side watchdog, census and Game Master load monitor. Explains stalls and lag in the log and a CSV, notifies Game Masters, never limits them. Dry run: nothing is deleted.
Description
FL Server Guard - server-side stability and diagnostics for a Game Master server.
What it does (server only, no per-frame work):
- Watchdog: 1 s heartbeat measures lag, detects stalls (10 s+) and logs a snapshot of the server right after each one.
- Census every 5 min: players, AI (per player, far from players), active-AI limit, Game Master entities, vehicles, projectiles, watched prefabs. Written to $profile:FL_ServerGuard/metrics.csv.
- Game Master placement log with per-GM totals and burst warnings; advisory load and lag notices to Game Masters as chat lines. Game Masters are never limited, blocked or undone.
- Sanitizer and AI monitor: report broken entities and stuck AI. Dry run by default; the only things it can ever delete are broken entities at world origin.
- Restart advice by uptime and load growth; optional empty-server restart (off by default).
Admin command (chat or RCON): #guard status | census | gm | reload | dryrun on|off | pause | resume
Config: $profile:FL_ServerGuard/config.json (written with defaults on first start).
Garbage cleanup is left to FL Garbage Collector. Built for FL's server; use at your own risk.
License
Arma Public License No Derivatives (APL-ND)