Skip to content
/SLASHPLAY

How to password protect a Left 4 Dead server

Turn on Password protection on the General tab of the server page; the running server takes it at once. The copied connect line includes it, like connect address; password yourpassword.

sv_password

The join password. Empty by default, so anyone with the address can join.

sv_password "<password>"

Examples

sv_password "letmein"

Lock the server.

sv_password ""

Open it again.

Arguments

passwordRequired
The join password. Empty removes it.

What it does

Players with the password join with connect <address>; password <password> in their game console.

Good to know

  • SLASHPLAY manages this one: set it with Password protection on the server page's General tab. The running server takes it at once, and players already on stay connected.
  • If server.cfg sets it, it overrides the dashboard and the copied connect line stops working.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to left4dead/cfg/server.cfg: the game ships without one, so upload your own with the file manager. New to this? Start a L4D server first.

Your own
L4D server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.