CSB Team Balance v1.0.0
CSB Team Balance fixes lopsided teams automatically. At the end of every round it compares the team sizes and, if the gap is larger than csb_balance_maxdiff, moves just enough players from the bigger team to the smaller one to even things out.
How it works
The plugin counts the two teams on the Round_End log event and moves diff / 2 players with cs_set_user_team. Because the switch happens between rounds, the moved players simply respawn on their new team next round — no mid-round death, no scoreboard mess. By default the lowest-scoring players are moved so the strongest players stay put; switch csb_balance_skill on to rank by frags minus deaths instead of raw score.
Features
- Runs at round end, so moves are clean and never mid-firefight.
- Moves the weakest players first (score or skill based).
- Configurable maximum allowed team-size difference.
- Optionally skips
ADMIN_IMMUNITYplayers (csb_balance_immunity). - Announces how many players were moved.
Inspired by Auto Team Balance by Johnny got his gun; this is an independent GPL re-implementation.
Installation
- Compile and copy
csb_team_balance.amxxintoaddons/amxmodx/plugins/. - Turn off the stock
mp_autoteambalanceto avoid the two fighting. - Add it to
plugins.iniand change the map.
1. Put csb_team_balance.amxx in addons/amxmodx/plugins/ 2. Add it to plugins.ini 3. Set mp_autoteambalance 0 so the stock balancer does not fight it 4. Change map
| CVAR | Default | Description |
|---|---|---|
csb_balance_enabled | 1 | Enable or disable auto team balancing. |
csb_balance_maxdiff | 2 | Team-size gap that triggers a balance. |
csb_balance_skill | 0 | 0 = move by score, 1 = move by frags minus deaths. |
csb_balance_immunity | 1 | Skip players with ADMIN_IMMUNITY. |









