Garry's Mod
59 人が評価
How To Add Addons To Your Gmod Server [English]
作者: Mr. Lightside
A simple/ish way to install addons to your gmod server
   
アワード
お気に入り
お気に入り
お気に入りから削除
Intro
-=[THIS IS OUTDATED CLICK HERE FOR THE NEW VERSION!]=-

Hello today im going to show you, yes you how to add addons to your gmod server!!! This version will be for a dedicated verison. So lets get on with it
Making The Collection
So to start off with your going to need to make a workshop collection of all the addons you want on your server. To do this your going to need to go to the gmod workshop then find the collections tab and at the side you will see a create collection, your going to fill it all in call it what every you want then add all the addons to it. If you see an addon you want to add to it then click the add to collection button and done.
Extracting Addons
To do this your going to have to download gmod extractor (http://www.treesoft.dk/gmod/gmad/). Once its downloaded your going to have to extract it to a folder any where. Then your going to have to open your gmod extractor then press "open" now you just have to find the addon you want to add. Click on it then press "select". Then at the top press "extract all" and find a folder to extract it to. Then you'll want to copy the folder that you extracted your addon in to and put it in your gmod servers "addon" folder.
Adding The Collection To Your Server
Go on the collection page on a web browser and at the end you'll see some numbers copy those to your clipboard Ctrl+C Or Right Click then copy. The example will you an old server pack of mine.

"http://steamproxy.net/sharedfiles/filedetails/?id=404177177"

This is the Workshop Collection ID
Once you have got that keep those numbers some where, we'll come back to that later.

Now you'll want to go to "http://steamproxy.net/dev/apikey" sign in and if it asks you for a domain name put "steamidfinder.com" agree then press Register. You'll Get Your Api Key and you want to copy it to your clipboard and put it some were to come back to.

(!!!Note: DO NOT SHARE YOUR API KEY!!!)
Now you want to get your api key and your workshop id in to a line like this
+host_workshop_collection 404177177 -authkey 5019972F0550FFC7E10E66**********
So after "+host_workshop_collection" you would put your Workshop Collection ID
And After "-authkey" your would put you api key.
I have taken out the last digets of my api key for safety reasons but yours would be compleated.

Now you want to copy your hole line of that open your "start.bat" for you server and put it on the end of line 8. It should look some thing like this.
@echo off cls echo Protecting srcds from crashes... echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter. title srcds.com Watchdog :srcds echo (%time%) srcds started. start /wait srcds.exe -console -game garrysmod +map gm_construct +maxplayers 16 +host_workshop_collection 404177177 -authkey 5019972F0550FFC7E10E66********** echo (%time%) WARNING: srcds closed or crashed, restarting. goto srcds
Save it then close it
Please note that it is on the same line its just steam isn't big enough to put it on one line
Finishing Up
Ok so your done to run your server just click on run.bat and then your away. If you would like to add gamemodes to your server i will make a guide about that soon. Have fun with your new addons
Troubleshooting
(I will add stuff here if people are having problems in the comments)
Contributers
Me : Writting This Thing

69 件のコメント
gwen 2017年10月31日 18時55分 
wut is an addon folder ;c
GNUGradyn 2017年4月2日 22時17分 
Crashes on linux
Mr. Lightside  [作成者] 2016年12月28日 12時46分 
Outdated - Please use this page instead
http://steamproxy.net/sharedfiles/filedetails/?id=742713502
headsplitter 2016年12月28日 11時25分 
Will it automatically install addons that I add to the collection after I do these steps?
banmanma﷽﷽﷽﷽﷽﷽﷽﷽ 2016年10月9日 22時12分 
SAO.... Nice
Mr. Lightside  [作成者] 2016年8月10日 17時31分 
I'm going to be rewritting this guide soon so keep an eye out!
RangerWolfen 2016年7月30日 9時56分 
Guys, make sure your collection is PUBLISHED. If not the server wont download the addons.
(Krito, you should probs add that to the guide)
Mr. Lightside  [作成者] 2016年7月18日 9時18分 
Where are you stuck?
BenCat07 2016年7月18日 9時16分 
PLS HELP KIRITO