Skip to content
/SLASHPLAY

How to block dlfile downloads in CS 1.6

Type sv_allow_dlfile 0 in the server console so players cannot request files by name with dlfile. Map downloads still work.

sv_allow_dlfile

Allows clients to request individual files from the server with the dlfile command.

sv_allow_dlfile <0|1>

Examples

sv_allow_dlfile 0

Block manual file requests from players.

Values

ValueWhat it does
0 Clients cannot request files with dlfile
1Default Clients can request files with dlfile

Arguments

0|1Required
0 blocks dlfile requests, 1 allows them.

What it does

When on, a connected player can ask the server for a specific file by name with dlfile. This is separate from the automatic download of missing map content. Set it to 0 if you do not want players pulling arbitrary game files from your server.

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 cstrike/server.cfg. New to this? Start a CS 1.6 server first.

Your own
CS 1.6 server.

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