Counter-Strike: Global Offensive/Dedicated Servers

From Valve Developer Community
Jump to navigation Jump to search

Counter-Strike: Global Offensive == Running the Dedicated Server == 1. Download the update tool:

Windows: http://blog.counter-strike.net/wp-content/uploads//2012/04/steamcmd.zip

Linux: http://blog.counter-strike.net/wp-content/uploads//2012/04/steamcmd.tar.gz

2. extract to an empty directory. For best results, it should *not* be the same directory that you run the regular Steam client from, *nor* the older "steam"/HldsUpdateTool download program

3a. for Windows, type

Steamcmd

3b. For Linux, type

STEAMEXE=steamcmd ./steam.sh

The program will auto-update and put you at the "Steam>" prompt. You can type "help" for more info.

4. login using your CS:GO Steam account. Example:

login username password

4b1. if you get a Steam Guard error, then enter it after you get your code in email. Example:

set_steam_guard_code steamguardcode

4b2. Login again.

5. Set your CS:GO dedicated server install dir. Example:

 force_install_dir ../csgo-ds/

6. Update the CS:GO server app.

App_update 740 validate

7. Exit the update tool and start the server:

Classic Casual:

srcds -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_allclassic +map de_dust

Classic Competitive:

srcds -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_allclassic +map de_dust 

Arms Race:

srcds -game csgo -console -usercon +game_type 1 +game_mode 0 +mapgroup mg_armsrace +map de_dust

Demolition:

srcds -game csgo -console -usercon +game_type 1 +game_mode 1 +mapgroup mg_demolition +map de_dust