How to disable spectators in Half-Life 2: Deathmatch
Add mp_allowspectators 0 to hl2mp/cfg/server.cfg.
mp_allowspectators
Lets players join the Spectator team. On by default.
mp_allowspectators <0|1> Examples
mp_allowspectators 0 No spectators.
Values
| Value | What it does |
|---|---|
| 0 | Off |
| 1Default | On |
Arguments
0|1Required1turns it on,0turns it off.
What it does
Turn it off to make everyone play.
Good to know
- To keep it after a restart, add
mp_allowspectators 0tohl2mp/cfg/server.cfgin the file manager (Advanced, then Files).
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.