Skip to content
/SLASHPLAY

How to change the browser slot count in L4D2

Add sv_visiblemaxplayers 4 to left4dead2/cfg/server.cfg to report 4 slots to players browsing; -1 shows the real limit again.

sv_visiblemaxplayers

Overrides the player limit the server reports to players browsing for it. -1, the default, turns the override off.

sv_visiblemaxplayers <number>

Examples

sv_visiblemaxplayers 4

Report 4 slots.

Arguments

numberRequired
Slots to report, or -1 for no override.

What it does

Use it to advertise fewer slots than the server has, for example to keep spare slots for friends.

Good to know

  • Typed in the Console tab it lasts until the server restarts. To keep it, add sv_visiblemaxplayers 4 to left4dead2/cfg/server.cfg, which the server runs at every map load.

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.