Garry's Mod

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 日 下午 6:55 
wut is an addon folder ;c
GNUGradyn 2017 年 4 月 2 日 下午 10: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 日 下午 10:12 
SAO.... Nice
Mr. Lightside  [作者] 2016 年 8 月 10 日 下午 5: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