Daemon666 / CSB Crash Logger Public

Writes a rolling server-state snapshot to disk every interval and warns admins before entity-limit crashes.

v1.0.0 147 downloads GPL-3.0 Last updated Aug 23, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 Apr 4, 2026 1 Versions
csb_crash_logger.sma main 684d687 3.7 KB
README.md

CSB Crash Logger overwrites addons/amxmodx/data/csb_crash_last.log every csb_crashlog_interval seconds with the current time, map, timeleft, entity count and full player list. After a crash, that file is the last known state of the server - invaluable for debugging. It also watches the entity count and warns online admins in chat when it crosses csb_crashlog_entwarn, the classic crash cause on busy mod servers.

Features

  • Rolling single-file snapshot, no log rotation needed.
  • Entity-count early warning, rate-limited to once a minute.
  • Final snapshot written at map end.

Installation

  1. Enable the engine module.
  2. Compile, install, add to plugins.ini, change map.
Installation
1. Compile the .sma (or use the site compiler)
2. Put the .amxx in addons/amxmodx/plugins/
3. Add it to addons/amxmodx/configs/plugins.ini
4. Change map
CVARs
CVARDefaultDescription
csb_crashlog_interval 30.0 Seconds between snapshots (minimum 5).
csb_crashlog_entwarn 1800 Entity count that triggers the admin warning.
Changelog — v1.0.0
1.0.0 - Initial release.
Versions →
Rating

No ratings yet.

About
Download v1.0.0
Compiled live from the source below — nothing pre-built.
Download source (.sma)
Requirements
AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Not required
ReAPI Not required
Metamod Metamod / Metamod-r
Required modules engine
Contributors
Back to Plugins