|
|
@ -1,47 +1,63 @@ |
|
|
|
// **************************************************************************** |
|
|
|
// * |
|
|
|
// TeamFortress2 - server.cfg * |
|
|
|
// Version 250817 * |
|
|
|
// * |
|
|
|
// **************************************************************************** |
|
|
|
// ************************************************************************** // |
|
|
|
// // |
|
|
|
// Team Fortress 2 - server.cfg // |
|
|
|
// Version 240917 // |
|
|
|
// // |
|
|
|
// ************************************************************************** // |
|
|
|
|
|
|
|
// ............................. Basic Settings ............................. // |
|
|
|
// .................................. Basic ................................. // |
|
|
|
|
|
|
|
// Hostname for server. |
|
|
|
// Hostname - Name of the server. |
|
|
|
hostname "SERVERNAME" |
|
|
|
|
|
|
|
// RCON - remote console password. |
|
|
|
rcon_password "ADMINPASSWORD" |
|
|
|
|
|
|
|
// Server password - for private servers. |
|
|
|
sv_password "" |
|
|
|
|
|
|
|
// Email - Server admin email. |
|
|
|
sv_contact "email@example.com" |
|
|
|
// Example: sv_contact "email@example.com" |
|
|
|
sv_contact "" |
|
|
|
|
|
|
|
// LAN Mode - If set the server will not show on the internet. |
|
|
|
// LAN mode - If set the server will not show on the internet. |
|
|
|
// Default: sv_lan 0 |
|
|
|
sv_lan 0 |
|
|
|
|
|
|
|
// Server tags - Tags show up on the in-game server browser. This helps |
|
|
|
// users filter servers. |
|
|
|
// vanilla - the server runs the default settings. |
|
|
|
// custom - the server runs custom gameplay settings or mods. |
|
|
|
// Example: sv_tags "custom, fastdl" |
|
|
|
sv_tags "" |
|
|
|
|
|
|
|
// 0 = anywhere, 1 = anywhere listed in white list, 2 = steam official content only |
|
|
|
sv_pure 1 |
|
|
|
|
|
|
|
// Frame rate limiter |
|
|
|
fps_max 600 |
|
|
|
|
|
|
|
// Set to lock per-frame time elapse |
|
|
|
host_framerate 0 |
|
|
|
// ................................. In Game ................................ // |
|
|
|
|
|
|
|
// Set the pause state of the server |
|
|
|
setpause 0 |
|
|
|
|
|
|
|
// Toggles game cheats |
|
|
|
// Cheats - Allow cheats on the server. Steam achievements and stats are disabled. |
|
|
|
// 0 = cheats off. |
|
|
|
// 1 = cheats on. |
|
|
|
// Default: sv_cheats 0 |
|
|
|
// Reccomended: sv_cheats 0 |
|
|
|
sv_cheats 0 |
|
|
|
|
|
|
|
// The region of the world to report this server in. |
|
|
|
// -1 is the world, 0 is USA east coast, 1 is USA west coast |
|
|
|
// 2 south america, 3 europe, 4 asia, 5 australia, 6 middle east, 7 africa |
|
|
|
sv_region 3 |
|
|
|
// ............................. Communication ............................. // |
|
|
|
|
|
|
|
// Voice enable - Enable communication over voice via microphone. |
|
|
|
// 0 = voice off. |
|
|
|
// 1 = voice on. |
|
|
|
// Default: sv_voiceenable 1 |
|
|
|
sv_voiceenable 1 |
|
|
|
|
|
|
|
// All talk - Players can hear all other players, no team restrictions. |
|
|
|
// 0 = all talk off. |
|
|
|
// 1 = all talk on. |
|
|
|
// Default: sv_alltalk 0 |
|
|
|
sv_alltalk 0 |
|
|
|
|
|
|
|
// Game tags to identify vanilla server |
|
|
|
sv_tags "teamfortress2" |
|
|
|
|
|
|
|
// ........................... RCON Configuration ........................... // |
|
|
|
|
|
|
@ -52,29 +68,12 @@ rcon_password "ADMINPASSWORD" |
|
|
|
// min. 0 |
|
|
|
sv_rcon_banpenalty 10 |
|
|
|
|
|
|
|
// Enable/disable rcon logging |
|
|
|
sv_rcon_log 1 |
|
|
|
|
|
|
|
// Max number of times a user can fail rcon authentication before being banned |
|
|
|
// min. 1 max. 20 |
|
|
|
sv_rcon_maxfailures 5 |
|
|
|
|
|
|
|
// Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned |
|
|
|
sv_rcon_minfailures 5 |
|
|
|
|
|
|
|
// Number of seconds to track failed rcon authentications |
|
|
|
sv_rcon_minfailuretime 10 |
|
|
|
|
|
|
|
// ...................... Communication and spectators ...................... // |
|
|
|
|
|
|
|
// Enable voice communications |
|
|
|
sv_voiceenable 0 |
|
|
|
|
|
|
|
// Players can hear all other players, no team restrictions 0=off 1=on |
|
|
|
sv_alltalk 0 |
|
|
|
|
|
|
|
// Toggles whether the server allows spectator mode or not |
|
|
|
mp_allowspectators 1 |
|
|
|
|
|
|
|
// ......................... Team and round settings ........................ // |
|
|
|
|
|
|
@ -110,6 +109,21 @@ mp_forcecamera 0 |
|
|
|
|
|
|
|
// Toggles whether the server allows spectator mode or not |
|
|
|
mp_allowspectators 1 |
|
|
|
// ............................. Fast Download .............................. // |
|
|
|
// info: Used by servers with custom maps |
|
|
|
|
|
|
|
// Allow download - Allow clients to download custom files from the server at 20 kbps. |
|
|
|
// 0 = allow download off. |
|
|
|
// 1 = allow download on. |
|
|
|
// Default: sv_allowdownload 1 |
|
|
|
sv_allowdownload 1 |
|
|
|
|
|
|
|
// Download url - Allow clients to download custom files from a web server. |
|
|
|
// Example: |
|
|
|
// server location: maps/custommap.bsp |
|
|
|
// web server location: http://example.com/custom/maps/custommap.bsp |
|
|
|
// Example: sv_downloadurl "http://example.com/custom" |
|
|
|
sv_downloadurl "" |
|
|
|
|
|
|
|
// Toggles footstep sounds |
|
|
|
mp_footsteps 1 |
|
|
@ -151,21 +165,26 @@ decalfrequency 30 |
|
|
|
|
|
|
|
// ............................. Server Logging ............................. // |
|
|
|
|
|
|
|
//Enables logging to file, console, and udp < on | off >. |
|
|
|
// Enable log - Enables logging to file, console, and udp < on | off >. |
|
|
|
// Recommended: log on |
|
|
|
log on |
|
|
|
|
|
|
|
// Log server bans in the server logs. |
|
|
|
// Log bans - Log server bans in the server logs. |
|
|
|
// Default: sv_logbans 1 |
|
|
|
// Recommended: sv_logbans 1 |
|
|
|
sv_logbans 1 |
|
|
|
|
|
|
|
// Echo log information to the console. |
|
|
|
// Log echo - Display log information to the server console. |
|
|
|
// Default: sv_logecho 1 |
|
|
|
// Recommended: sv_logecho 1 |
|
|
|
sv_logecho 1 |
|
|
|
|
|
|
|
// Log server information in the log file. |
|
|
|
// Log file - Log server information in the log file. |
|
|
|
// Default: sv_logfile 1 |
|
|
|
// Recommended: sv_logfile 1 |
|
|
|
sv_logfile 1 |
|
|
|
|
|
|
|
// Log server information to only one file. |
|
|
|
// One file log - Log server information to only one file. |
|
|
|
// Default: sv_log_onefile 0 |
|
|
|
sv_log_onefile 0 |
|
|
|
// Recommended: sv_log_onefile 0 |
|
|
|
sv_log_onefile 0 |
|
|
|