quakejs icon indicating copy to clipboard operation
quakejs copied to clipboard

Can anyone give more detailed instruction on how to make a server?

Open TeeHeeLawrence opened this issue 5 years ago • 7 comments

Sorry, not to good with computers here and am confused by the original instructions, can t be done on windows or do I need a linux machine? and from there what do I do?

TeeHeeLawrence avatar Sep 30 '18 21:09 TeeHeeLawrence

All you need to do is writen in README.md file (on the homepage of this project).

What you need:

  • git (obviously)
  • node.js server
  • npm (node package manager)
  • browser

You can use Windows or Linux machine, it shouldn't matter.

The easiest way is to do:

  1. Download the git repository.
  2. Do the steps I described in issue #40.
  3. In the directory run:
git submodule update --init
npm install
  1. Now create a server.cfg file in base/baseq3 with this content:
seta sv_hostname "CHANGE ME"
seta sv_maxclients 12
seta g_motd "CHANGE ME"
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 "CHANGE_ME"
set d1 "map q3dm7 ; set nextmap vstr d2"
set d2 "map q3dm17 ; set nextmap vstr d1"
vstr d1
  1. Run the server with:
node build/ioq3ded.js +set fs_game baseq3 +set dedicated 2 +exec server.cfg
  1. Connect to your server with url http://www.quakejs.com/play?connect%20localhost:27960.

Hologos avatar Nov 23 '18 08:11 Hologos

I've written up a pretty detailed instruction list on how to create a local server (designed to be hosted and accessed on a LAN, not listed on the master server list) here https://steamforge.net/wiki/index.php/How_to_setup_a_local_QuakeJS_server_under_Debian_9 Making it externally accessible is really just a matter of setting up port forwards on your router.

begleysm avatar Jul 09 '19 02:07 begleysm

I recently got a local server running on Windows 10. The instructions are written up here. It currently uses the UwAmp web server as... honestly... IIS10 is a pain in the butt!

https://steamforge.net/wiki/index.php/How_to_setup_a_local_QuakeJS_server_under_Windows_10

begleysm avatar Sep 09 '19 18:09 begleysm

Piggybacking on @begleysm's work here is a Dockerized server: https://github.com/treyyoder/quakejs-docker Super simple and rolls all those steps into a single command

treyyoder avatar Apr 19 '20 22:04 treyyoder

I recently stumbled upon https://github.com/criticalstack/quake-kube and was able to get the game running pretty quickly. If you have a Kubernetes cluster and know how to use it, this is worth a check. Huge props to the Criticalstack dude.

mars64 avatar Aug 06 '20 01:08 mars64

Is this guide valid for adding maps to the docker version?

https://github.com/begleysm/quakejs/blob/master/cctools/README.md

IMO the docker version helps massively making this..ahem...a little bit easier to deploy than a 30 step process but the process of adding extra maps, which I image is something everyone would like to do, still seems fragile and complex.

Anyone had success?

timdonovanuk avatar Oct 01 '21 11:10 timdonovanuk

Is this guide valid for adding maps to the docker version?

https://github.com/begleysm/quakejs/blob/master/cctools/README.md

IMO the docker version helps massively making this..ahem...a little bit easier to deploy than a 30 step process but the process of adding extra maps, which I image is something everyone would like to do, still seems fragile and complex.

Anyone had success?

I've not, personally, setup quakejs using Docker or added custom maps to a quakejs installation. But I think that the guide you linked to should work under a Docker installation (or at least should be 95% the same). Give it a try and report back.

begleysm avatar Oct 01 '21 11:10 begleysm