Skip to content
/SLASHPLAY

How to change the server name in L4D2

Change Name on the General tab of the server page; SLASHPLAY sends it to the running server as hostname at once.

hostname

The server's name, shown in the server browser and to players who join.

hostname "<name>"

Examples

hostname "Friday Night Versus"

A name with spaces, so it's quoted.

Arguments

nameRequired
The server name.

What it does

Pick something your group recognizes. Quotes are needed when the name has spaces.

Good to know

  • SLASHPLAY manages this one: set it with Name on the server page's General tab. A new name reaches the running server at once.
  • If your server.cfg sets hostname, yours wins and SLASHPLAY stops sending the dashboard name.

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 left4dead2/cfg/server.cfg. New to this? Start a L4D2 server first.

Your own
L4D2 server.

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