Skip to content
/SLASHPLAY

How to disable sprays in GMod

Type sv_allowupload 0 in the server console to stop players uploading sprays and other custom files to the 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 custom sprays.

Values

ValueWhat it does
0 Off
1Default On

Arguments

0|1Required
1 allows uploads.

What it does

Turn it off to block player-made sprays and similar uploads, which some servers do to avoid offensive images.

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 garrysmod/cfg/server.cfg. New to this? Start a GMod server first.

Your own
GMod server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.