How to change the AFK time limit in TF2
Type mp_idlemaxtime 5 in the server console so players idle for 5 minutes get the mp_idledealmethod action. The default is 3.
mp_idlemaxtime
Sets how many minutes a player can be idle before the idle action is taken.
mp_idlemaxtime <minutes> Examples
mp_idlemaxtime 5 Deal with players idle for five minutes.
Arguments
minutesRequired- Idle time allowed in minutes.
What it does
When a player has not moved or acted for this long, the server applies mp_idledealmethod.
The game's own description: Maximum time a player is allowed to be idle (in minutes)
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.