Using engine commands to host maps on the fly.Adding fileids or collectionids to the respective config files.There are two possible ways to add workshop hosted maps to your server. Your auth key is tied to your steam account, so keep it private! Once you have your key, run your server with the commandline parameter '-authkey XXXXXXX' where XXXXXXX is your key.Īlso you can add the key as a single line into the file webapi_authkey.txt under the mod directory csgo. To allow this you'll need an authorization key which you can generate here. To download maps from the workshop, your server needs access to the steam web api. Srcds -game csgo -console -ip .ADDR.HERE +game_type 0 +game_mode 1 +host_workshop_collection 125499818 +workshop_start_map 125488374 -authkey YOURAUTHKEYHERE This will start the server with an 'se + mirage collection' and set the start map to de_dust2_se.
How to host Workshop Maps with a CS:GO Dedicated Server