How to kick idle players in TF2
Type mp_idledealmethod 2 in the server console to kick idle players straight away. 1 moves them to spectator first and 0 does nothing.
mp_idledealmethod
Sets what happens to idle players: nothing, move to spectator then kick, or kick right away.
mp_idledealmethod <0|1|2> Examples
mp_idledealmethod 2 Kick idle players.
mp_idledealmethod 0 Leave idle players alone, for example on an idle server.
Values
| Value | What it does |
|---|---|
| 0 | Do nothing |
| 1Default | Move to spectator, then kick if still idle |
| 2 | Kick |
Arguments
modeRequired- 0 off, 1 spectator then kick, 2 kick.
What it does
Works with mp_idlemaxtime. With 1 an idle player is sent to spectator first and kicked if still idle, with 2 they are kicked straight away. Use it to keep slots free on busy servers.
The game's own description: Deals with Idle Players. 1 = Sends them into Spectator mode then kicks them if they're still idle, 2 = Kicks them out of the game;
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.