CSB Round Backup

v1.0.0 11 загрузок Daemon666 Обновлено: 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.

Установка

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

Cvar-ы

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

Команды

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

История изменений — v1.0.0

1.0.0 - Initial release.
Версии →
Участники: Daemon666 ✦
Лицензия: GPL-3.0

Рейтинг

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Скачать .sma
Файлы:
csb_backup_round.sma main 5.9 KB

Требования

AMX Mod X ≥ 1.9
Движок ReHLDS HLDS
ReGameDLL Необязательно
ReAPI Необязательно
Metamod Metamod / Metamod-r
Модули cstrike fun
Известные конфликты Other plugins that also send TeamScore or force team changes can interfere with a restore.
Назад к плагинам