QuakeWorld is a multiplayer-only version of Quake with optimized network code. id Software released the source code for Quake/QuakeWorld in 1999, spawning a number of projects set out to improve, optimize and add more features to the code and make it more secure. QuakeForge is quite well-developed on the client side, but mvdsv (part of the qwextended project) seems to be the most popular server in the QW community. It's famous for its ability to record demos from each player's POV (Point of View) and store them for retrieval by the players.
Here are the minimum system requirements for the QW (QuakeWorld) server. Remember that the requirements vary depending on the number of clients.
Pentium 90 or better
16 MB RAM
The *.pak files from the Quake CD-ROM
Kernel 2.0.24 or later
Enough free space on your HDD (depends on what you want to install; at least 40-70 MB)
id Software's old qwsv is quite dated and should not be used (nor can it be used in most cases, since it's built for the ancient libc5). So, use either mvdsv or QuakeForge.
Note: Both mvdsv QuakeForge are actively being developed (more or less), and it's highly possible that newer versions than the ones linked below have been released, so check http://qwex.does.it/ or http://quakeforge.net/files.php before you proceed further.
Create a directory for the QW server in your home directory:
$ mkdir quake
If you downloaded the mvdsv source:
$ tar zxvf qwex_src-0.165b.tar.gz $ cd mvdsrc $ make build_sv $ cp releasei386-glibc/mvdsv ../quake
If you downloaded the mvdsv binary:
$ gunzip mvdsv.0.165b.linux.glibc2.1.3.gz $ mv mvdsv.0.165b.linux.glibc2.1.3 mvdsv $ chmod +x mvdsv $ mv mvdsv quake/
If you downloaded the QuakeForge source:
$ tar zxvf quakeforge-0.2.99beta6.tar.gz $ cd quakeforge-0.2.99beta6 $ ./configure --prefix=$HOME/quake --bindir=$HOME/quake; make; make install
This will at least build qf-server, nq-server (RealQuake) and some client binaries. We don't need the latter; you can choose not to compile them, or simply remove them later. Anyway, if the compilation went fine you should now have a binary called qf-server in $HOME/quake, where $HOME is your home directory (usually /home/user).
You might want to rename mdsv or qw-server to qwsv, since that's what I'll call it in the rest of this document. Now create the directory id1 in the quake directory and copy the pak0.pak and pak1.pak files from your Quake CD or wherever you have them into that directory:
$ cd ~/quake $ mkdir id1 $ cp /some/where/id1/pak*.pak id1
You also need the qw files:
Unzip it in your quake directory:
$ cd ~/quake $ unzip qwsv230.zip
Now you're ready to run qwsv. Start it by running ./qwsv in the quake directory. It should work fine (if not, make sure all the filenames are in lower-case). Try connecting to your server with a client.
Now it's time to configure your QW server. Make a server.cfg file in the id1 directory containing the following:
sv_gamedir qw deathmatch 1 hostname "QW testserver" serverinfo admin "email@example.com" serverinfo url "http://url.net" rcon_password xxxx timelimit 35 fraglimit 150 noexit 1 pausable 0 samelevel 2 maxclients 16 map dm3 floodprot 4 8 30 floodprotmsg "You have activated the flood protection and will be silenced for 30 seconds" maxspectators 2 allow_dowload 1 allow_download_skins 1 allow_download_models 1 allow_download_sounds 1 allow_download_maps 1
As you can see the server.cfg file contains all kinds of variables the server uses.
-master IP-address - Command line parameter. Connects to the specified master server. QWSV starts in masterless mode by default.
-port - Specifies which port the server will listen to, default is 27500.
gamedir - Which game directory you want to use. Change it if you want to run a mod. The QW directory is used by default.
deathmatch - Can be set to 1, 2 or 3. 1 = Normal deathmatch; Weapons/items can be picked up and respawned (30 sec respawn time). 2 = Weapon stay. You can only pick up a weapon once, ammo & armor doesn't respawn. 3 = Combination between 1 and 2. You can only pick up a weapon once, ammo respawns after 15 seconds, everything else respawns normally.
hostname - Servername.
serverinfo admin - The admin's e-mail address.
serverinfo url - Server URL.
timelimit - Match ends when timelimit (specified in minutes) is reached.
fraglimit - Match ends when fraglimit is reached.
maxclients - Max number of players.
map mapname - Map that will be played.
maxspectators - Max number of spectators.
password - Password protect the server. Clients must set a matching password to be able to connect.
rcon_password - Password used for remote administration.
allow_download - Set this to 1 to allow clients to download files they don't have from the server.
$ ./qwsv > /dev/null &
The above command runs the qwsv server in the background and sends the output to /dev/null (if you want to log the output, just replace /dev/null with /blah/qw.log or whatever). -port specifies the port the server will use; QW's default is 27500. For a complete list of commands and the official QW manual, see QuakeWorld.net. For a list of special commands that can be used with mvdsv, see the qwex readme.
Capture The Flag, or CTF for short, is - or was, at least - the most popular Quake modification. There are many different CTF variants. Threewave CTF is the original and most popular CTF modification for QW. You need the following files:
ftp://ftp.sunet.se/planetquake/threewave/ctf/server/3wave42.zip - All the server files.
ftp://ftp.sunet.se/planetquake/threewave/ctf/server/3wave421.zip - Some bugs fixed (4.2 is required).
ftp://ftp.sunet.se/planetquake/threewave/ctf/client/3wctfc.zip - All the CTF maps.
Create a ctf directory and extract all the files you downloaded to it:
$ cd ~/quake $ mkdir ctf $ unzip 3wave42.zip -d ctf $ unzip 3wave421.zip -d ctf $ unzip 3wctfc.zip -d ctf
Now try to start the server (if you don't specify a map it'll default to an interesting modified version of Quake's start level):
$ ./qwsv +gamedir ctf +map ctf1
For more information, read ctf/server.txt.
Kombat Teams is a very popular mod that's been around for a long time. Most QW servers run it. KTeams greatly simplifies all forms of DM games by supplying commands to set teams, timer, readiness and much more.
Download the following:
Extract it in your quake directory:
$ tar zxvf ktpro.1.57.tar.gz
Start the server:
$ ./qwsv +gamedir ktprosrv
Default is a 1on1 server. To start a 2on2 server you'd add +exec 2on2.cfg, or +exec 4on4.cfg for a 4on4 server, or +exec free.cfg for a free for all server. KTPro comes with a bunch of scripts which do this; ktpro1on1, ktpron2on2, etc. in the quake directory. Check out all the configuration examples in ktprosrv/ and the documentation in ktpro.doc/.
Rocket Arena is a very exciting modification. It's one-on-one games with the simple rule "winner stays, loser goes". Each player waits for his/her turn to fight in the arena. Every player gets full armor (200), 100 health and all weapons when they enter the arena. The winner stays to fight again, the loser goes back to the line. Simple? Yes. Boring? Not at all!
Now, on to installing this modification. Get the following files:
ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/servers/arena/fasrv12.zip - All the server files.
ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/servers/arena/farena12.zip - The required client files (maps and sounds).
Create a directory called arena in your quake directory and unzip the above files to it:
$ cd quake $ mkdir arena $ unzip ~/fasrv12.zip -d arena $ unzip ~/farena12.zip -d arena
Start the server:
$ ./qwsv +gamedir arena +setmaster 22.214.171.124 +exec rotate.cfg +maxclients 6 +timelimit 20 +fraglimit 15
For the map rotation you can choose one of the following (of course you can edit these or make your own, remember that the last map must loop to the first):
rotate.cfg - All the Final Arena maps.
newmaps.cfg - The new Final Arena and the TF arena maps.
classic.cfg - The most popular older Arena maps.