Team Fortress 2 has many features available to balance games automatically. In addition to team rebalancing, which will automatically move players according to the team sizes, players can also add custom settings to automatically fill the server with bots. This ensures that every match has a fair number of players on both teams and keeps the server functional even without many players.
1. Log in to the BisectHosting Starbase panel.
2. Stop the server.
3. Go to the Files tab.
4. Find the following directory: /home/container/tf/cfg .
5. Open the server.cfg file.
If not present, choose Create and select Create File.
6. Enter the following line: mp_autoteambalance 1
Refer to the table for additional settings.
| Config Setting | Description |
|---|---|
mp_autoteambalance 1 |
Enables team balancing. |
mp_autoteambalance_delay [seconds] |
Sets the time limit before attempting to balance teams. |
mp_autoteambalance_warning_delay [seconds] |
Prints a warning after a team has been unbalanced for the amount of time. |
mp_teams_unbalance_limit [number] |
Considers teams as unbalanced when they have this many players more than the other team. |
7. Press the Save button.
If creating for the first time, name the file server.cfg and click Create File.
8. Start the server.