How to setup automatic workshop downloads on a Garry's Mod server


Summary
Garry's Mod servers can send workshop file downloads directly to users' clients as they connect. This vastly simplifies the process of installing server-specific mods for individual players. In addition, by setting up automatic server downloads, the server will be much more friendly to newer players unaware of any required files. Despite auto-downloading, however, some textures still may be missing when loading into the game; in this case, simply install any required files manually to ensure no errors take place.


How to Setup Automatic Workshop Downloads on a Garry's Mod Server
1. Log in to the BisectHosting Games panel.

2. Stop the server.


3. Go to the Files tab.


4. Find the following directory: /home/container/garrysmod/lua/autorun/server .


5. Open the workshop.lua file.


6. In a new line, enter the following: resource.AddWorkshop("<WorkshopID>") With the desired workshop IDs.


7. Once finished editing, choose the Save Content button.


8. Start the server. Users will automatically download the designated workshop files when joining the server.



Was this answer helpful?

0
« Back