quakejs
quakejs copied to clipboard
Can anyone give more detailed instruction on how to make a server?
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?
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:
- Download the git repository.
- Do the steps I described in issue #40.
- In the directory run:
git submodule update --init
npm install
- Now create a
server.cfg
file inbase/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
- Run the server with:
node build/ioq3ded.js +set fs_game baseq3 +set dedicated 2 +exec server.cfg
- Connect to your server with url http://www.quakejs.com/play?connect%20localhost:27960.
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.
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
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
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.
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?
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.