You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
3.2 KiB
97 lines
3.2 KiB
// *****************************************************************************
|
|
// Counter-Strike: Source
|
|
// Config - server.cfg
|
|
// Date - 26/04/2026
|
|
// *****************************************************************************
|
|
|
|
// .................................. Basic ................................. //
|
|
|
|
// hostname - Hostname for server.
|
|
hostname "SERVERNAME"
|
|
|
|
// rcon_password - remote console password.
|
|
rcon_password "ADMINPASSWORD"
|
|
|
|
// sv_password - Server password for entry into multiplayer games.
|
|
sv_password ""
|
|
|
|
// sv_setsteamaccount - Set game server account token to use for logging in to a persistent game server account.
|
|
sv_setsteamaccount ""
|
|
|
|
// ................................. Security ................................ //
|
|
|
|
// sv_lan - Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ).
|
|
sv_lan 0
|
|
|
|
// sv_allowupload - Allow clients to upload customizations files.
|
|
sv_allowupload 1
|
|
|
|
// sv_allowdownload - Allow clients to download files.
|
|
sv_allowdownload 1
|
|
|
|
// sv_downloadurl - Location from which clients can download missing files.
|
|
sv_downloadurl ""
|
|
|
|
// ............................. Server Logging ............................. //
|
|
|
|
// sv_logfile - Log server information in the log file.
|
|
sv_logfile 1
|
|
|
|
// sv_logbans - Log server bans in the server logs.
|
|
sv_logbans 1
|
|
|
|
// ............................. Communication .............................. //
|
|
|
|
// sv_voiceenable - Enable voice communications.
|
|
sv_voiceenable 1
|
|
|
|
// sv_alltalk - Players can hear all other players, no team restrictions.
|
|
sv_alltalk 0
|
|
|
|
// ................................ Gameplay ................................ //
|
|
|
|
// mp_allowspectators - toggles whether the server allows spectator mode or not.
|
|
mp_allowspectators 0
|
|
|
|
// mp_autoteambalance - Automatically balance the teams based on mp_teams_unbalance_limit. 0 = off, 1 = forcibly switch, 2 = ask volunteers.
|
|
mp_autoteambalance 1
|
|
|
|
// mp_freezetime - how many seconds to keep players frozen when the round starts
|
|
mp_freezetime 6
|
|
|
|
// mp_friendlyfire - Allows team members to injure other members of their team.
|
|
mp_friendlyfire 0
|
|
|
|
// mp_limitteams - Max # of players 1 team can have over another (0 disables check)
|
|
mp_limitteams 2
|
|
|
|
// mp_mapcycle_empty_timeout_seconds - If nonzero, server will cycle to the next map if it has been empty on the current map for N seconds.
|
|
mp_mapcycle_empty_timeout_seconds 900
|
|
|
|
// mp_tkpunish - Will a TK'er be punished in the next round? {0=no, 1=yes}.
|
|
mp_tkpunish 0
|
|
|
|
// mp_maxrounds - max number of rounds to play before server changes maps.
|
|
mp_maxrounds 0
|
|
|
|
// mp_roundtime - How many minutes each round takes.
|
|
mp_roundtime 2
|
|
|
|
// mp_round_restart_delay - Number of seconds to delay before restarting a round after a win
|
|
mp_round_restart_delay 2
|
|
|
|
// mp_timelimit - game time per map in minutes.
|
|
mp_timelimit 0
|
|
|
|
// .............................. Map Rotation .............................. //
|
|
|
|
// map - Start playing on specified map.
|
|
// map "de_dust2"
|
|
|
|
// mapcyclefile - Name of the .txt file used to cycle the maps on multiplayer servers.
|
|
mapcyclefile "mapcycle.txt"
|
|
|
|
// ............................. Startup Commands ........................... //
|
|
|
|
// Startup map execution is typically supplied by launch parameters.
|
|
|
|
|