Skip to content
/SLASHPLAY

How to check the max players on an L4D2 server

Type maxplayers in the Console tab of the server page to print the limit. SLASHPLAY starts every Left 4 Dead 2 server with 8 slots.

maxplayers

Shows the player limit. SLASHPLAY servers have 8 slots, set when the server starts.

maxplayers

Examples

maxplayers

Prints the current limit.

What it does

Typed alone, it prints the current limit. The server won't change it while it's running, so the limit comes from the start line.

Good to know

  • SLASHPLAY starts Left 4 Dead 2 with +maxplayers 8.
  • sv_maxplayers, often seen in guides, is not in the game's own cvar list: it comes from server plugins.

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.