1zc / CS2-Pterodactyl

Docker image and Pterodactyl eggs to support CS2 and CS:GO (after archival), based on SteamRT3.
GNU General Public License v3.0
76 stars 24 forks source link
counter-strike-2 counter-strike-global-offensive cs2 docker game-server-hosting pterodactyl steam-runtime steamrt3

CS2 on Pterodactyl

Docker image and Pterodactyl egg to run CS2 and CS:GO Servers on Valve's SteamRT3 platform. The Docker image is based on the Valve provided SteamRT3 Sniper package, with the Pterodactyl egg featuring a few exposed variables such as Beta selection variables and allowing for skipping SteamCMD on launch (i.e, preventing updates). This should allow existing CSGO servers to easily stay on the opt-in CS:GO branch (or any particular version of CS:GO) once CS2 releases.

This setup is very similar to the stock Pterodactyl Source server setup, so things should be familiar once imported.

The underlying Docker image is based on Valve's Steam Runtime 3 (Sniper), which should be able to run both CS:GO and CS2 without any issues. The image also can be rebuilt easily as soon as Valve updates their base SteamRT3 image, so we can stay on top of their updates without worrying too much about it.

The CS2 image also ensures the gameinfo.gi file is configured for MetaMod automatically on server restart, which should be convenient for modded servers.

How to use

Docker Image Information

The Docker image is hosted on the GitHub Container Registry. You can grab it from here:

ghcr.io/1zc/steamrt3-pterodactyl:latest

The development branch contains upcoming changes that are currently being tested before being merged into main. If you'd like to use that image instead:

ghcr.io/1zc/steamrt3-pterodactyl:dev

You can also find images built with the SteamRT3 Public Beta Branch:

ghcr.io/1zc/steamrt3-pterodactyl:beta-latest
ghcr.io/1zc/steamrt3-pterodactyl:beta-dev

Alternatively, you can find a full list of builds here: https://github.com/1zc/CS2-Pterodactyl/packages

Frequent Issues

General Tips