

Generate lua - Skip this part if your addon is a map You should see a set of folders that I listed further up in this tutorial and an addons.txt file. Now you should have a legacy addon folder on your desktop, go ahead and open it up. After that click the Extract all button and choose where you want your content to be extracted to, let's say your desktop. Click the addon you want, and then press the Select button. If you can't see your addon in the list there, click Browse and head to your Garry's Mod addons folder and select the addon from there. If the addon is purely lua, close this tutorial as lua is distributed directly to the client through the server.Īfter you've done that, open up GMAD Extractor GUI that you downloaded earlier and click on Open. You can keep the model inside the addons directory on the server though.ĭownload the addon you want from Workshop, both to your server and to your computer.
#Garrys mod server hoster download
If you would have a file inside addons/someaddon/models/model.mdl, the server would tell the player to download models/model.mdl, and that's why you have to upload the model directly to the models directory and NOT into addons/someaddon/models on your FastDL.

And as so, your server doesn't tell your players this when they join. Everything inside of it is "mounted" on your server, as if their files were in the root of your server. Read this block below and you'll understand why:Īs the title says, the addons folder is emulated on your server. No addons folder, no lua folder, no other folder at all! This is where most people makes a mistake, by having their files in an addons folder like they do on their server. Note that this is how your FastDL folder structure should look like. The player will only look for certain file-types in certain folders on the FastDL mirror, which are: This tool generates resource.AddFile() lines for our files. I have modified the batch script to support recursive compression.

#Garrys mod server hoster how to
In this tutorial, I will cover how to properly setup a working FastDL mirror for your game server. How to setup a FastDL mirror for a Garry's Mod Game Server
