Hi, i have alot of workshop content in my server, but the players cant see it. BUT on other servers (quite a bit) i se the fastDL downloading the addons to the client. HOW DO I DO THIS
Hi Pablo,
I'm in the current part you are of server setup but I know a bit.
To use workshop content (such as tools addons etc) you need to create a collection in steam workshop and then add the collection ID to the server startup file.
When players connect they download that content.
What I have not worked out is how to use workshop files for things like player models for jobs. However I think you just follow the same method for FastDL now:
[url]http://www.youtube.com/watch?v=EH2YornMv2I[/url]
i have already done that. i have something like auth key and a collection already put together and the server downloads all the content. but for whatever reason its not downloading the addons to the players.
This needs to go into Help & Support not Developer Discussion :P
If you haven't already, make a file called forcedownload.lua in lua/autorun/server
Inside that file, add
resource.AddWorkshop( "WORKSHOP ID" )
That's what I did and it works for me.
[I][url]http://wiki.garrysmod.com/page/resource/AddWorkshop[/url][/I]
Can you add the collection ID rather then each addon in the collection?
Cheers!
Currently the auto addon download does not support collection ID only addon ID. I also noticed the downloading of each addon is quite slow.
thank you guys so much!
Sorry, you need to Log In to post a reply to this thread.