Browse Source

Standardize CS2 config comments and sections

pull/150/head
Daniel Gibbs 1 month ago
parent
commit
79c322143e
Failed to extract signature
  1. 35
      cs2/server.cfg

35
cs2/server.cfg

@ -1,51 +1,64 @@
// **************************************************************************** // ****************************************************************************
// Counter-Strike 2 // Counter-Strike 2
// Config - server.cfg // Config - server.cfg
// Date - 06/12/2023 // Date - 26/04/2026
// **************************************************************************** // ****************************************************************************
// hostname - Hostname for server. // .................................. Basic ................................. //
// hostname - Name of the server.
hostname "SERVERNAME" hostname "SERVERNAME"
// sv_password - Server password for entry into multiplayer games. // sv_password - Server password for private servers.
sv_password "" sv_password ""
// sv_setsteamaccount - token Set game server account token to use for logging in to a persistent game server account // sv_setsteamaccount - Game server account token used for persistent login.
// https://steamcommunity.com/dev/managegameservers // https://steamcommunity.com/dev/managegameservers
sv_setsteamaccount "" sv_setsteamaccount ""
// .............................. Map Rotation .............................. //
// map - Start playing on specified map. // map - Start playing on specified map.
map "de_anubis" map "de_anubis"
// mapcyclefile - Name of the .txt file used to cycle the maps on multiplayer servers // mapcyclefile - Name of the .txt file used to cycle maps on multiplayer servers.
mapcyclefile "mapcycle.txt" mapcyclefile "mapcycle.txt"
// sv_lan - Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ). // ................................. Security ................................ //
// sv_lan - LAN mode. No heartbeat, no authentication, and no public listing.
sv_lan false sv_lan false
// ............................. Server Logging ............................. //
// sv_logfile - Log server information in the log file. // sv_logfile - Log server information in the log file.
sv_logfile true sv_logfile true
// sv_logbans - Log server bans in the server logs. // sv_logbans - Log server bans in the server logs.
sv_logbans true sv_logbans true
// ............................. Communication .............................. //
// sv_voiceenable - Enable voice communications. // sv_voiceenable - Enable voice communications.
sv_voiceenable true sv_voiceenable true
// sv_alltalk - Players can hear all other players, no team restrictions. // sv_alltalk - Players can hear all other players, no team restrictions.
sv_alltalk false sv_alltalk false
// game_alias - Set the configuration of game type and mode based on game alias like 'deathmatch'. // ................................ Gameplay ................................ //
// values: casual, deathmatch, competative, wingman
// game_alias - Set game type and mode based on a preset alias.
// values: casual, deathmatch, competitive, wingman
game_alias "casual" game_alias "casual"
// host_workshop_collection - Host a workshop map collection as a mapgroup. // host_workshop_collection - Host a workshop map collection as a mapgroup.
// e.g host_workshop_collection "3104731381" // e.g. host_workshop_collection "3104731381"
host_workshop_collection host_workshop_collection
// host_workshop_map - Get the latest version of the map and host it. // host_workshop_map - Get the latest version of the map and host it.
// e.g host_workshop_map "3075706807" // e.g. host_workshop_map "3075706807"
host_workshop_map host_workshop_map
// mp_autoteambalance - Define if the game should automatically balance out teams in teamplay (0: no, default, 1: yes) // mp_autoteambalance - Automatically balance teams in teamplay modes.
// false = no, true = yes
mp_autoteambalance true mp_autoteambalance true
Loading…
Cancel
Save