# Setting Up FastDL for Garry's Mod (/docs/garrys-mod/fastdl)



import { Step, Steps } from 'fumadocs-ui/components/steps';

XGamingServer offers FastDL for your Garry's Mod server so players can download custom files such as maps, models, materials, and sounds quickly. Everything is automatic and there is no extra configuration required other than uploading your custom content.

How Does FastDL Work? [#how-does-fastdl-work]

While everything is automatic, there are some things you should know about the FastDL system:

* Files are synced (and compressed) to `/fastdl/` when you start your server.
* `sv_downloadurl` is automatically updated or added to your `server.cfg`.
* Files only get served to players after everything is compressed.
* You can view all the files online by checking your FastDL URL directly. Get it by typing `sv_downloadurl` into your console.

Here is a list of folders and file types that are synced:

| Folder    | Extensions             |
| --------- | ---------------------- |
| maps      | .bsp, .nav, .res, .txt |
| materials | .vmt, .vtf             |
| models    | .mdl, .vtx, .vvd, .phy |
| resource  | .txt, .res             |
| sound     | .mp3, .wav             |
| lua       | .lua                   |

If what you require is not listed, please join our [Discord](https://discord.xgamingserver.com) and we will add it.

Using A Third Party FastDL [#using-a-third-party-fastdl]

If you want to use an external FastDL, you can do so by adding another config that runs after `server.cfg`.

<div className="fd-steps">
  <div className="fd-step">
    Create a FastDL Config [#1-create-a-fastdl-config]

    Create a `fastdl.cfg` in `garrysmod/cfg/` where your `server.cfg` is located.
  </div>

  <div className="fd-step">
    Add Your FastDL URL [#2-add-your-fastdl-url]

    Add the line `sv_downloadurl "www.myfastdlurl.com"` to the file.
  </div>

  <div className="fd-step">
    Execute the Config [#3-execute-the-config]

    Go back to your `server.cfg` and add the line `exec fastdl` to the bottom of the file.
  </div>

  <div className="fd-step">
    Restart Your Server [#4-restart-your-server]

    Restart your server to apply the changes.

    > 💡 **Tip:** FastDL is especially important for Garry's Mod servers that use many Workshop addons, as it significantly reduces the time players spend downloading content when joining.
  </div>
</div>
