Garry's Mod

Garry's Mod

Not enough ratings
How to mount addons from Workshop onto your Dedicated/Private Server
By Jackson Yeo
This is a guide to teach you how to install maps and gamemodes on your dedicated/private server.
   
Award
Favorite
Favorited
Unfavorite
Introduction
Thanks for looking at this guide.Please note that if you do not know how to set up a server,dont look at this guide as it will be confusing.Now,assuming that you already have your server ready,lets get started.First of all,you and your friends might want to play a certain gamemode or map,but you dont know how to have that gamemode on your server.Don't worry,just read on and you will know!
First step:Getting a API Key
First of all,you will have to get an API key for your server.I do not know what it is but it is needed in downloading Workshop contents onto your server.

Go to http://steamcommunity.com/dev/apikey and sign in with your steam account.Your domain name should be steamidfinder.com. After that is done,click register and you will get a long key.That is your Steam API Key.Copy it down sometime and make sure that you dont lose it as it is important.
Second Step:Inserting your key into your server's Start.bat/shortcut
Now that you have your API key,the next thing to do is to put the API Key into your server's Start.bat or whatever you use to start it up.

If you are using start.bat,edit it and paste this command like how i did.
Command: +host_workshop_collection WORKSHOPID -authkey Yourkeyhere

If you are using a shortcut to start your server through SRCDS.exe,right click on your shortcut,go to properties and paste the command at the very end at target.
Third Step:Steam Workshop Collection
Now,you might be wondering what WORKSHOPID means.It is the last few digits of the workshop collection url.
The last few numbers you see are the WORKSHOPID.
Copy it and replace the WORKSHOPID.
What this does is it lets your server know which collection to go to to download your addons or map.
Fourth Step:Making a Steam Workshop Collection
Now that you understand what API Key and WORKSHOPID means,you can get started with making your own collection.I prefer to do it on steamcommunity.com on my google chrome as that is where you can get your id.

So,go to steamcommunity.com on your preferred web browser and then log in with your account.Then go to Community and then Garry's Mod Workshop.Now,its your time to make a collection.But before that,you have to subscribe to items that you want to mount on your server.Take for example I want to mount a map.Search for that map on the workshop and then subscribe to it.Once you're done,Go to collections and then click Create Collection
Now,give your collection a name and a branding image(icon/picture).You can skip the description and categories part so just click Save and Continue.Now,click on Subscribed Items and then choose the addons you want.
Fifth Step:Publishing Collection
Now that you have your collection and you have chosen what you want to have in it,click save and continue.
Last Step:Mounting it on your server
Now that you have chosen your addon,publish your collection.Now copy down the WORKSHOPID like how I did in the Fourth step and paste it in your server Start.bat or shortcut.If your addon is a map,copy down the name of the map and in my case it is called ph_House.Do know that some workshop maps dont tell you the name and it might be difficult to find for the name.Now copy down the name and paste it in your +map MAPNAMEHERE line in your start.bat/shortcut.Make sure you have your API Key and your WORKSHOPID filled in and you're good to go.
Is there an easier way or alternative to this?
Yes there is an alternative way to mount addons to your gmod server.I find it easier but not really reliable.But if you want to use it go ahead.Its an app/tool called GMAD Extractor.

Download:http://www.treesoft.dk/gmod/gmad/
Conclusion
Thanks for taking time for looking at my guide.Overtime,I will do my best to improve it and make it even better.I will also try my best to look at your feedback(if there is any)and it would be nice if you look at my Prop Hunt guide.Anyways,thanks for looking at this and most importantly,I hope that this has or will help you in setting up your GMOD server.

:DD
10 Comments
itzdaniel483 May 14, 2017 @ 10:22am 
I just get WS: No +host_workshop_collection or it is invalid!
shrooblooms Apr 15, 2016 @ 10:16pm 
if i close it the uptime resets, if i turn off my pc then the uptime still goes up.
Jackson Yeo  [author] Apr 15, 2016 @ 3:10am 
@Prof. Boxtrot hmm.. im not sure for the default gmod stuff,but if you close your pc or close the orange tab your server will not be running.The server is running on your computer,so if it turns off,the server will stop
shrooblooms Apr 14, 2016 @ 1:26pm 
I put my workshop addon id like the number after filedetails/?id= then i put my API key after that, It only has the default gmod stuff no addons whatsoever. do i need to restart my server? also if i close my pc or close the orange tab (srcds or something) will my server still be running?
{MFH}Mayhem Jan 29, 2015 @ 8:02am 
It's not working fully for me. It downloads about 31 of the 52 items I have, I know I have the space, but it's just starting the server without it. any ideas?
(っ◔◡◔)っ ♥ CutieMan ♥ Nov 28, 2014 @ 12:57am 
thanks dude! It really helped.
Mr.Snakes Nov 27, 2014 @ 1:51pm 
thanks bro working on making my own server right now
Bing Soy (low sodium)(Real) Jul 19, 2014 @ 5:22pm 
k thanks
Jackson Yeo  [author] Jul 18, 2014 @ 7:33am 
Start.bat is a document in your server folder whr you can execute it and it starts your server
Bing Soy (low sodium)(Real) Jul 17, 2014 @ 3:43pm 
ur guide is helpful and i got all of it but what is a Start.bat/shortcut thanks