NB! It seems this console command is not compatible with CS2.
Command Profile
HOST_WORKSHOP_MAP
CS:GO
This command will get the latest version of the workshop map with the specified ID (the ID is the numbers at the end of the workshop URL) and set it as your server's map.
Syntax
host_workshop_map [Workshop ID]
Description
This command will get the latest version of the workshop map with the specified ID (the ID is the numbers at the end of the workshop URL) and set it as your server's map.
How To Use host_workshop_map
- Enable the developer console in Counter-Strike settings.
- Open the console with the tilde key (
~). - Enter
host_workshop_map [Workshop ID], replacing bracketed arguments with the value you want, then press Enter.
This legacy command is not currently listed as compatible with Counter-Strike 2.
Syntax And Arguments
host_workshop_map [Workshop ID]
| Workshop ID | The ID of the workshop map you wish to set as the server's map. A workshop map's ID is the number part of a workshop page URL. |