If you can understand one, you can understand the other. gamemodes/mygamemode/content/materials/mymaterials/mymaterial123.vtfĬontent works similar to that of the addon format.However, if you wish to use custom content in your Gamemode, you can under your gamemodes directory add a content folder, and then replicate materials / models under that. You do not actually need to upload any gamemode files whatsoever to Fast Download. Hopefully from the above examples you get the idea. addons/myaddon/sound/policesounds/police1.wav => sound/policesounds/police1.wav.addons/myaddon/models/mymodel.mdl => models/mymodel.mdl on the webserver.addons/myaddon/materials/mymaterial.vtf => materials/mymaterial.vtf on the webserver.You can keep the addon normally on the game server, but on the webserver the extraction must occur. So to use the models / materials / sounds, you must extract them from the /addons folder, and into the correct folders on the webserver. The Addons folder is "emulated" if you like in game to be the garrysmod folder, which is how the content is used and sent. Addonsįor some, this can be slightly complex to understand. If you are using sv_downloadurl, you must upload the maps to the server otherwise clients will be unable to play on the server unless they already own the map.
#HOW TO DOWNLOAD ADDONS FOR GMOD SERVERS FAST DOWNLOAD#
There are even tricks to help them download faster, however that will be discussed further on. The advantage of this is that instead of downloading the map at 20kb/s, the client will download it at their average internet speed. Maps will automatically be downloaded from the server if the file is placed on the Web Server. It is important that the cache file is on the Fast Download server for without it the client will not see the gamemode correctly and will be given a warning about the server cache being misconfigured. This file(s) is autogenerated by your server each time it starts. What exactly is needed for a server to function with sv_downloadurl? The Cacheįound under garrysmod/cache/ the cache file contains ' all clientside data that the client has to know. The following content will not automatically be sent: Using resource.AddFile this can be forced and the files sent. Often there is content that a server owner will want clients to have however source does not automatically force these to be downloaded. There is some content which source will automatically attempt to send to the client. Note: the names of both the files and folders are case sensitive Content that is automatically downloaded cache This is the most important one, explanation below.However, it can only mirror certain folders for it to function. It's now on to configuring the Webspace and preparing it to be used.įast Download works by mirroring your "garrysmod/" folder. The first part of Fast Download has been set up. In that, add the following lines below:Īnd there you have it. In your garrysmod/cfg folder, you'll have a file called server.cfg. Setting up the initial configuration for Fastdownload is easy enough. To find a webhost use or a similar search engine. It is suggested that you have at least 1GB of space on the server, and at least 20GB of Bandwidth for a small server. Webspace is required for a place to store the files so the client can download them. If you have a dedicated game server, you will most likely have the resources to make a fast download server. So to get content to clients faster, we use Fast Download which allows the client to download at standard http speeds.įast Download has some basic requirements. By default the download limit is capped in Garrysmod at 20kb/s. What exactly is Fast Download or sv_downloadurl?įast Download (also know as sv_downloadurl) is a practice used to get content from the server to the client faster. 8.4 People have to download files every time they join!.8.3 I see red error models / purple and black textures!.5 What exactly is needed for a server to function with sv_downloadurl?.4.2 Content that must be manually added.4.1 Content that is automatically downloaded.4 So how does Fast Download work exactly?.1 What exactly is Fast Download or sv_downloadurl?.