Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Add Steam Workshop Maps to a CS2 Server

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

This guide walks you through adding Steam Workshop maps to your Counter-Strike 2 dedicated server, so you can play community-made maps with friends or your community. You'll need a CS2 dedicated server (either rented or self-hosted) and the ability to edit its configuration files. The process involves getting the Workshop map's unique ID, adding it to a collection, and configuring your server to download and run it.

What You'll Need

  • A CS2 dedicated server (Windows or Linux) with admin access to its files.
  • The Steam Workshop map(s) you want to add — note their Workshop ID (a long number in the URL).
  • A Steam account with a public profile (to create a Workshop collection if you want multiple maps).
  • Basic familiarity with editing text files (like server.cfg and autoexec.cfg).
  • An FTP client or file manager to upload files to your server (if remote).

Step-by-Step

  1. Find the Workshop ID of your map. Go to the map's Steam Workshop page. The URL looks like https://steamcommunity.com/sharedfiles/filedetails/?id=1234567890 — the number after id= is the Workshop ID. Write it down.
  2. Create a Workshop collection (optional but recommended for multiple maps). If you want to run more than one map, create a collection on Steam: go to your Workshop page, click "Your Workshop Files," then "Create Collection." Add all your desired maps to the collection. The collection also has an ID (same URL format). If you only want one map, you can skip this and use the map's ID directly.
  3. Access your server's configuration files. Connect to your server via FTP or use your hosting control panel's file manager. Locate the csgo/cfg folder (for CS2, it's still named csgo).
  4. Edit autoexec.cfg (or create it). Open csgo/cfg/autoexec.cfg in a text editor. If it doesn't exist, create it. Add the following line, replacing COLLECTION_ID with your collection ID (or map ID if using a single map):
    host_workshop_map COLLECTION_ID
    Save the file.
  5. Set the map in server.cfg. Open csgo/cfg/server.cfg. Add or edit the line that sets the starting map. Use the same ID as above:
    map workshop/COLLECTION_ID
    For example, if your collection ID is 1234567890, the line is map workshop/1234567890. Save the file.
  6. Restart your server. Fully stop and start your CS2 server. It will download the workshop map(s) automatically from Steam (this may take a few minutes depending on the map size).
  7. Verify the map loads. Once the server is up, join it. You should see the workshop map loading. If you want to switch between multiple maps in the collection, use the host_workshop_map command in the server console or use a mapcycle file.

Common Mistakes

  • Using the wrong ID: Copying the URL instead of just the numeric ID, or using the map's file ID instead of the collection ID.
  • Forgetting the workshop/ prefix: In the map command, you must include workshop/ before the ID, otherwise the server tries to load a built-in map.
  • Editing the wrong config file: Some hosts use a different startup config. Check your server's startup parameters — the +map argument in the launch options overrides server.cfg.
  • Not restarting the server: Changes to config files only take effect after a full restart, not just a map change.
  • Server not downloading the map: The server must have internet access and SteamCMD login set up correctly (usually automatic for dedicated servers).

Tips

  • Use a collection even for a single map — it makes it easier to add more maps later without editing configs again.
  • Test the map locally in a listen server first (in the game's main menu, use map workshop/ID) to confirm it works before putting it on your dedicated server.
  • Set a mapcycle file (e.g., mapcycle.txt) with the workshop IDs to rotate through maps automatically.
  • Keep your server's host_workshop_map line commented out (with //) when you want to revert to default maps.
  • If your server is behind a firewall, ensure it can access Steam's download servers (usually port 443 and 27015).

Troubleshooting

  • Server doesn't download the map: Check the server console for errors. If it says "Failed to download," verify the Workshop ID is correct and the map is public (not private). Also check that the server has enough disk space.
  • Map loads but crashes: The map may be incompatible with your server's version of CS2. Update your server to the latest version via SteamCMD. If it still crashes, the map might be broken — try a different map.
  • Players get kicked when the map changes: They need to have the map downloaded too. The server sends the map file, but if it's large, players may time out. Increase the net_maxroutable or use a fast download URL (set sv_downloadurl to a web server hosting the map).
  • Map doesn't appear in the rotation: If you're using a mapcycle file, make sure the entries are in the format workshop/ID and that the file is in the csgo folder.
  • Server starts but stays on default map: Your startup script may override the map. Check your server's launch parameters — if there's a +map de_dust2 argument, remove it or change it to workshop/ID.

Frequently Asked Questions

  1. Do I need a Steam account for the server? Yes, the server uses a Steam account (usually anonymous) to download workshop content. Most hosting panels handle this automatically.
  2. Can I add maps without a collection? Yes, use the map's own Workshop ID in the host_workshop_map command. But with a collection, you can switch between multiple maps easily.
  3. Why does the server take long to load the map? It downloads the map from Steam on first use. Subsequent loads are faster because the map is cached.
  4. Can players vote for workshop maps? Yes, if you have a mapvote plugin (like MapChooser) installed, it can read the workshop maps in your collection.
  5. My map is private — can I still use it? No, the server can only download maps that are public on the Workshop. Make the map public or use a different map.
  6. How do I update a workshop map? The server automatically checks for updates when it restarts. If the map author updates it, your server will download the new version on the next restart.