Skip to content

๐Ÿ’ฃ Automated Counter-Strike 2 multi-server manager with competitive plugins and tournament integration

Notifications You must be signed in to change notification settings

sivert-io/cs2-server-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

CS2 Server Manager

CS2 Server Manager

๐Ÿ’ฃ Automated multi-server management for Counter-Strike 2

Deploy multiple dedicated CS2 servers in minutes with competitive plugins, auto-updates, and tournament integration.

License: MIT Docker

๐Ÿ”— MatchZy Auto Tournament โ€ข MatchZy Enhanced


๐Ÿš€ Quick Start (global install, recommended)

On a Linux server, you can install csm globally and launch the latest release with a single command:

arch=$(uname -m); \
case "$arch" in \
  x86_64)  asset="csm-linux-amd64" ;; \
  aarch64|arm64) asset="csm-linux-arm64" ;; \
  *) echo "Unsupported architecture: $arch" && exit 1 ;; \
esac; \
tmp=$(mktemp); \
curl -L "https://github.com/sivert-io/cs2-server-manager/releases/latest/download/$asset" -o "$tmp" && \
sudo install -m 0755 "$tmp" /usr/local/bin/csm && \
rm "$tmp" && \
sudo csm          # launches the interactive TUI installer

By default, CSM stores its data under /opt/cs2-server-manager (creating it on demand) so overrides, game files, and logs are kept in one place.


โœจ Features

๐Ÿ’ฃ Multi-Server Deployment โ€” 3โ€“5 servers with one command
โš™๏ธ Auto-Plugin Install โ€” Metamod, CounterStrikeSharp, MatchZy, AutoUpdater
๐Ÿ” Auto-Updates โ€” Game & plugin updates happen automatically
๐Ÿ“ฆ Config Persistence โ€” Your configs in overrides/ survive all updates
๐Ÿ† Tournament Ready โ€” Integrates with MatchZy Auto Tournament
๐Ÿ” MySQL Setup โ€” Docker-based database auto-provisioned
๐Ÿ–ฅ Interactive Menu โ€” Easy server management


๐ŸŽฎ Usage

Once installed globally you can:

sudo csm    # launch the TUI for installs, updates, status, etc. (requires sudo)
csm help    # show CLI help without sudo

Common CLI commands:

sudo csm status                 # Tmux status overview
sudo csm update-game            # Update CS2 game files
sudo csm update-plugins         # Update plugins (download + deploy)
sudo csm monitor                # Run one iteration of the auto-update monitor
sudo csm install-deps           # Install core system dependencies
sudo csm bootstrap              # Install/redeploy servers
sudo csm install-monitor-cron   # Install cron-based auto-update monitor
sudo csm cleanup-all            # Danger: remove all CS2 data and user

For logs and debugging:

sudo csm attach 1        # Attach to server 1 console (tmux)
sudo csm debug 1         # Run server 1 in foreground (debug mode)
sudo csm logs 1 100      # View last 100 lines of server 1 logs

๐Ÿ“š Documentation & Links


Made with โค๏ธ for the CS2 community