selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

SourceBans++ logo

Self-host SourceBans++

2.2.3

Admin and ban management for Source engine game servers

ReleaseSource AvailableOther
Updated9 hours ago
LanguagePHP
Setup difficultyModerate
ThemeDark mode
Stars
377
RAM
512 MB
Port
80 (HTTP web panel)
Requires
Metamod: Source, SourceMod
Docker
ghcr.io/sbpp/sourcebans-pp
Install with Docker Compose

What is SourceBans++?

This self-hosted toolkit handles bans and administration for Source-engine games like Team Fortress 2, Counter-Strike, and Garry's Mod. It provides a browser control panel for bans, mutes, admin accounts, and server permissions, plus SourceMod plugins on each game server that enforce bans live and relay admin actions back. Both components share a MySQL or MariaDB database. The panel uses Elastic License 2.0 (free for community/hobby use, restricts managed-service offerings), plugins use GPLv3. Install by uploading a release archive and running the web installer, via the official Docker Compose stack pulling a multi-arch image from GHCR, or one-click buttons for DigitalOcean, Railway, Render, Fly.io. Features: Steam OpenID sign-in, Discord webhook forwarding for in-game events, multi-server management, custom themes, automatic TLS via bundled Caddy, full data export, translation support. Non-Docker needs PHP 8.5+ with four required extensions; Docker needs Docker 24+ and Compose v2. Suggest 512 MB RAM minimum.

Should you self-host SourceBans++?

SourceBans++ scores 52/100 on selfhost.directory (how scoring works) and ranks #26 of 62 in Game Servers. It has 377 GitHub stars.

It shipped 12 stable releases in the past year. The latest, 2.2.3, came out on 26 October 2026. New versions land roughly every 5 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Other-licensed and written mostly in PHP.

Its closest alternative on selfhost.directory is minecraft (78/100, 14 488 stars). It scores higher overall, so compare the two before you pick. See SourceBans++ vs minecraft side by side.

Features

  • Ban management

SourceBans++ README

How to install SourceBans++

Install SourceBans++ with Docker Compose

Environment variables
SB_SECRET_KEY, DB_ROOT_PASS, DB_PASS, STEAMAPIKEY, INITIAL_ADMIN_NAME, INITIAL_ADMIN_STEAM, INITIAL_ADMIN_EMAIL, INITIAL_ADMIN_PASSWORD, SBPP_DOMAIN, SBPP_HOST_PORT, SBPP_BIND, DATABASE_URL, DB_HOST, DB_PORT, DB_NAME, DB_USER, DB_PASS, DB_PREFIX, DB_CHARSET, SB_EMAIL, SBPP_TRUSTED_PROXIES, SBPP_IMAGE_TAG, PORT, SBPP_CONFIG_PATH

mkdir -p ~/sourcebans-prod cd ~/sourcebans-prod curl -O https://raw.githubusercontent.com/sbpp/sourcebans-pp/main/docker-compose.prod.yml curl -O https://raw.githubusercontent.com/sbpp/sourcebans-pp/main/.env.example.prod mkdir -p docker/caddy curl -o docker/caddy/Caddyfile.example https://raw.githubusercontent.com/sbpp/sourcebans-pp/main/docker/caddy/Caddyfile.example cp .env.example.prod .env

Edit .env with required values

docker compose -f docker-compose.prod.yml up -d

Pulls ghcr.io/sbpp/sourcebans-pp image; includes MariaDB, optional Caddy for TLS

SourceBans++ releases & version history

FAQ

What is SourceBans++?

A source-available admin and ban-management system for Source-engine game servers, free for community use, with a web panel and SourceMod plugins sharing a database.

More in Administration

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…