diff --git a/README.md b/README.md index 2e32040..a2e0f3c 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ The following games are deployed: * Hypersomnia * Lix * Mindustry -* Minetest (Blockbomber mod) +* Minetest (Blockbomber and Capture the Flag mods) * Odamex * OpenHV * OpenSpades @@ -26,6 +26,7 @@ The following games are deployed: * Teeworlds (optionally as DDrace) * UFO: Alien Invasion * Unvanquished +* Wasted * Xonotic (optionally as Battle Royale) It is based on https://git.libregaming.org/c/onFOSS-LAN-Serverconfiguration @@ -62,6 +63,24 @@ The webpage will display "OFFLINE" and not attempt to show the server stats. The password for the admin panel as well as for game servers that support admin password is stored in `/etc/gameserverpassword`. The username for the admin panel is just `onfoss`. +## Conflicting games + +Wasted is a mod of SuperTuxKart and use much of the same infrastructure, including the ports. Only one can run at the same time, but they are implemented as conflicting SystemD units so if you start one, it will automatically stop the other first. SuperTuxKart is the default. If you want Wasted instead, start it using +``` +systemctl start wasted +``` + +Xonotic and Xonotic Battle Royale also have conflicting SystemD units. By default, it will run plain Xonotic, but if you want the Battle Royale version, run +``` +systemctl start xonotic-br +``` + +Minetest has two mods, but only one can run at the same time. The default is Blockbomber. To change to Capture the flag, edit `/etc/systemd/system/minetest.service` and change `blockbomber` to `capturetheflag`. Then delete `~onfoss/.minetest/worlds`. Then: +``` +systemctl daemon-reload +systemctl restart minetest +``` + ## Website The website is generated using Jekyll which uses a \_config.yml that is generated by the deploy script. You can apply your own custom colour palette by adding a new theme in website/\_sass. Name your new theme as HOSTEDBYNAME.scss and then edit website/assets/css/main.scss to add your theme to the available_themes.