How to Add Custom Maps to a CS2 Dedicated Server
In this article
This guide walks you through adding custom maps to your Counter-Strike 2 dedicated server, so you and your community can play on workshop or community-made maps. You'll need your server's IP/port, FTP or file manager access, and the map's Workshop ID or .vpk file. No coding experience is required.
What You'll Need
- Access to your dedicated server's file system (via FTP, SFTP, or a web-based file manager).
- Your server's IP address and RCON password (or SSH access) to run console commands.
- The Workshop ID of the map you want to add (found on the Steam Workshop page URL) or the map's .vpk file.
- SteamCMD installed on your server (most hosts include it).
Step-by-Step
- Locate your server's files. Log into your hosting panel or FTP client and navigate to the root directory of your CS2 server. Typically this contains folders like
game,csgo, andcs2(depending on your host). - Find or create the
csgo/addonsandcsgo/mapsfolders. If they don't exist, create them. Custom maps go intocsgo/maps, but workshop maps require a special folder structure. - For Workshop maps: get the Workshop ID. Go to the map's Steam Workshop page and copy the ID from the URL (e.g.,
?id=123456789). - Download the map using SteamCMD. On your server, open a terminal or SSH session and run SteamCMD with the following commands (replace
USERNAMEandPASSWORDwith your Steam credentials, or useanonymousif the map is public):steamcmd +login USERNAME PASSWORD +force_install_dir ./cs2 +app_update 730 +workshop_download_item 730 123456789 +quit
This downloads the map tocs2/steamapps/workshop/content/730/123456789. - Copy the downloaded map to the correct location. Navigate to the downloaded folder and copy the
.vpkfile (or the entire folder) tocsgo/maps/workshop/123456789/. If theworkshopfolder doesn't exist, create it. The final path should look like:csgo/maps/workshop/123456789/map_name.vpk. - For non-Workshop maps (direct .vpk files): Simply upload the .vpk file to
csgo/maps/using FTP. Make sure the filename matches the map name you'll use in the server command. - Add the map to your server's rotation or start it. In your server's
server.cfgor via console, set the map using the commandmap workshop/123456789/map_namefor workshop maps, ormap map_namefor direct maps. To add to rotation, add the map name to themapgroupor usesm_mapif you have SourceMod installed. - Restart your server. After making changes, restart the server to load the new map. Test by connecting and using
changelevelormapcommand.
Common Mistakes
- Wrong folder path: Placing the .vpk in
csgo/mapsinstead ofcsgo/maps/workshop/<id>for workshop maps. The game looks for workshop maps in the workshop subfolder. - Using the wrong map name: The map name in the command must match the .vpk filename exactly, including case sensitivity on Linux servers.
- Forgetting to restart the server: Some changes require a full restart; a simple map change may not pick up new files.
- Not downloading all required files: Some maps have additional files (e.g., textures, sounds) that are packed into the .vpk, but if the map uses external files, you must download the entire workshop content folder.
Tips
- Use the
host_workshop_mapcommand: In your server console, you can typehost_workshop_map 123456789to directly load a workshop map by ID without manually copying files. - Pre-download maps for players: If your server runs a map not in the default rotation, players will download it automatically from the server, but it's faster if they subscribe to it on the Workshop.
- Keep backups: Before updating maps, back up the current .vpk files so you can roll back if a new version has issues.
- Check file permissions: On Linux servers, ensure the .vpk files have read permissions (
chmod 644) so the server can read them.
Troubleshooting
- Map doesn't appear in the list: Verify the file is in the correct folder and the filename matches the map name. Check server logs for errors like "Map not found".
- Map fails to download for players: Ensure the server has
sv_downloadurlconfigured if you want fast downloads, or that players have subscribed to the map on the Workshop. - Server crashes when loading the map: The map may be corrupt or incompatible. Try re-downloading it, or test with a different map to see if the issue is specific.
- Workshop download fails: Check your SteamCMD login credentials. Some maps require a premium account to download. Also, ensure you have enough disk space.
- Map loads but textures are missing: The map may reference external files that weren't downloaded. Re-run the workshop download and copy the entire content folder, not just the .vpk.
Frequently Asked Questions
Do players need to download the map themselves?
No, they will automatically download from your server when they connect, but it's faster if they subscribe to the Workshop item beforehand.
Can I add multiple custom maps at once?
Yes, download each map and add them to your rotation. Use the mapgroup command or list them in server.cfg.
What is the difference between a Workshop map and a regular custom map?
Workshop maps are downloaded via SteamCMD and stored in the maps/workshop/<id> folder. Regular custom maps are placed directly in maps/ and are often used for local testing or private servers.
Can I use custom maps on a server without SteamCMD?
Yes, you can manually upload the .vpk file via FTP, but you must know the correct folder structure. Workshop maps are easier to manage with SteamCMD.
Why does my server say "Map not found" when I try to load it?
Double-check the map name in the command. It must match the .vpk filename exactly. Also, ensure the file is in the correct folder and has proper permissions.
Can I run custom maps on a listen server (non-dedicated)?
Yes, the process is similar, but you can use the in-game console to load the map directly from your local files.