KnowledgebaseGarry's Mod

How to Automatically Have Players Download Workshop Addons

How to Automatically Have Players Download Workshop Addons

Garry's Mod
ยท
Nov 9, 2024
ยท
2 min read

When you have added add-ons to your server, you also want to have those automatically downloaded to the players joining. This can be done by providing the IDs of the addons.


#Adding Addon IDs

  1. Access your Control Panel and Stop your server.

  2. Navigate to the Files tab and open the garrysmod/lua/autorun/server/ directory.

  3. Edit the file workshop.lua or create it if it doesn't exist.

  4. In this file you want to add the IDs of the addons you want the clients to download in the following format: resource.AddWorkshop("123456789").

  5. Save the file and restart your server for changes to apply.


If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Join Discord