Back to Templates
GameCP OfficialFPS
Verified

Counter-Strike 2

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.

v3
2/8/2026

Startup Command

#!/bin/bashBash shell with full features

Default

CS2 dedicated server with auto-restart on crash

Default

Environment Variables

SERVER_NAME

Required

Server Name

Server name displayed in the server browser

Default
${SERVER_NAME}

MAX_PLAYERS

Required

Max Players

Maximum number of concurrent players

Default
${MAX_PLAYERS}

SRCDS_MAP

Required

Start Map

The map loaded when the server starts.

Default
de_dust2

GAME_MODE

Required

Game Mode

Game mode value. Used with Game Type to determine server game type.

Default
1

GAME_TYPE

Required

Game Type

Game type value. Used with Game Mode to determine server game type.

Default
0

STEAM_GSLT

Steam GSLT

Game Server Login Token (GSLT). Required for public server listing. Get one at steamcommunity.com/dev/managegameservers

Default
(empty)

RCON_PASSWORD

Required

RCON Password

Password for remote console (RCON) access.

Default
(empty)

SERVER_PASSWORD

Server Password

If set, players must enter this password to join the server.

Default
(empty)

VAC_ENABLED

VAC Security

Enable VAC (Valve Anti-Cheat) protection

Default
1

RCON_ENABLED

Enable RCON

Enable RCON for external administration tools

Default
0

BOT_QUOTA

Bot Quota

Maximum number of bots. Set to 0 to disable bots.

Default
0

BOT_QUOTA_MODE

Bot Quota Mode

How bots fill the server.

Default
fill

BOT_DIFFICULTY

Bot Difficulty

Bot AI difficulty level.

Default
1

AUTO_UPDATE

Auto Update

Automatically update the server on startup

Default
1

STEAM_USER

Required

Steam Username

Steam username for authentication.

Default
${STEAM_USER}

STEAM_PASS

Required

Steam Password

Steam password for authentication.

Default
${STEAM_PASS}

STEAM_AUTH

Steam Guard Code

Steam Guard authentication code (optional).

Default
(empty)

EXTRA_FLAGS

Extra SteamCMD Flags

Additional SteamCMD flags.

Default
(empty)

Container Configuration

Docker Image

ghcr.io/ptero-eggs/steamcmd:sniper

Technical Profile

Template ID

counter-strike-2

Author

GameCP Team

Last Updated

February 8, 2026

Status

Active

Configuration Metadata

Information about the origin and version of this game configuration.

Author

GameCP Team

Version

3

Source

gamecp

Imported: 2/5/2026, 1:24:57 PM