Skip to content
/SLASHPLAY

How to save bans in L4D2

Type writeid in the Console tab of the server page after banning; permanent bans go to left4dead2/cfg/banned_user.cfg.

writeid

Saves the permanent Steam ID bans to banned_user.cfg.

writeid

Examples

writeid

Save Steam ID bans.

What it does

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

Good to know

  • SLASHPLAY keeps left4dead2/cfg/banned_user.cfg with every save. Put exec banned_user.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 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.