server.cfg sv_download convar tutorial
dr.N0
13th December 2021, 12:31am
After having issues tinkering around with the server.cfg sv_download convar i decided to cover some important natures of it here.

This guide is for Windows only maybe im not sure how linux steam stuff works so i dont know if linux base behaves the same.


1) OPEN server.cfg to edit.
2) Next ADD the sv_allowupload and sv_allowdownload convars with a space and integer 1 for enabling.
i added them below sv_lan 0 and bot_quota AND THEY MUST BOTH be ABOVE the sv_downloadurl convar.

sv_allowupload 1
sv_allowdownload 1

3) After adding the sv_allow convars add right after the sv_downloadurl

sv_downloadurl "http://website.com/game/"
i have ONLY included the URL and a FOLLOWING abreviated game director JUST LIKE STEAMS director ex. /css/ /dod/ /tf2/ /dab/
to represent Counter Strike Source - Day of Defeat - Team Fortress 2 etc..

4) NOW the server.cfg should look similar to this

sv_lan 0
bot_quota 1

sv_allowupload 1
sv_allowdownload 1
sv_downloadurl "http://website.com/dab/"

sv_allow_votes 1
exec banned_ip.cfg
exec banned_user.cfg
exec server_custom.cfg
heartbeat


5) SETTING UP THE URL
Its good to make sure the webhost your using ALLOWS the active connections from users in the game TO DOWNLOAD the maps or content FROM the webhost. FREE webhosts MAY NOT ALLOW THIS (in most cases probably not)
now say your host is http://notafreehost.com/
You WOULD WANT to make a first directory THE SAME AS THE STEAM GAME DIRECTORY FOR THE GAME YOUR HOSTING HOLDINGS ITS CUSTOM CONTENT TO DOWNLOAD
SO for custom content for Counter Strike Source you would want
http://notafreehost.com/css/maps/custommap.bsp.bz2
You would want the /CSS/ directory then a /maps/ directory just like in the steam directories
in the maps folder YOU HAVE TO HAVE ALL CONTENT INDIVIDUALLY ARCHIVED AS .bzip2s.
The software Peazip is EXCELLENT for this tasking.
so in the maps folder you would want custommap.bsp.bz2 and custommap.nav.bz2 the map and nav for the bots.

NOTES -_____
Maps are archived as .bz2 archives individually.
NOTICE the sv_downloadurl "links only to the .com/game/" folder
and NOTICE that the webhost hosting the files has both the /game/maps/ folder
both allow sv_s MUST be above the downloadurl sv
IM NOT SURE but it MAY be important to have the http:// as well within the " " the " " should cancel out the vars being commented by accident but you could try with and without the http:// sometimes you gotta experiment but these things worked for me on double action boogaloo.
INFO-SECTION -___________
TUTORIAL END