How to Download Server Files Faster on GMOD

By Kirk Bennet

Updated September 22, 2017

Items you will need

  • Web host

  • FTP client

Server files can be downloaded faster by using the fast download method.
i Digital Vision./Digital Vision/Getty Images

If you have a Garry's Mod, or GMod, server, you probably have problems with sending resources from the server to your clients. Your server has dozens of custom-made maps, sounds, textures and models and each one must be sent to the client. By default, the download limit in GMod is capped at 20 Kbps. To work around this issue, you must use the fast download (sv_downloadurl) feature. The fast download method allows the client to download your resources at HTTP speed.

Restart the GMod server to update the cache, which contains all client-side data that the client has to know. Stop the server.

Start the FTP client and connect to your Web host. Use the authentication provided by the Web host to log in. Upload the entire "garrysmod" folder from your server to your Web host's root. Delete everything from the host except the Materials, Models, Maps, Sounds, Resources, Particles and Addons folders. This method helps you maintain the folder structure.

Go to the "garrysmod/cfg" folder on your server and locate the "server.cfg" file. This is the main server configuration file used by GMod. Open the config in any text editor and add these lines at the bottom of the file:

sv_downloadurl "http://www.MyHost.com/garrysmod/" sv_allowupload "0" sv_allowdownload "0"

Replace "www.MyHost.com" with the exact URL of the website containing your garrysmod folder.

Save the "server.cfg" file and close it. Close the FTP client. Start the server. The "sv_allowupload" and "sv_allowdownload" settings are now forcing your clients to download resources from the Web host at HTTP speed.

Tips

Update the Web host whenever you add additional resources to your server.

×