Saves score, money, teams and frags every round; amx_restore <round> re-applies them and restarts after a crash.
Daemon666
1.0.0 - Initial release.
| csb_backup_round.sma main | 01d182d | 5.9 KB |
README.md
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
TeamScoremessages. - Old snapshots pruned outside the keep window.
Installation
- Enable the
cstrikeandfunmodules inmodules.ini. - Compile
csb_backup_round.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini. - 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-ы
| CVAR | Default | Description |
|---|---|---|
csb_backup_enabled |
1 |
Enable or disable per-round snapshots. |
csb_backup_keep |
30 |
How many recent round snapshots to keep on disk. |
Команды
| Command | Access | Description |
|---|---|---|
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.Версии →
Рейтинг
No ratings yet.
Download v1.0.0
Требования
| 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. |
Участники









