Skip to content
/SLASHPLAY

How to save bans in Half-Life 2: Deathmatch

Type writeid after banid (and writeip after addip); the bans go to hl2mp/cfg/banned_user.cfg.

writeid

Saves the permanent Steam ID bans to hl2mp/cfg/banned_user.cfg.

writeid

Examples

writeid

Saves the ID bans.

What it does

Bans live in memory until you write them. Without writeid, a permanent ban is gone after a restart.

Good to know

  • SLASHPLAY keeps hl2mp/cfg/banned_user.cfg between runs. Add exec banned_user.cfg to hl2mp/cfg/server.cfg so the bans load at start.

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

Your own
HL2DM server.

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