// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt
"GameModes_Server.txt"
{
"gameTypes"
{
"classic"
{
"gameModes"
{
"competitive"
{
"maxplayers" "8" // Note that maxplayers doesn't go in the convar block.
// Another way to set maxplayers is to add -maxplayers_override XX to the cmd line.
"exec"
{
"exec" "my_server_override_competitive.cfg"
}
"convars"
{
"mp_startmoney" "0"
"mp_maxmoney" "0"
"mp_friendlyfire" "0"
"bot_quota" "0"
"mp_roundtime" "15"
"mp_maxrounds" "10"
"mp_playercashawards" "0"
"mp_teamcashawards" "0"
"mp_afterroundmoney" "0"
}
"mapgroupsMP" // List of mapgroups valid for this game mode ( competitive )
{
"mg_bomb" ""
}
}
"casual"
{
"maxplayers" "30"
"convars"
{
"mp_startmoney" "0"
"mp_maxmoney" "0"
"mp_friendlyfire" "0"
"bot_quota" "0"
"mp_roundtime" "15"
"mp_maxrounds" "10"
"mp_playercashawards" "0"
"mp_teamcashawards" "0"
"mp_afterroundmoney" "0"
}
"exec"
{
"exec" "my_server_override_casual.cfg"
}
"mapgroupsMP" // List of mapgroups valid for this game mode ( casual )
{
"mg_bomb" ""
}
}
}
}
}
//////////////////////////////////////////////////////////////////////////////////////////////
// Map groups
//
// To use a mapgroup, it needs to be defined in a keyvalues
// block such as the example below, as well as listed in the
// 'mapgroupsMP' block within the game mode that will run it,
// such as the example above.
2//
// Then launch the server with '+mapgroup MAPGROUPNAME'
//
// Example:
//
// srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se
//
//
// Check the developer wiki for updated community info
//
https://developer.valvesoftware.com/...icated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////
"mapgroups"
{
"mg_bomb" // mapgroup definition
{
"name" "mg_bomb"
"maps"
{
"ba_jail_dubai" ""
"ba_jail_e-block" ""
"ba_jail_futurouta" ""
"ba_jail_mars_csgo" ""
"ba_jail_sand_csgo" ""
"ba_jail_summer_go" ""
"jb_avalanche_csgo_b4" ""
"jb_castleguarddev_v3" ""
"jb_citrus_v2" ""
"jb_fairway_csgo" ""
}
}
}
}