gameservergame-servergame-servershacktoberfestdedicated-game-serversgamelinuxgsmserverbashgaminglinuxmultiplayer-game-servershell
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.
34 lines
2.1 KiB
34 lines
2.1 KiB
# Game Settings File
|
|
# csgoserver
|
|
# Counter-Strike: Global Offensive Dedicated Server
|
|
|
|
# Import SRCDS
|
|
fn_import_game_settings _source
|
|
|
|
# Override some server settings
|
|
fn_set_game_params settings "appid" "740"
|
|
fn_set_game_params settings "defaultmap" "de_dust2"
|
|
fn_set_game_params settings "game" "csgo"
|
|
fn_set_game_params settings "mapcyclefile" "--UNSET--"
|
|
fn_set_game_params settings "gamename" "Counter Strike: Global Offensive"
|
|
fn_set_game_params settings "mapgroup" "random_classic" "Map Group. See https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers#Starting_the_Server"
|
|
fn_set_game_params settings "gametype" "0" "Game Type. Set to: Arms Race 1 Classic Casual 0 Classic Competitive 0 Demolition 1 Deathmatch 1"
|
|
fn_set_game_params settings "gamemode" "0" "Game Mode. Set to: Arms Race 0 Classic Casual 0 Classic Competitive 1 Demolition 1 Deathmatch 2"
|
|
fn_set_game_params settings "gslt" "--EMPTY--" "Required: Game Server Login Token. GSLT is required for running a public server. More info: http://gameservermanagers.com/gslt"
|
|
fn_set_game_params settings "authkey" "--EMPTY--" "Optional key for Workshop Content. See https://developer.valvesoftware.com/wiki/CSGO_Workshop_For_Server_Operators - To get an authkey visit - http://steamcommunity.com/dev/apikey"
|
|
fn_set_game_params settings "ws_collection_id" "--EMPTY--" "Workshop Collection ID"
|
|
fn_set_game_params settings "ws_start_map" "--EMPTY--" "Workshop Start Map"
|
|
|
|
|
|
# The parms that start with - go first
|
|
fn_set_game_params parms_minus "usercon" "--EMPTY--"
|
|
fn_set_game_params parms_minus "maxplayers_override" "\${maxplayers}"
|
|
fn_set_game_params parms_minus "authkey" "\${authkey}"
|
|
|
|
# Then the parms that start with +
|
|
fn_set_game_params parms_plus "sv_setsteamaccount" "\${gslt}"
|
|
fn_set_game_params parms_plus "mapgroup" "\${mapgroup}"
|
|
fn_set_game_params parms_plus "game_mode" "\${gamemode}"
|
|
fn_set_game_params parms_plus "game_type" "\${gametype}"
|
|
fn_set_game_params parms_plus "host_workshop_collection" "\${ws_collection_id}"
|
|
fn_set_game_params parms_plus "workshop_start_map" "\${ws_start_map}"
|
|
|