1,575
edits
Changes
→Setup a Local QuakeJS Server
#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 "quakejs" seta sv_maxclients 12 seta g_motd "Welcome to the Local baseq3 QuakeJS Server" seta g_quadfactor 3 seta g_gametype 0 seta timelimit 15 seta fraglimit 25 seta g_weaponrespawn 3 seta g_inactivity 3000 seta g_forcerespawn 0 seta rconpassword "quakejs" set d1 "map q3dm7 ; set nextmap vstr d2" set d2 "map q3dm17 ; set nextmap vstr d1" 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 "quakejs" seta sv_maxclients 12 seta g_motd "Welcome to the Local cpma QuakeJS Server" seta g_quadfactor 3 seta g_gametype 0 seta timelimit 15 seta fraglimit 25 seta g_weaponrespawn 3 seta g_inactivity 3000 seta g_forcerespawn 0 seta rconpassword "quakejs" set d1 "map q3dm7 ; set nextmap vstr d2" set d2 "map q3dm17 ; set nextmap vstr d1" vstr d1</pre>Make sure you change the password in '''seta rconpassword'''
#You can test (or run) your server with the following command, but the 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>
==Setup a Local Content Server==