Repository navigation
v0.2.0 — first feature release
First feature release of the BeamMP fork. v0.1.x got the panel functionally equivalent to the AC original on the BeamMP side; v0.2.0 is the wave of operator-facing convenience features built on top of that base — visual catalogues for maps and mods, automated lifecycle (map rotation, restart scheduler, MOTD loop), live moderation surface (chat viewer, broadcast templates), and dashboard polish (active-map screenshot card, BeamMP-Server update notifier, BeamMP-specific KPI widgets). One CSRF fix and a second documented deploy layout round it out.
Added
- Visual map catalogue at
/maps— grid of cards with the official BeamNG.drive screenshots (fromdocumentation.beamng.com/official_content/levels/images/, normalised to 800×450 q82), click-to-modal, activate-with-restart-prompt. TheMapfield in Server Config is now a read-only display + "Choose in Maps" button. - Visual mods catalogue at
/mods— unified.car-gridof thumbnail cards, kind-based filter chips, click-to-modal, per-card preview image extracted on demand from inside the.zip. - Live chat viewer on the Players page +
PanelBridgev2 Lua plugin. Plugin records everyonChatMessageinto a 200-line ring-bufferedchat.json; panel polls every 5 s with?since=<ts>for incremental refresh. - Broadcast button + templates modal in Players + MOTD loop in Settings. Five starter templates and an optional re-broadcast every N minutes for server rules / Discord links. Reuses
/api/broadcast+ PanelBridge command pipeline. - Automatic map rotation in Maps — persisted list + interval, in-process timer activates the next map every N minutes and restarts BeamMP-Server.
- Cron-simple restart scheduler in Settings — fixed time + weekday picker, persisted in
panel_settings. Audit-logged each scheduled restart. - BeamMP-Server update notifier banner on the Dashboard — queries GitHub releases once per 6 h, compares against local
BeamMP-Server --version, shows a per-version-dismissable banner when a newer server is out. - BeamMP-specific KPI widgets on the Dashboard — second row with active map (rendered as a screenshot card background under a darkening gradient overlay), joins in last 24 h, mods on disk, binary version. Polled at
/api/dashboard/extraevery 30 s. - ServerConfig.toml export / import in Settings — one-click download (AuthKey redacted) and upload through the existing
_validateTomlUpdatespipeline. Cross-host migration + disaster-recovery workflow with the same per-key validation + audit logging. - Quick map switcher dropdown in the topbar — current map name + popover with vanilla and custom maps, click-to-activate with confirm-restart. Gated on
serverConfigpermission.
Fixed
checkOriginhonoursX-Forwarded-Hostwhen sitting behind a trusted reverse proxy (TRUST_PROXY=1). The original implementation compared againstreq.headers.hostalone, which rejected every cookie-authenticatedPOST/PUT/DELETE/PATCHwhen the upstream proxy rewrote Host (Caddy defaultreverse_proxy, nginx withoutproxy_set_header Host, cloudflared withhttpHostHeader: localhost). Every same-origin rejection now logs peer + headers.
Docs
docs/install-beammp-split-layout.md+docs/install-panel.md— alternative deploy layout validated end-to-end by a real prod deploy on a shared host that already runsassetto-server-panel. The originalinstall-ubuntu.md(dedicatedbeammpuser under/srv/beammp/) stays as the greenfield default..env.exampleTRUST_PROXYblock expanded to describe the new CSRF /X-Forwarded-Hostgate.maps.attributioni18n string (EN + ES) rewritten now that thumbnails are real screenshots.
Polish
- Service worker
CACHE_NAMEbumpedbp-panel-v4→bp-panel-v5so PWA installs drop the v4 bundle on next visit. - Broadcast button relocated from the player-list card header into the live-chat card header.
Full changelog: CHANGELOG.md · Diff: v0.1.1...v0.2.0