How to disable sprays on a TF2 server
Type sv_allowupload 0 in the server console to stop players uploading custom sprays to your server.
sv_allowupload
Toggles whether players can upload custom files such as sprays to the server.
sv_allowupload <0|1> Examples
sv_allowupload 0 Block spray uploads.
Values
| Value | What it does |
|---|---|
| 0 | Off |
| 1Default | On |
Arguments
0|1Required- 0 blocks uploads.
What it does
Turn it off to stop custom sprays from being shared on your server.
The game's own description: Allow clients to upload customizations 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 tf/cfg/server.cfg. New to this? Start a TF2 server first.
Your own
TF2 server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.