#server #info #udp-server #source-engine #masterserver

app phantasma

Reimplementation of Valve's masterserver

1 unstable release

0.1.0 May 8, 2024

#319 in Network programming

45 downloads per month

GPL-3.0 license

59KB
1.5K SLoC

Phantasma

Phantasma is an alternative masterserver for Source-based games. It's designed to be easy to host to yourself.

Features

  • Easy to host
  • Configurable
  • Lightweight

Usage

See docs/usage.md.

API

Phantasma implements the Vavle's Master Server Query Protocol, documented here on developer.valvesoftware.com.

Building

Install build dependencies. Rust 1.70 or later is required:

sudo apt install cargo rust    # Debian
sudo dnf install cargo rust    # Fedora
sudo pacman -S cargo rust      # Arch Linux

Then build the program with:

cargo build

Run the tests with:

cargo test

License

GPLv3

Credits

xash3d-master

Dependencies

~0.8–7MB
~41K SLoC