Automatic Download of custom models from Dedicated Server

Dear users,

I am hosting a dedicated server and I’m trying to find a way for players to automatically download my custom models when they join the server.

At the moment, only custom maps are downloaded automatically.

Does anyone know how this can be achieved? I remember that in Counter-Strike there was a plugin that handled this.

Thank you in advance.

@ektorasdj

You can achieve this with FastDL. Though you need a web server. Here’s an example on how to do it.

https://steamcommunity.com/sharedfiles/filedetails/?id=2813943167
https://www.gamehostbros.com/guides/games/half-life-1/fastdl

Dear Skyrider,

Happy New Year!

Thank you very much for your reply.

I have created an Apache web server and structured the folders as follows:

http://myip:8741t/esf/

Inside this directory, I have subfolders such as models, maps, etc.

I added a custom model at:
http://myip : port/esf/models/player/mcx.King Vegeta/mcx.King Vegeta.mdl
along with the rest of the required files (sounds, etc.).

On the server side, I have configured:

sv_allowdownload 1
sv_allowupload 1
sv_downloadurl " http://myip :8741/esf/"
sv_pure 0

Unfortunately, the files are not downloaded when a client joins the server.

In the client console output, it appears that the server is correctly recognized:

Using http://myip :8741/esf/ as primary download location

So it seems the client is attempting to use the download URL, but no files are actually being downloaded.

Happy new year to you too!

Can you check the access.log to see any download failures? Are you running Apache on windows by any chance using wamp?

You can also compress the files to .bz2, which leads to even faster download speeds for the client.