Left for Dead 2 (LFD2) | Server Configuration Print

  • Left for Dead 2 (LFD2) Server Configuration, Left for Dead 2 (LFD2) server configuration, Left for Dead 2 (LFD2), left for dead 2 (lfd2), Server Configuration, server configuration
  • 7

It's easy to configure your Pingperfect Left for Dead 2 (LFD2) Server. Just follow the steps below.

  1. Open the 'Configuration Files' section from your control panel.
  2. Select the 'Text Editor' option next to 'left4dead2\cfg\server.cfg'
  3. Refer to the Example Configuration below and change the respective settings where you need to do so in order to configure your server to your desires.

//This is the name for your Left 4 Dead 2 Server

hostname "Pingperfect.com : L4D2 Server"


sv_search_key "Pingperfect"

//Gametypes sets the gametypes you want your server to run

//----> Versus Only: sv_gametypes "versus"

//----> Survival Only: sv_gametypes "survival"

//----> Coop Only: sv_gametypes "coop"

//----> Realism Only: sv_gametypes "realism"

//----> Team Versus Only: sv_gametypes "teamversus"

//----> Scavenge Only: sv_gametypes "teamscavenge"

sm_cvar mp_gamemode versus


//Rcon password - Sets the password for remote rcon admin

rcon_password "8a2rb"


//Steam group # to assign to server



//Set to 1 to only allow members of the steam group to make the initial connection to this server

sv_steamgroup_exclusive 0


//Allow connections without creating lobby. Set to 1 to allow lobby connections only

sv_allow_lobby_connect_only 0


//Region - This sets the lobby in which your server will be part of

//You will want to set this to the closest location to your server

//eastcoast - sv_region 0

//westcoast - sv_region 1

//south america - sv_region 2

//europe - sv_region 3

//asia - sv_region 4

//australia - sv_region 5

//middle east - sv_region 6

//africa - sv_region 7

//world - sv_region 255

sv_region 255


// Server Logging

sv_log_onefile 0 //Log server information to only one file.

sv_logbans 1 //Log server bans in the server logs.

sv_logecho 0 //Echo log information to the console.

sv_logfile 1 //Log server information in the log file.

sv_logflush 0 //Flush the log file to disk on each write (slow).

sv_logsdir logs //Folder in the game directory where server logs will be stored.


// Server Cvars

mp_disable_autokick 1 //Prevents a userid from being auto-kicked

sv_allow_lobby_connect_only 0 // Allow or disallow lobby-only connections (0 to allow browser join)

sv_allow_color_correction 1 //Allow or disallow clients to use color correction on this server.

sv_allow_wait_command 1 //Allow or disallow the wait command on clients connected to this server.

sv_alltalk 0 //Players can hear all other players, no team restrictions

sv_alternateticks 0 //If set, server only simulates entities on even numbered ticks.

sv_cheats 0 //Allow cheats on server

sv_clearhinthistory 0 //Clear memory of server side hints displayed to the player.

sv_consistency 1 //Whether the server enforces file consistency for critical files

sv_contact "support@somewhere.com" //Contact email for server sysop

//sv_downloadurl "" //Location from which clients can download missing files

sv_lan 0


//Server Rates

sv_maxcmdrate 100 //(If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate.


//Allow use of cheats

//0 = Off

//1 = On

sv_cheats 0


//All talk - Allow both teams to use audio chat to speak with each other

//0 = Off

//1 = On

sv_alltalk 0


//Fix to get your server onto the master lists

setmaster add

setmaster add


// Difficulty of the current game  (easy, normal, hard, impossible)

z_difficulty normal


Looking for a game server host known for brilliant 24/7 customer support and quality hardware? 

Try a Pingperfect Left for Dead 2 server today! https://pingperfect.com/gameservers/l4d2-left-for-dead-2-game-server-hosting-rental.php

Was this answer helpful?

« Back