---
title: "Force Downloading of Addons on your Garry's Mod Server"
description: "Learn how to setup your Garry's Mod server so that players who join will force download Steam Workhop addons."
source: "https://nodecraft.com/support/games/gmod/force-downloading-of-addons-on-your-garrys-mod-server"
image: "https://dynamic-assets.nodecraft.com/signedurl/w7vokBAexMnVlnMZ1Q/image.jpg?modifications=W3sibmFtZSI6ImdhbWVfYmciLCJpbWFnZV91cmwiOiJodHRwczovL2Ntcy1hLm5vZGVjcmFmdC5jb20vZi8xMzM5MzIvMjAwMHg1NTAvMTUwNTBiZWQ5OC9nbW9kLWxhbmRpbmctYmFubmVyLTEtMi0wLnBuZy9tLyJ9LHsibmFtZSI6ImdhbWVfbG9nbyIsImltYWdlX3VybCI6Imh0dHBzOi8vY21zLWEubm9kZWNyYWZ0LmNvbS9mLzEzMzkzMi8zNzV4MTUwL2YzMDc4YjljM2UvbG9nby5wbmcvbS8ifSx7Im5hbWUiOiJjdGFfdGV4dCIsInRleHQiOiJDcmVhdGUgeW91ciBvd24gc2VydmVyISJ9LHsibmFtZSI6InRleHQiLCJ0ZXh0IjoiRm9yY2UgRG93bmxvYWRpbmcgb2YgQWRkb25zIG9uIHlvdXIgR2FycnkncyBNb2QgU2VydmVyIn1d&s=40140da4e9b51c65d8fc767a14dd49cc15dd4ae7732bfb949e067fa404f97037"
published: "2018-11-11T22:44:16.402Z"
updated: "2019-04-18T17:34:00.000Z"
---

# Force Downloading of Addons on your Garry's Mod Server

Learn how to setup your Garry's Mod server so that players who join will force download Steam Workhop addons.

This guide will show how to setup your Garry's Mod server so that players who join will automatically start downloading the same Steam Workhop addons that you have added to your Workshop Collection on the server.

## 1.  Go to the Lua/Autorun Folder on your Gmod Server:

Open the `garrysmod` Folder,

Then open the `lua` folder,

Then open the `autorun` folder

![Garrys_Mod_ForceDownload_lua_autorun](https://s3-assets.nodecraft.com/attachments/jIPYRLjjReSkxUPl5Pz7_Garrys_Mod_ForceDownload_lua_autorun.PNG)

## 2.  Find or Create a `server` Folder:

Inside the `garrysmod/lua/autorun` folder, look for a folder labelled `server`.

If you don't see this folder, you will need to create it by clicking the `create folder` button, and enter `server` as the name of the folder.

Open the `server` folder

## 3.  Create `workshop.lua` File inside the`"server"` Folder:

Once you are in the `server` folder, Use the `create file` button in the file manager view to open up a text editor.

![Garrys_Mod_ForceDownload_create_file_circled](https://s3-assets.nodecraft.com/attachments/DsmkaufnT0CCkwkQfUfK_Garrys_Mod_ForceDownload_create_file_circled.png)

![Garrys_Mod_ForceDownload_name_file1](https://s3-assets.nodecraft.com/attachments/PMjF5fSeubjrZVjQGzCg_Garrys_Mod_ForceDownload_name_file1.PNG)

Click on the grey text `eg.my-file-name.txt`, and replace it with `workshop.lua`

![Garrys_Mod_ForceDownload_name_file2](https://s3-assets.nodecraft.com/attachments/6gaQ9AraSz6PswCnMroW_Garrys_Mod_ForceDownload_name_file2.PNG)

In the lower window, on line 1, place the following line

```
resource.AddWorkshop( ID Number )
```

in between the parenthesis, you need to place the Steam Workshop ID number for each individual addon in your Steam Workshop Collection.

Each separate addon requires it's own line.  Just keep adding extra lines below the first.

> Only the individual ID numbers for the addons will work here, you cannot place a entire Steam Workshop Collection

## 4.  Save the `workshop.lua` File:

When you're finished, click the `save` button.

If everything has been done correctly, any players who connect to the Garry's Mod Server will start downloading the same addons you listed in the `workshop.lua` file.

Please be aware that if you have a very large collection, the players will have to finish downloading them all before they can finish connecting to the server.
