Skip to content
/SLASHPLAY

How to save IP bans in Half-Life 2: Deathmatch

Type writeip after addip; the list is written to hl2mp/cfg/banned_ip.cfg.

writeip

Saves the permanent IP bans to hl2mp/cfg/banned_ip.cfg.

writeip

Examples

writeip

Saves the IP bans.

What it does

IP bans live in memory until you write them.

Good to know

  • SLASHPLAY keeps hl2mp/cfg/banned_ip.cfg between runs. Add exec banned_ip.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.