Category: Counter Strike: Global Offensive Server


CS GO Server Workshop Maps

By Robin (SYNTEX),

Create new Steam API key

You need a valid Steam account

http://steamcommunity.com/dev/apikey

Create a new file in your CSGO server directory

webapi_authkey.txt

C:\csgoserver\csgo

Type in your Steam Web API key

Now start your server

You can change to a workshop map by using this command

host_workshop_map 644183353

You can get the steam workshop map ID via your browser

CS GO Server auto update mini script / logic (Windows)

By Robin (SYNTEX),

Create file in steamcmd folder

csgoserver_27015_update.txt

login anonymous
force_install_dir C:\csgoserver
app_update 740
quit

Create new file in CSGOServer

csgoserver_27015_start.bat

srcds -game csgo -console +game_type 0 +game_mode 1 -authkey "YOUR-AUTH-KEY" -tickrate 128 -bot_kick -usercon +map de_dust2 -maxplayers_override 16

Create new PowerShell Script

$steamCMDdir = "C:\steamcmd"
$serverdir = "C:\csgoserver"

Stop-Process -name "srcds"
Start-Process "$steamCMDdir\steamcmd.exe" -ArgumentList "steamcmd +runscript csgoserver_27015_update.txt"
Wait-Process -name steamcmd

cd $serverdir
Start-Process -FilePath "$serverdir\csgoserver_27015_start.bat"

Create a new schedulded task in Windows – every day at 4 am.

CS GO Server params

By Robin (SYNTEX),

Only headshot (Console)

mp_teammates_are_enemies 1;mp_max_armor 0;mp_damage_headshot_only 1;mp_free_armor 0;bot_kick;mp_limitteams 0

mp_freezetime 3

Only headshot (RCON)

rcon mp_teammates_are_enemies 1;
rcon mp_max_armor 0;
rcon mp_damage_headshot_only 1;
rcon mp_free_armor 0;
rcon bot_kick;
rcon mp_limitteams 0

Back to normal competitive (Console)

game_mode 1;game_type 0;exec gamemode_competetive;mp_restartgame 1

Back to normal competitive (RCON)

rcon game_mode 1;rcon game_type 0;rcon exec gamemode_competetive;rcon mp_restartgame 1

Change Server to deathmatch (RCON)

rcon game_mode 2;
rcon game_type 1;
rcon exec gamemode_deathmatch;
rcon mp_restartgame 1;

Tickrate 128

create cfg file

“C:\csgoserver\csgo\cfg\server.cfg”

sv_maxrate 0
sv_minrate 30000
sv_mincmdrate 128
sv_minupdaterate 128
sv_maxupdaterate 128

sv_setsteamaccount “XXXXXX YOUR STEAM KEY XXXXXX”
http://steamcommunity.com/dev/managegameservers

In your start server command

-tickrate 128

srcds -game csgo -console +game_type 0 +game_mode 1 -authkey "YOUR-AUTH-KEY" -tickrate 128 -bot_kick -usercon +map de_dust2 -maxplayers_override 16

Sourcemod reload plugins without restarting server

sm plugins unload_all
sm plugins refresh

Load workshop map

host_workshop_map 644183353

This needs the steam web API enabled in your server