Ok i understand how to add thing on my Server over the Workshop, but one thing i nerver understand.
an example:
[URL="http://steamcommunity.com/sharedfiles/filedetails/?id=291414211"]http://steamcommunity.com/sharedfiles/filedetails/?id=291414211[/URL]
[URL="http://steamcommunity.com/sharedfiles/filedetails/?id=291422709"]http://steamcommunity.com/sharedfiles/filedetails/?id=291422709[/URL]
This both are i think for the same Server. But how i say the server that he has to download both.
I can add this "+host_workshop_collection" in the start up.
But how i add more than one Collection for my server ?
You can only have one collection on the server at once, Youll have to add everything to one collection.
Those are packed Workshop ADDONS, not collections. So the answer is no, you can't have multiple collections for your server.
You can download [url=http://www.treesoft.dk/gmod/gmad/] GMAD Extractor[/url], then extract the addon into your garrysmod/addons folder inside of your orangebox server. Then if you need it to download (For textures etc) [FastDL] then go inside your orangebox folder, and locate:
[code]garrysmod/lua/autorun/server/[/code]
Make a file called workshop.lua there, then simple inside the lua file, type AddWorkshop("ID").
To get the ID of a workshop addon, go to the page of the addon and at the end of the link at the top of the screen it will end with id=43938348 for example.
Message me if you are stuck.
I know that JoeBenton, but my hope was that i can add more than one colletion.
[QUOTE=UnDeadClank;45556282]I know that JoeBenton, but my hope was that i can add more than one colletion.[/QUOTE]
Read what Sven said.
Those are addons, not collections. Joe was telling you how to add addons 1 by 1, which you can do more than one of, but not more than one collection.
For addons, to do more than 1 just replicate the lines and change the ID's
i.e.
[lua]
resource.AddWorkshop("1234567")
resource.AddWorkshop("7654321")
[/lua]
I want make 3 colletions.
1. All Maps
2. All Pointshop Models
3. Stuff
and than let the server download it to make it easyer for me.
When i do that i have to make the workshop.lua with all resource for the clints anyway.
Because the Clints dont download my Server colletion normaly.
[editline]4th August 2014[/editline]
And the GMAD Extractor isnt an easyer way, as make a stupid one for all collection.
[QUOTE=UnDeadClank;45588689]And the GMAD Extractor isnt an easyer way, as make a stupid one for all collection.[/QUOTE]
If you are the one hosting the server GMad is probably the best way to go.
Just extract the addons to the addons folder and edit the resource.lua (Or workshop.lua) file.
It takes a tiny bit more time but it's super simple and there's no room for errors here (Unless you're really really dumb...)
Sorry, you need to Log In to post a reply to this thread.