
Left 4 Dead 2
Dedicated Server Template
Left 4 Dead 2 is a cooperative first-person shooter set during a zombie apocalypse. Up to 4 players fight through campaigns of the infected, or compete in Versus, Scavenge, and Survival modes.
Left 4 Dead 2 Game Server Hosting
Deploy and manage your own Left 4 Dead 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 Left 4 Dead 2 server administration simple and reliable.
Resource Requirements
Recommended Players
Performance Tiers
Economy
Small co-op, 4-8 players
Standard
Versus or Scavenge, 8-16 players
Pro
Custom modded server, 16-32 players
Startup Command
Default
SRCDS startup for Left 4 Dead 2 cooperative server
Competitive (100 Tick)
High tickrate for competitive Versus matches. Better hit registration and smoother infected gameplay.
Environment Variables
SERVER_NAME
RequiredServer Name
Server name displayed in the server browser
(empty)MAX_PLAYERS
RequiredMax Players
Maximum number of concurrent players (4 per team in Versus, up to 32 for custom)
8STEAM_TOKEN
Game Server Login Token
Create one with App ID `222840` at [Steam GSLT Management](https://steamcommunity.com/dev/managegameservers) to publicly list your server.
(empty)ALLOW_LOBBY_CONNECT
Lobby Connect Only
If enabled, only players connecting via matchmaking lobby can join. Disable (0) to allow direct connect
0SERVER_CONTACT
Server Contact
Contact info for server administrator shown in server browser
(empty)SEARCH_KEY
Search Key
Custom search keyword. Players can filter servers by this tag
(empty)SRCDS_MAP
RequiredStart Map
The map loaded when the server starts
c1m1_hotelGAME_MODE
RequiredGame Mode
Game mode for the server
coopDIFFICULTY
RequiredDifficulty
Difficulty level for campaign and survival modes
NormalRCON_PASSWORD
RequiredRCON Password
Password for remote console (RCON) access
(empty)SERVER_PASSWORD
Server Password
If set, players will be required to enter this password to join the server
(empty)AUTO_UPDATE
Auto Update on Start
Automatically update the server via SteamCMD before each start
0EXTRA_FLAGS
Read OnlyExtra SteamCMD Flags
Additional SteamCMD flags
(empty)Lifecycle Scripts
Write App Manifest
Writes appmanifest_222860.acf to work around a Valve issue where some games fail to download their manifest file.
Configuration Files
Server Config
Main server configuration file (server.cfg)
left4dead2/cfg/server.cfgtextContainer Configuration
Docker Image
ghcr.io/ptero-eggs/games:source
Technical Profile
Template ID
left-4-dead-2
Author
GameCP Team
Last Updated
March 15, 2026
Status
ActiveConfiguration Metadata
Information about the origin and version of this game configuration.