How to disable custom sprays in Half-Life 2: Deathmatch
Add sv_allowupload 0 to hl2mp/cfg/server.cfg so players can't upload their spray files.
sv_allowupload
Lets players upload their custom spray images to the server so others can see them. On by default.
sv_allowupload <0|1> Examples
sv_allowupload 0 No custom sprays from players.
Values
| Value | What it does |
|---|---|
| 0 | Off |
| 1Default | On |
Arguments
0|1Required1turns it on,0turns it off.
What it does
Turn it off to stop custom sprays being shared on the server.
Good to know
- To keep it after a restart, add
sv_allowupload 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.