mirror of
https://github.com/alterware/master-server.git
synced 2025-07-02 09:11:51 +00:00
531e1d913d5694c6d7ecbe7f8cecab293d927a5c
e823b0c
to 839ae9e
Bumps [deps/libtommath](https://github.com/libtom/libtommath) from `e823b0c` to `839ae9e`.
- [Release notes](https://github.com/libtom/libtommath/releases)
- [Commits](e823b0c34c...839ae9ea66
)
---
updated-dependencies:
- dependency-name: deps/libtommath
dependency-version: 839ae9ea66718705fba2b5773d1bdfb2b457cea4
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
AlterWare: Master Server
This is the master server our clients use. It is based on the DP Master Server (ID Tech) protocol
Usage
Run using Docker
docker run -p 20810:20810/udp -e AW_STATS_LOCATION=<UTF-8 C-string> alterware/master-server:latest
or run as a systemd service
[Unit]
Description=AlterWare Master Server
After=network.target
[Service]
Type=simple
ExecStart=<working dir>/alterware-master
WorkingDirectory=<working dir>
Environment="AW_STATS_LOCATION=/var/www/<domain name>/html/stats.json"
StandardOutput=null
Restart=on-failure
RestartSec=10
KillMode=process
User=<username>
Group=<group name>
[Install]
WantedBy=multi-user.target
Build
- Install Premake5 and add it to your system PATH
- Clone this repository using Git
- Update the submodules using
git submodule update --init --recursive
- Run Premake with either of these two options
premake5 vs2022
(Windows) orpremake5 gmake2
(Linux/macOS)
IMPORTANT Requirements for Unix systems:
- Compilation: Please use Clang as the preferred compiler
- Dependencies: Ensure the LLVM C++ Standard library is installed
- Alternative compilers: If you opt for a different compiler such as GCC, use the Mold linker
- Customization: Modifications to the Premake5.lua script may be required
- Platform support: Details regarding supported platforms are available in build.yml. Linux ARM64 should be supported out of the box even if it's not present in the CI scripts
Languages
C++
96.6%
Lua
2.9%
Dockerfile
0.5%