Skip to content
/SLASHPLAY

How to save IP bans in Left 4 Dead

Type writeip in the Console tab of the server page after an IP ban; permanent bans go to left4dead/cfg/banned_ip.cfg.

writeip

Saves the permanent IP bans to banned_ip.cfg.

writeip

Examples

writeip

Save IP bans.

What it does

Without it, IP bans made in the console are gone after a restart.

Good to know

  • SLASHPLAY keeps left4dead/cfg/banned_ip.cfg with every save. Put exec banned_ip.cfg in server.cfg to load it at each 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 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.