Hi, if you wanna host a server, welcome! Here is the instructions to give players the best experience! Configuration sample files, map rotation example, bot management, bug fixes, everything to make your server a first class server!
This guide assumes you run Linux, if you run Windows or macOS, replace “${HOME}/.local/share/unvanquished” by “%HOMEPATH%\Documents\My Games\Unvanquished” on Windows and “${HOME}/Library/Application Support/Unvanquished” on macOS. Also on Windows you would have to replace “./daemonded” by “daemonded.exe” in command lines.
So, get to that folder in our repository, and download everything from “config” and “game” and store those files in a way you get the folders stored this way:
Code: Select all
${HOME}/.local/share/unvanquished/config
${HOME}/.local/share/unvanquished/game
One thing to do: edit the “game/maprotation.cfg” file and delete the three lines about the thunder map, they wont work on the released 0.51 version of the game and this will entirely invalidate the map rotation. Also, the thunder map is not really fun to play when there is no many players, so, better remove it from map rotation until the 0.52 release is out and you may still decide to host it when there a certain amount of players is reached are working again (it's still available through “callvote” anyway).
Once this is done, you can just run:
Code: Select all
./daemonded +exec server.cfg
And your server is alive!
Note that if you used the Unvanquished updater to install the game, the “daemonded” binary is stored in “${HOME}/.local/share/unvanquished/base”.
But, it would be really really cool if you can host some backport so players don't get some nasty bugs we fixed since 0.51 release when playing on your server (bye bye the bsuit painsaw shark), also player will get properly scaled UI (welcome 4K screens)!
To do it, enable download in your “server.cfg” file. Better is to use an HTTP server, if you don't know how to host one, you can use mine.
If you know how to host a web server, I guess you'll figure out how to modify your “server.cfg” file to tell players to use your own HTTP server. Note that if you host a web server to serve dpk files, you have to put a file named “PAKSERVER” containing the “ALLOW_UNRESTRICTED_DOWNLOAD” string at the root directory of your dpk files (basically, in “pkg/ directory).
So, what you have to do is to download the backport file here.
You store the backport file in “${HOME}/.local/share/unvanquished/pkg” folder.
Then you edit your “server.cfg” file this way:
Code: Select all
set sv_allowDownload "1"
set sv_dl_maxRate "1000"
set sv_wwwBaseURL "gg.illwieckz.net/dl/unvanquished/pkg"
set sv_wwwDlDisconnected "0"
set sv_wwwDownload "1"
set sv_wwwFallbackURL "dl.unvanquished.net/pkg"
Also please edit the “server.cfg” file to add this at the end of your server name: “ 9backport*”, so people knows your server is hosting some backports!
Then, you run the server this way:
Code: Select all
./daemonded -set fs_extrapaks backports +exec server.cfg
That's all folks!