Skip to content
/SLASHPLAY

How to make bots melee only in TF2

Type tf_bot_melee_only 1 in the server console so bots fight with their melee weapons only.

tf_bot_melee_only

Toggles melee-only mode for TFBots.

tf_bot_melee_only <0|1>

Examples

tf_bot_melee_only 1

Bots fight with melee only.

Values

ValueWhat it does
0Default Off
1 On

Arguments

0|1Required
1 restricts bots to melee.

What it does

Bots use only their melee weapons. Good for melee practice or fun servers.

The game's own description: If nonzero, TFBots will only use melee weapons

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to tf/cfg/server.cfg. New to this? Start a TF2 server first.

Your own
TF2 server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.