If you have spaces somewhere (the name of the server for example), be sure to write it between quotes. means the server will ignore everything behind // on that line, so if you want to stop using a variable, put // in front of it - this is commonly referred to as "commenting out" which tells the server to ignore that command/cvar.Įvery variable has to be put on its own line, or else it will not be read/executed and the server console may report an error about it so you can narrow down the issue. Don’t name it anything yet just creat a blank text file.įor a complete list of L4D2 Cvars, see thisįor a text file list of all L4D2 Cvars see this [One of the most important things to keep in mind while writing the server.cfg is the syntax. Port Foward [Check if your Ports are Open [E:\L4D2\left4dead2\cfg\server.cfgĬreate this file using notepad, simply right-click in the folder and select New⇒Text Document. By default the L4D2 port is 27015 however it may have a range from 27015-27020 or more. If you are hosting your server on a game server provider (GameServers, VPS (Virtual Private Server such as NFOServers) or a host that you actually pay for, then you don't need to worry about this as your provider should have all ports forwarded automatically depending on what server you are hosting.
For those not familiar with the process, please utilize Google and other resources such as the ones below for assistance in forwarding your ports.
#Sourcemod l4d2 bleed out how to#
Those creating a Listen Server will encounter Port Forwarding issues which if you know how to access your router control panel, is an easy fix. This guide will work for Listen Servers (Listen Servers are servers hosted on the same Computer that you play the game on) This guide is aimed at servers that are hosting on a provider or system other than the game client. There are many resources out there for Port Forwarding.