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

ย 

History

89 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

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 โ€ข Enhanced MatchZy


๐Ÿš€ 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; \
curl -L "https://github.com/sivert-io/cs2-server-manager/releases/latest/download/$asset" -o csm && \
chmod +x csm && \
sudo install -m 0755 ./csm /usr/local/bin/csm && \
csm                 # launches the interactive TUI installer

โœจ 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:

csm         # launch the TUI for installs, updates, status, etc.
sudo csm    # run privileged actions (install-deps, bootstrap, cron, cleanup)

Common CLI commands:

csm status                 # Tmux status overview
csm update-game            # Update CS2 game files
csm update-plugins         # Update plugins (download + deploy)
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