What I have tested.
I downloaded
NMRIH dedicated server using SteamCMD. (os Windows)
- I did not enter any code for sv_steamaccount, or use Web API key anywhere in srcds.
While srcds server is running (
-console -game nmrih +map nmo_boardwalk ),
I used server command:
workshop_download 2383852757
It start download workshop map into
...workshop/content/224260/ folder.
I got also
workshop_maps.txt map list, into
...nmrih/ folder.
Look like this:
Code:
"WorkshopMaps"
{
"nmo_biohazard_v3_fix" "2383852757"
}
Looking from server console
maps *, I see workshop map there.
I change level to that, I join into server (
LAN connection) and my game start download map.
Works.
----------------------------------
What you could try:
- Shutdown server. Delete all files inside
...workshop/ folder
- Delete file
...nmrih/workshop_maps.txt
SRCDS need close first or otherwise you can't get rid off all files, server will create files upon shutdown.
- Don't use mods or plugins to download workshop maps.
Do not move/copy workshop maps into ...nmrih/maps/ folder! Never!
- Launch your server with game base map, example:
nms_silence
Find and Look your favorite workshop map id:
https://steamcommunity.com/sharedfiles/filedetails/?id=2383852757
- Type in your server console:
workshop_download 2383852757
Server start download map, it could take some time to finish. Be patient and wait.
- To add more maps, use workshop_download <map id>
- To add
whole collection of workshop maps, workshop_download_collection <collection id>
workshop_download_collection 2451635511
- Confirm you have workshop maps, type command
maps *
- Make sure
you not have these commands or cvars in your config files or launch script.
If you do, remove those.
Code:
sv_workshop
sv_workshop_autoupdate
workshop_download
workshop_download_collection
workshop_validate
workshop_update
- Open
...nmrih/workshop_maps.txt, can you see list workshop maps ?
- Change server level to one of workshop map, join in server to confirm, you start download map.
Ok.
Change server level to one of base map, ex.
changelevel nmo_boardwalk
Try ask people into server, can they get in ?
After this, change to one of workshop map. Does it work ?
Players need this to be enabled
Code:
"cl_workshop_download_maps" = "1"
client archive
- Download maps automatically from Workshop. (Depends on server)
__________________