Changes

Jump to: navigation, search
Setup a Local QuakeJS Server
#To download BASE3Q files, run the server for the 1st time by executing the following command. Hold down '''enter''' to get through the EULA, agree to the EULA by hitting '''y''' and game files will be downloaded. Once all files have been downloaded (you'll see the line '''ignoring setsockopt command''') quit the server by hitting '''Ctrl+C'''<pre>node build/ioq3ded.js +set fs_game baseq3 +set dedicated 1</pre>
#Optionally run the following command to download additional CPMA files. Again hit '''Ctrl+C''' to quit the server once all files have been downloaded (you'll see the line '''ignoring setsockopt command''') <pre>node build/ioq3ded.js +set fs_game cpma +set dedicated 1</pre>
#Create a baseq3 server config file by running the following command <pre>nano base/baseq3/server.cfg</pre> and fill in the body with the following <pre>seta sv_hostname "quakejsQuakeJS Server"&#10;seta sv_maxclients 12&#10;seta g_motd "Welcome to the Local baseq3 QuakeJS Server"&#10;seta g_quadfactor 3&#10;seta g_gametype 0&#10;seta timelimit 15&#10;seta fraglimit 25&#10;seta g_weaponrespawn 3&#10;seta g_inactivity 3000&#10;seta g_forcerespawn 0&#10;seta rconpassword "quakejs"&#10;set d1 "map q3dm7 ; set nextmap vstr d2"&#10;set d2 "map q3dm17 ; set nextmap vstr d1"&#10;vstr d1</pre>Make sure you change the password in '''seta rconpassword'''#Optionally create a cpma server config file by running the following command <pre>nano base/cpma/server.cfg</pre> and fill in the body with the following <pre>seta sv_hostname "quakejsQuakeJS Server"&#10;seta sv_maxclients 12&#10;seta g_motd "Welcome to the Local cpma QuakeJS Server"&#10;seta g_quadfactor 3&#10;seta g_gametype 0&#10;seta timelimit 15&#10;seta fraglimit 25&#10;seta g_weaponrespawn 3&#10;seta g_inactivity 3000&#10;seta g_forcerespawn 0&#10;seta rconpassword "quakejs"&#10;set d1 "map q3dm7 ; set nextmap vstr d2"&#10;set d2 "map q3dm17 ; set nextmap vstr d1"&#10;vstr d1</pre>Make sure you change the password in '''seta rconpassword'''
#You can test (or run) your server with the following command, but there isn't much point until we setup the Content Server and Play Page. <pre>node build/ioq3ded.js +set fs_game baseq3 set dedicated 1 +exec server.cfg</pre>

Navigation menu