
Counter-Strike 2
Dedicated Server Template
For over two decades, Counter-Strike has offered an elite competitive experience, one shaped by millions of players from across the globe. And now the next chapter in the CS story is about to begin. This is Counter-Strike 2.
Counter-Strike 2 Game Server Hosting
Deploy and manage your own Counter-Strike 2 dedicated server with GameCP's free game server control panel. This template provides a production-ready server configuration with one-click installation, automatic updates via SteamCMD, and full environment variable management. Whether you're hosting for a small group of friends or running a large community server, GameCP makes Counter-Strike 2 server administration simple and reliable.
Resource Requirements
Recommended Players
Performance Tiers
Economy
Small server, 2-10 players
Standard
Medium server, 10-24 players
Pro
Large server, 24-64 players
Startup Command
Default
CS2 dedicated server with auto-restart on crash
Competitive (128 Tick)
Optimized for competitive play. Higher tickrate for more responsive gameplay. Best for 5v5 matches.
Casual (64 Tick)
Standard casual server settings. Lower resource usage, suitable for public servers with many players.
Environment Variables
SERVER_NAME
RequiredServer Name
Server name displayed in the server browser
(empty)MAX_PLAYERS
RequiredMax Players
Maximum number of concurrent players
12STEAM_GSLT
Game Server Login Token
Create one with App ID `730` at [Steam GSLT Management](https://steamcommunity.com/dev/managegameservers) to publicly list your server.
(empty)VAC_ENABLED
VAC Security
Enable VAC (Valve Anti-Cheat) protection
1RCON_ENABLED
Enable RCON
Enable RCON for external administration tools
0SRCDS_MAP
RequiredStart Map
The map loaded when the server starts.
de_dust2GAME_MODE
RequiredGame Mode
Game mode value. Used with Game Type to determine server game type.
1GAME_TYPE
RequiredGame Type
Game type value. Used with Game Mode to determine server game type.
0BOT_QUOTA
Bot Quota
Maximum number of bots. Set to 0 to disable bots.
0BOT_QUOTA_MODE
Bot Quota Mode
How bots fill the server.
fillBOT_DIFFICULTY
Bot Difficulty
Bot AI difficulty level.
1RCON_PASSWORD
RequiredRCON Password
Password for remote console (RCON) access.
(empty)SERVER_PASSWORD
Server Password
If set, players must enter this password to join the server.
(empty)AUTO_UPDATE
Auto Update
Automatically update the server on startup
1STEAM_USER
Read OnlySteam Username
Steam username for authentication. Leave empty for anonymous login.
(empty)STEAM_PASS
Read OnlySteam Password
Steam password for authentication. Leave empty for anonymous login.
(empty)STEAM_AUTH
Read OnlySteam Guard Code
Steam Guard authentication code (optional).
(empty)EXTRA_FLAGS
Read OnlyExtra SteamCMD Flags
Additional SteamCMD flags.
(empty)Container Configuration
Docker Image
ghcr.io/ptero-eggs/steamcmd:sniper
Technical Profile
Template ID
counter-strike-2
Author
GameCP Team
Last Updated
March 13, 2026
Status
ActiveConfiguration Metadata
Information about the origin and version of this game configuration.