CS:GO Server command line options

First were going to establish the base for each OS.
srcds.exe -game csgo

srcds -game csgo
./srcds_run -game csgo
./srcds_linux -game csgo

Those are what you start the server with. However you do need additional items or switches as they are called to configure how the server starts, what runs, what game mode, what settings, and more.

The server is searching for updates on startup.

Srcds will run with a console window.

This enables RCON.

Specifies the address to use for the bind(2) syscall, which controls      on which IP addresses the program is reachable on. It must either be a local address (an addresses of the host it runs on) or (the wildcard). This has nothing to do with externally-visible addresses in NAT setups.

Sets the port for the server. Default is 27015

Specifies Server-Tickrate.

Specifies how many player slots the server can contain.

Specifies the game type. 0 is Classic type. 1 is Gungame type.

Specifies the game mode. If game_type is 0 then mode 0 is Classic Casual and 1 is Classic Competitive. If game_type is 1 then mode 0 is Arms Race and 1 is Demolition.

This specifies which map list in the gamemodes.txt the server will use. The options are: mg_allclassic, mg_hostage, mg_bomb, mg_armsrace, mg_demolition. If you want to lock the server to 1 map just add mg_ in front of the map name. Example: mg_de_dust2

This tells the server what map to start the server on.

+exec server.cfg
Executes the server.cfg file.

So an example Windows command line would be like this:
srcds.exe -game csgo -tickrate 200 -console +ip -port 27016 -usercon +game_type 1 +game_mode 0 -maxplayers 24 +mapgroup mg_armsrace +map ar_baggage

For linux
srcds_run or srcds_linux -game csgo -tickrate 200 -console +ip -port 27016 -usercon +game_type 1 +game_mode 0 -maxplayers 24 +mapgroup mg_armsrace +map ar_baggage  

This entry was posted in Dedicated Server FAQ. Bookmark the permalink.

Leave a Reply