QuakeJS: Difference between revisions
Appearance
m clarification of client/server |
Copyedit, add note that it's not actually available |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Note|This package is currently a draft (see [https://github.com/NixOS/nixpkgs/pull/338177 pull request]) and is not available yet}} | |||
[http://www.quakejs.com/ QuakeJS] is a browser-based port of '''Quake III Arena''', enabling players to enjoy the classic shooter directly in their web browsers. It uses WebAssembly and WebGL to deliver the original gameplay experience without additional software. | [http://www.quakejs.com/ QuakeJS] is a browser-based port of '''Quake III Arena''', enabling players to enjoy the classic shooter directly in their web browsers. It uses WebAssembly and WebGL to deliver the original gameplay experience without additional software. | ||
== Run the game== | == Run the game== | ||
The game can be | |||
The game can be ran by opening it in a web browser and accepting persistent storage of the game files. | |||
== Setup of a dedicated server== | == Setup of a dedicated server== | ||
Following example configuration will enable QuakeJS for the domain<code><nowiki>http://quakejs.example.org</nowiki></code>: | |||
Following example configuration will enable QuakeJS for the domain<code><nowiki>http://quakejs.example.org</nowiki></code>: | |||
<syntaxhighlight lang="nix"> | |||
services.quakejs = { | services.quakejs = { | ||
enable = true; | enable = true; | ||
| Line 12: | Line 19: | ||
dedicated-server.enable = true; | dedicated-server.enable = true; | ||
}; | }; | ||
</syntaxhighlight>Join your own dedicated server using the | </syntaxhighlight> | ||
Join your own dedicated server using the URL <code><nowiki>http://quakejs.example.org/play?connect%20192.0.2.0:27960</nowiki></code>, where <code>192.0.2.0</code> is the public IP of your dedicated server. | |||
[[Category:Applications]] | [[Category:Applications]] | ||
[[Category:Gaming]] | [[Category:Gaming]] | ||
[[Category:Server]] | |||
Latest revision as of 03:22, 27 September 2026
Note: This package is currently a draft (see pull request) and is not available yet
QuakeJS is a browser-based port of Quake III Arena, enabling players to enjoy the classic shooter directly in their web browsers. It uses WebAssembly and WebGL to deliver the original gameplay experience without additional software.
Run the game
The game can be ran by opening it in a web browser and accepting persistent storage of the game files.
Setup of a dedicated server
Following example configuration will enable QuakeJS for the domainhttp://quakejs.example.org:
services.quakejs = {
enable = true;
hostname = "quakejs.example.org";
eula = true;
openFirewall = true;
dedicated-server.enable = true;
};
Join your own dedicated server using the URL http://quakejs.example.org/play?connect%20192.0.2.0:27960, where 192.0.2.0 is the public IP of your dedicated server.