How to Set a Password on Your Half-Life 2: Deathmatch Server

Password protect your Half-Life 2: Deathmatch dedicated server.

Open Startup

In the XGamingServer Panel, click Startup in the sidebar.

Set the Password field

Find the Password field and enter your password.

Restart

Restart from Console to apply.

Open server.cfg

In Files, open hl2mp/cfg/server.cfg.

Set sv_password

sv_password "YourPassword"

For a public server, leave it empty:

sv_password ""

How Players Connect

connect 123.45.67.89:27015; password "YourPassword"

Or via a clickable Steam link:

steam://connect/123.45.67.89:27015/YourPassword

How is this guide?

40% Off — Limited TimeGet your Half Life 2 Deathmatch server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page