Garry's Mod Workshop Addons
Creating a Workshop Collection
- Go to the Steam Workshop
- Create a new collection
- Add all the desired addons
- Copy the Collection ID
Loading the Collection on the Server
In the server startup command:
+host_workshop_collection <collection_id>
-authkey <steam_web_api_key>
Steam Web API Key
Required for Workshop downloads:
- Go to steamcommunity.com/dev/apikey
- Generate a key
- Add it as
-authkeyin the startup command
Automatic Addon Downloads for Players
So players automatically download addons, add the following to lua/autorun/server/workshop.lua:
resource.AddWorkshop("workshop_id_1")
resource.AddWorkshop("workshop_id_2")
resource.AddWorkshop("workshop_id_3")
Popular Addon Categories
| Category | Examples |
|---|---|
| Maps | ttt_minecraft, ph_office |
| Weapons | M9K Weapons, TFA Base |
| Playermodels | PM + Playermodel Selector |
| Tools | Wiremod, Precision Tool |
| HUDs | DarkRP HUD, TTT HUD |
Troubleshooting
- Addon won't load: Check the Steam Web API key
- Missing textures: Install the CSS content pack
- Slow downloads: Trim the collection to essentials only