So I made a Garry's Mod server for my friend and I, and I got addons and enabled FastDL. The addons worked, but my friend couldn't see the addons in the spawnlist. He looked under browse and addons, but only saw his addons that he has gotten himself. How do I fix this so he can see the addons also?
Garry’s Mod Server – Friend can’t see addon contents in spawn list
garrys-modmods
Best Answer
It seems your FastDL is not set up properly, here is how to do it.
Setting up Workshop downloads for server
Create an auth key http://steamcommunity.com/dev/apikey
Use your server's IP (Without the port)
Create a new text file in the same location as your
SRCDS.exe
in your server files and rename it tostart.bat
then open it up with your favorite notepad (notepad.exe is default with Windows)Paste the following into
start.bat
On line 9 you may change what the default map, maximum players, gamemode, etc. can be
(to change gamemode type
+gamemode NAME
where NAME is the gamemode code name, you can Google what the gamemode code names are, sandbox is default)On line 9 you want to add
-authkey YOUR AUTHKEY HERE
Now you will want to create a collection of all the addons you want your server to have by going to the Create collection page
Follow the on-screen instructions
Once you have finished, Take the URL of the workshop collection (example: http://steamcommunity.com/sharedfiles/filedetails/?id=298302791)
Copy the digits after the
?id=
in the url (example: 298302791)Now go back to the
start.bat
file and on line 9 type+host_workshop_collection COLLECTION ID
Replace
COLLECTION ID
with the digits after?id=
from the URLSetting up Workshop downloads for client
C:\GMOD SERVER FOLDER\garrysmod\lua\autorun\server
workshop.lua
(change the ending of a .txt file to .lua)workshop.lua
with your favorite notepad (notepad.exe is default with Windows)?id=
in the url (example: 370857063)workshop.lua
file and typeresource.AddWorkshop("WORKSHOP ID")
WORKSHOP ID
with the digits after?id=
from the URLExample:
The quotation marks are important