Basic script that should assist those running servers from source engine games to allow users to download the custom content on the server. Essentially, it will setup and run a fastdl server, handling map compression and what directories it will serve on its own.
DO NOTE THAT YOU MUST RUN THIS SCRIPT EVERYTIME YOU RUN YOUR SERVER
- Port forwarding
- Python's requests library
pip install requests
- Place the script file on your server's map directory
- Make sure whatever port the server is running on is forwarded
- After running the script, you should get the host address and port that the files are being served on, make sure your server's cfg has the sv_downloadurl cvar set correctly to that value
- (optional) If you did not previously have the sv_downloadurl cvar set on your server's cfg, restart your server