Skip to content
/SLASHPLAY

How to allow file downloads on a GMod server

Type sv_allowdownload 1 in the server console so players can download missing files straight from the server when no sv_downloadurl is set.

sv_allowdownload

Toggles whether players can download missing files directly from the game server.

sv_allowdownload <0|1>

Examples

sv_allowdownload 1

Allow direct downloads.

Values

ValueWhat it does
0 Off
1Default On

Arguments

0|1Required
1 allows downloads.

What it does

This is the slow fallback transfer used when no sv_downloadurl is set. Turning it off stops direct downloads entirely.

The game's own description: Allow clients to download 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.