xgaming.configs
Team Fortress Classic server config
1 file

Team Fortress Classic Server Config

Ready-to-use server config files for Team Fortress Classic dedicated game servers — copy, paste and run.

Config files

server.cfg
// ****************************************************************************
// Team Fortress Classic
// Config - server.cfg
// Date - 26/04/2026
// ****************************************************************************

// .................................. Basic ................................. //

// hostname - Name of the server.
hostname "SERVERNAME"

// rcon_password - Remote console password.
rcon_password "ADMINPASSWORD"

// sv_password - Server password for private servers.
sv_password ""

// ................................. Security ................................ //

// sv_cheats - Allow cheat commands.
// Default: sv_cheats 0
sv_cheats 0

// ............................. Server Logging ............................. //

// log - Enable server log output.
// Recommended: log on
log on

// sv_logbans - Log server bans in the server logs.
sv_logbans 1

// sv_logecho - Display log information in server console.
sv_logecho 1

// sv_logfile - Write server log information to file.
sv_logfile 1

// sv_log_onefile - Use a single rolling log file.
sv_log_onefile 0

// ................................ Gameplay ................................ //

// sv_aim - Enable autoaim assistance.
// Recommended: sv_aim 0
sv_aim 0

// pausable - Allow clients to pause the server.
// Recommended: pausable 0
pausable 0

// sv_maxspeed - Maximum client movement speed.
sv_maxspeed 320

// mp_timelimit - Round time limit in minutes.
mp_timelimit 20

// ................................ Ban List ................................ //

// exec listip.cfg - Load IP ban list.
exec listip.cfg

// exec banned.cfg - Load user ban list.
exec banned.cfg




What these settings mean

Quick reference for the 10 most important keys in this Team Fortress Classic config. Hover or tap any key to see what it controls — useful when you're tuning a server for the first time and don't want to grep through the upstream wiki.

Core
2 settings
hostname
Server name shown in the in-game browser. Keep it under 64 characters and avoid colour codes if you want clean Steam listings.
sv_password
Optional join password. Empty string means a public server.
Gameplay
2 settings
sv_cheats
Enables developer cheat commands like noclip and god. Always 0 in competitive — only flip on for practice / surf / KZ servers.
mp_timelimit
Map time limit in minutes (TF2 / casual). 0 disables.
RCON
1 setting
rcon_password
Remote console password. Use a long random string — Source RCON is unencrypted, so anyone sniffing your wire can grab it if it's weak.
Logging
5 settings
log
Master switch for server logging. `on` writes to logs/L<date>.log — required for SourceMod and stats.
sv_logbans
1 logs ban / kick events. Always on for any moderated server.
sv_logecho
1 mirrors log lines to the server console — handy when tailing via screen / tmux.
sv_logfile
1 writes log lines to disk in addition to stdout.
sv_log_onefile
1 writes all activity into a single log file instead of rotating per map.

More valve / source engine configs

Skip the setup. Host Team Fortress Classic with XGamingServer.

Spin up a managed Team Fortress Classic server with one click. Backups, mods, control panel and DDoS protection included.