How To Install Addons on Your Garry's Mod Server

Learn how to install Steam Workshop addons on your Garry's Mod dedicated server.

Garry's Mod supports Steam Workshop addons for adding maps, weapons, player models, tools, and game mode content. Here is how to install them.

Using a Workshop Collection

The recommended way to install addons is through a Steam Workshop collection.

Create a Workshop Collection

Go to the Steam Workshop for Garry's Mod and click Browse > Collections > Create Collection. Add all the addons you want on your server to this collection.

Get the Collection ID

Once your collection is published, copy the collection ID from the URL. It is the number at the end of the URL (e.g., https://steamcommunity.com/sharedfiles/filedetails/?id=123456789).

Open the Startup Page

Log in to the XGamingServer Panel and select your Garry's Mod server. In the sidebar, click Startup.

Enter the Collection ID

Find the Workshop Collection ID field and enter your collection ID.

Restart Your Server

Go to Console and restart your server. The addons will download automatically during startup.

Adding Individual Addons

If you prefer to add addons individually:

Find the Addon ID

Find the addon on the Steam Workshop and copy the Workshop ID from the URL.

Open Files

In the sidebar, click Files. Navigate to garrysmod/lua/autorun/server/ and create or edit a file called workshop.lua.

Add the Workshop Download

Add a line for each addon:

resource.AddWorkshop("123456789")
resource.AddWorkshop("987654321")

Save and Restart

Save the file and restart your server.

📝 Note: Workshop addons are downloaded to the server automatically. Players connecting to the server will also download the addons when they join.

💡 Tip: For game modes like DarkRP, TTT, or PropHunt, you will likely also need specific addons and configurations for that game mode. Check the game mode's documentation for required addons.

⚠️ Warning: Too many large addons can significantly increase download times for players joining your server. Use FastDL to improve download speeds.

How is this guide?

40% Off — Limited TimeGet your Garrys Mod server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page