This repository has been archived on 2023-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
DeathByDenim a0ea010299 New script for showing offline state on separate webserver 2022-02-21 09:35:27 -05:00
configs Initial commit 2022-01-31 20:37:32 -05:00
scripts New script for showing offline state on separate webserver 2022-02-21 09:35:27 -05:00
website New script for showing offline state on separate webserver 2022-02-21 09:35:27 -05:00
README.md Specify location of generated password 2022-02-14 19:19:09 -05:00
deploy.sh Don't regenerate password if it already exists 2022-02-21 08:14:03 -05:00
pack_web_offline.sh New script for showing offline state on separate webserver 2022-02-21 09:35:27 -05:00
web.tar.bz2 New script for showing offline state on separate webserver 2022-02-21 09:35:27 -05:00

README.md

Game server

This is a collection of scripts to deploy game servers on Debian 11. All game servers are wrapped in SystemD units and can be controlled by systemctl.

It also comes with a web front end which features the games hosted as well as their respective download link. It also displays server stats and has an admin panel for game servers that have interactive shells.

The following games are deployed:

  • Bzflag
  • Hedgewars
  • Lix
  • Mindustry
  • OpenHV
  • OpenSpades
  • SuperTuxKart
  • Teeworlds
  • Unvanquished
  • Xonotic

It is based on https://git.libregaming.org/c/onFOSS-LAN-Serverconfiguration

Installation

The main script is deploy.sh. You only need to give if your domain name

DOMAINNAME=play.jarno.ca  HOSTEDBYNAME=DeathByDenim ./deploy.sh

This will download all the game servers, install them, configure them, and start them up. It also retrieves a certificate for Let's Encrypt for the web interface.

The password for the admin panel as well as for game servers that support admin password is stored in /etc/gameserverpassword.