How to Set Up GMod Workshop Downloads for Players

Use resource.AddWorkshop for GMod player downloads. Tell addon IDs apart from collection IDs and check that custom models, sounds and textures arrive.

resource.AddWorkshop asks joining players to download an addon’s content. It does not install the addon on the server.

Find the addon IDs

Copy the number after id= from each content addon’s Workshop URL. Use individual addon IDs, not the collection ID. Lua files use a different download system.

Edit workshop.lua

  1. Open Files > garrysmod/lua/autorun/server/workshop.lua. Use New file in that folder if it is missing.
  2. Keep existing download entries. Add resource.AddWorkshop("ADDON_ID") for each content addon, replacing ADDON_ID with its numeric ID.
  3. If the file only contains resource.AddWorkshop(""), replace that empty example line.
  4. Save and restart. Check Console for Lua syntax errors.
Use New file if workshop.lua is missing from the server autorun folder.

Test player downloads

Join and check custom models, sounds and textures. Workshop maps and supported Workshop gamemodes can already add downloads automatically. Add the other content players need.

If content is missing, check the ID, addon visibility, required items and both server and player console errors.

For server installation, see adding a Workshop collection. For other causes, see missing textures and ERROR models. View GMod server hosting.

Official reference: Facepunch’s resource.AddWorkshop reference, serving content to players, the GMod egg’s workshop.lua default.

Was this article helpful?

Your feedback helps us improve our guides.

Written by Konnect HostingUpdated Compare Garry's Mod server hosting plans →
NEED MORE HELP?

Talk with the Konnect community

Get support from staff and other server owners.

Join our Discord