xgaming.configs
configs/csgo
Counter-Strike: Global Offensive server config
1 file

Counter-Strike: Global Offensive Server Config

Battle-tested server.cfg for CS:GO dedicated and community matchmaking servers, sourced from production deployments.

Config files

server.cfg
// ************************************************************************** //
//                                                                            //
//     Counter-Strike: Global Offensive - server.cfg                          //
//     Version 120719                                                         //
//                                                                            //
// ************************************************************************** //

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

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

// rcon_password - 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 - Server is a LAN server; can't connect from the internet. VAC (Valve Anti-Cheat) is disabled in this mode.
// Default: sv_lan 0
sv_lan 0

// Cheats mode - Server is disabled to use cheats by default;Commands like noclip,god are disabled to be exploited by the players. VAC (Valve Anti-Cheat) is disabled in this mode when value is set to '1'.
// Default: sv_cheats 0
// Cheats ON: sv_cheats 1
sv_cheats 0

// Tags - Used to provide extra information to clients when they're browsing for servers. Separate tags with a comma.
// Example: sv_tags "128-tick,deathmatch,dm,ffa,pistol,dust2"
sv_tags ""

// Region - The region of the world to report this server in.
// Default: -1
// 0 - US East, 1 - US West, 2 - South America, 3 - Europe, 4 - Asia, 5 - Australia, 6 - Middle East, 7 - Africa
sv_region -1

// ............................. 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

// Server Hibernation
sv_hibernate_when_empty 1
sv_hibernate_ms 5

// ............................. Server Query ............................. //
// More info at: https://www.gametracker.com/games/csgo/forum.php?thread=91691
host_name_store 1
host_info_show 1
host_players_show 2

// ................................ 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

What these settings mean

Quick reference for the 12 most important keys in this Counter-Strike: Global Offensive 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
2 settings
sv_lan
1 forces LAN-only mode (no Steam heartbeat). Set 0 for any internet-facing server.
sv_region
Geographic region for the master server browser. 255 = world, 0 = US East, 1 = US West, 3 = Europe, 4 = Asia.
Gameplay
1 setting
sv_cheats
Enables developer cheat commands like noclip and god. Always 0 in competitive — only flip on for practice / surf / KZ servers.
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 tactical fps configs

Skip the setup. Host Counter-Strike: Global Offensive with XGamingServer.

Spin up a managed Counter-Strike: Global Offensive server with one click. Backups, mods, control panel and DDoS protection included.