CS:GO Server Configuration

From Nitradopedia EN
Jump to: navigation, search
Csgo wiki.jpg
Rent your own prepaid Nitrado Game Server today at nitrado.net

Gametypes and Gamemodes

You can set the gamemodes before you start your CS:GO server.

game_mode 0 game_mode 1
game_type 0 Casual Mode Competitive Mode
game_type 1 Arms Race Demolition

Mapgroups

Mapgroups are a compilation of maps with gamemodes specified to them.


The pre-defined mapgroups:

Mapgroup-Name Maptyp Maps
mg_bomb Bomb maps de_dust2, de_train, de_inferno, de_dust, de_aztec, de_nuke
mg_hostage Hostage maps cs_office, cs_italy
mg_dust Both de_dust maps de_dust, de_dust2
mg_demolition Demolition de_lake, de_stmarc, de_sugarcane, de_bank, de_safehouse, de_shorttrain
mg_armsrace Arms Race ar_shoots, ar_baggage


Additionally, every map has its own mapgroup with just the map only.

Example:

Mapgroup-Name Map
mg_de_train de_train
mg_de_dust de_dust
mg_de_dust2 de_dust2

And so on...

User defined mapgroups are found in the gamemodes_server.txt an example can be found in your gamemodes_server.txt.example
This is the default config:


// To use this config you have to rename it to GameModes_Server.txt.
//
// The settings in this config will overwrite the ones in your gamemodes.txt.

"GameModes_Server.txt"
{
	"gameTypes"
	{
		"classic"
		{
			"gameModes"
			{
				"competitive"
				{

					"maxplayers"		"8"				// Don't move this setting into the convars section.
														

					"convars"
					{
						"hostname"							"SE SERVER 24/7"
						"mp_startmoney"							"888"
						"mp_maxmoney"							"9999"

					}

					"mapgroupsMP"						// List of mapgroups which can be used in the "competitive" gamemode.
					{
						"mg_bomb_se"		""
					}
				}

				"casual"
				{

					"maxplayers"		"25"

					"convars"
					{
						"hostname"							"SE SERVER 24/7"
						"mp_startmoney"							"15998"
						"mp_maxmoney"							"99999"

					}

					"mapgroupsMP"						// List of mapgroups which can be used in the "casual" gamemode.
					{
						"mg_bomb_se"		""
					}
				}

			}	
		}
	}

//////////////////////////////////////////////////////////////////////////////////////////////
// Mapgroups
//
// To use a mapgroup you first have to define what maps are in which mapgroup.
// After that you have to specify which gamemode will be run on which map.
//
// After specifying the mapgroups you need to log in to your Webinterface and start the CS:GO server with your mapgroup
//
//
// More information:
// https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////


	"mapgroups"
	{
		"mg_bomb_se"									// Definition of a specific mapgroup.
		{
			"name"			"mg_bomb_se"
			"maps"
			{
				"de_dust_se"		""
				"de_dust2_se"		""
				"de_nuke_se"		""
				"de_train_se"		""
				"de_inferno_se"		""
				"de_aztec_se"		""
			}
		}
	}
}