TF2 Admin Commands From The Console

How To Use TF2 Admin Commands From The Console

If you want to customize a ban message, time limit, reason, you can use the console to do this.

Here is the command line to ban a player from the console

sm_ban “nickname” “time in minutes” “ban reason”

Here is the command line to unban a player from the console

sm_unban “nickname”

Note: “” are not needed for the command to work

Here is an example

sm_ban ReLaX 1440 “A customized ban reason”
This will ban the player ReLaX for one day, with the reason: A customized reason

It is also possible to use a players steamid when you need to use a console command, To use the steamid change , ReLaX from the example to “#STEAM_0:1:1234567”. Like this

sm_ban “#STEAM_0:1:1234567” 1440 “A customized ban reason”

Leave a Comment