xgaming.configs
sfc
1 file

SourceForts Classic Server Config

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

Config files

server.cfg
// ************************************************************************** //
//                                                                            //
//     SourceForts Classic - server.cfg                                       //
//                                                                            //
// ************************************************************************** //

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

// Hostname - Name of the server.
// Be sure to edit phase_combat.cfg and phase_build.cfg
hostname "SERVERNAME"

// RCON - remote console password.
rcon_password "ADMINPASSWORD"

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

// Email - Server admin email.
// Example: sv_contact "email@example.com"
sv_contact ""

// LAN mode - If set the server will not show on the internet.
// Default: sv_lan 0
sv_lan 0

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

// Enable log - Enables logging to file, console, and udp < on | off >.
// Recommended: log on
log on

// Log bans - Log server bans in the server logs.
// Default: sv_logbans 1
// Recommended: sv_logbans 1
sv_logbans 1

// Log echo - Display log information to the server console.
// Default: sv_logecho 1
// Recommended: sv_logecho 1
sv_logecho 1

// Log file - Log server information in the log file.
// Default: sv_logfile 1
// Recommended: sv_logfile 1
sv_logfile 1

// One file log - Log server information to only one file.
// Default: sv_log_onefile 0
// Recommended: sv_log_onefile 0
sv_log_onefile 0

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

// User ban - Server banlist based on user steam ID.
// Recommended: exec banned_user.cfg
exec banned_user.cfg

// IP ban - Server banlist based on user IP.
// Recommended: exec banned_ip.cfg
exec banned_ip.cfg

// Write ID - Writes a list of permanently-banned user IDs to banned_user.cfg.
writeid

// Write IP - Save the ban list to banned_ip.cfg.
writeip

// ............................. Fast Download .............................. //
// info: Allows custom maps to be downloaded to the client.

// Allows clients to download custom maps and textures etc. from the server at 20 kbps.
// Default: sv_allowdownload 1
sv_allowdownload 1

// Allows clients to download custom maps, textures etc. from a web server with no transfer limit.
// Example:
// 		server location: maps/custommap.bsp
// 		web server location: http://example.com/custom/maps/custommap.bsp
//		sv_downloadurl "http://example.com/custom"
// Default: sv_downloadurl ""
sv_downloadurl ""

// ........................  SourceForts Classic Settings...................... //

// Use global banlist ?
// WARNING: Disabling this will allow globally-banned griefers to join your server
mp_sfbanlist 1

// Team Settings
sf_team_autoassign 0
sf_forcebalance 1

// The values below defines some of the Sourceforts rules. It is recommended to leave them as default.
sf_team_blocklimit 50
sf_build_long_length 600
sf_build_short_length 240
sf_combat_length 600

What these settings mean

Quick reference for the 12 most important keys in this SourceForts 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
3 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.
sv_contact
Public-facing admin contact email. Shown in the server info reply.
Network
3 settings
sv_lan
1 forces LAN-only mode (no Steam heartbeat). Set 0 for any internet-facing server.
sv_allowdownload
1 lets clients download missing maps / models from the server. Slow — better to pair with sv_downloadurl.
sv_downloadurl
Fast-DL HTTP URL for clients to fetch missing assets. Massively faster than Source's built-in trickle download.
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 SourceForts Classic with XGamingServer.

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