company logo

Help center

Go to ChipHead
All collectionsGames LibraryTeam Fortress 2Adding bots to your Team Fortress 2 Server

Adding bots to your Team Fortress 2 Server

Information on how to add bots to your Team Fortress 2 Server

Summary

Team Fortress 2 offers several options for team balancing to keep matches fair and enjoyable, whether you prefer small groups or large-scale battles. One popular feature is Team Autobalancing, which automatically redistributes players to even out the teams. You can also configure your server to use bots that fill empty slots and leave as real players join, keeping your matches active and engaging at all times.

error icon
RCON access is required to use in-game commands.

How to Add Bots on a Team Fortress 2 Server

  1. Log in to the ChipHead Control Panel.

  2. Open the Console tab.

  3. Enter the following command: tf_bot_add <amount> <team> <class>, replacing the values as needed.

info icon
The <team> and <class> options are optional. Available values are:
<team> = red, blue
<class> = scout, soldier, pyro, demoman, heavyweapons, engineer, medic, sniper, spy

The tf_bot_add command will only add bots if at least one player is connected to the server.

How to Add Bots Using RCON

  1. Launch Team Fortress 2 and connect to your server.

  2. Open the console by pressing the tilde (`) key.

  3. Enter the command: rcon_password <X>, replacing <X> with your server’s RCON password.

  4. You can now use RCON to run the add bot command. For example:
    rcon tf_bot_add 6 red
    This example adds six bots to the Red team.

info icon
The console will not always confirm when a command has been executed successfully.

How to Automatically Add Bots to Your Team Fortress 2 Server

  1. Log in to the ChipHead Control Panel.

  2. Stop your server.

  3. Navigate to the Game Config.

  4. Head into </>Raw.

  1. Add the following lines, replacing <X> with the desired number of bots:
    tf_bot_quota "<X>"
    tf_bot_quota_mode "fill"
    tf_bot_auto_vacate "1"

  2. Once finished, click Save.

  3. Restart/Start your server.

success icon
Your server will now automatically fill with bots as needed, removing them when real players join.

Did this answer your question?
😞
😐
😁