CSB Round Backup

v1.0.0 11 téléchargements Daemon666 Dernière mise à jour: Jul 16, 2026

Saves score, money, teams and frags every round; amx_restore <round> re-applies them and restarts after a crash.

CSB Round Backup is the safety net every match server needs. At the start of every round it writes a snapshot to a file under the AMXX data dir: the team scores plus, for each player, their SteamID, team, money and frags. If the server crashes or a round is disputed, an admin runs amx_restore <round> to reload that snapshot - it re-applies every player's team and money by SteamID, restores their frags, resends the scoreboard TeamScore messages and restarts the round.

Snapshots are plain text, so you can inspect them, and only the last csb_backup_keep rounds are kept on disk.

Features

  • Automatic per-round snapshot (score, money, teams, frags).
  • amx_restore <round> matches players back by SteamID.
  • Scoreboard restored via TeamScore messages.
  • Old snapshots pruned outside the keep window.

Installation

  1. Enable the cstrike and fun modules in modules.ini.
  2. Compile csb_backup_round.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map.

Installation

1. Enable the cstrike and fun modules in addons/amxmodx/configs/modules.ini
2. Put csb_backup_round.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
3. Change map

Cvars

CVARDefaultDescription
csb_backup_enabled 1 Enable or disable per-round snapshots.
csb_backup_keep 30 How many recent round snapshots to keep on disk.

Commandes

CommandAccessDescription
amx_restore h (ADMIN_MAP) amx_restore <round> - restore a saved round snapshot.
amx_backups h (ADMIN_MAP) Show the current round number.

Journal des modifications — v1.0.0

1.0.0 - Initial release.
Versions →
Contributeurs: Daemon666 ✦
Licence: GPL-3.0

Note

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Télécharger .sma
Fichiers:
csb_backup_round.sma main 5.9 KB

Prérequis

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Optionnel
ReAPI Optionnel
Metamod Metamod / Metamod-r
Modules cstrike fun
Conflits connus Other plugins that also send TeamScore or force team changes can interfere with a restore.
Retour aux Plugins