Prodvigat server

CSB Round Backup v1.0.0

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-ы2
CVARDefaultDescription
csb_backup_enabled1Enable or disable per-round snapshots.
csb_backup_keep30How many recent round snapshots to keep on disk.
Команды2
CommandAccessDescription
amx_restoreh (ADMIN_MAP)amx_restore <round> - restore a saved round snapshot.
amx_backupsh (ADMIN_MAP)Show the current round number.
Рейтинг
Оценок пока нет