sv_allowDownload

From Tremulous Wiki
Jump to: navigation, search
This page (Sv allowDownload) documents something that was added or modified by TJW's maintenance releases. Things are different in the released 1.1.0
sv_allowDownload
Default 0
Allowed Values 0-15
Server Versions All
Server Info Yes
Cvar Matrix


Usage

sv_allowDownload controls if and how a connecting client may download needed files from the server.

It is a bit field with 4 options as documented below. Add the values you want together to get the final value of the cvar.

Name Value Description
DLF_ENABLE 1 Are downloads enabled?
DLF_NO_REDIRECT 2 If set then HTTP downloads will be disabled.
DLF_NO_UDP 4 If set then UDP downloads will be disabled.
DLF_NO_DISCONNECT 8 If set then clients will not disconnect from the server while downloading via HTTP. This can full up slots with clients who aren't playing, but will prevents the repeated join / quit messages. This has no effect on UDP downloads.

For example, if I want downloads enabled but UDP downloads disabled, then I would add 1 and 4, and set sv_allowDownload to 5.

Common values:

sv_allowDownload Meaning
0 No downloads allowed.
1 All download methods enabled.
3 UDP downloads only.
5 HTTP downloads only.
9 All downloads enabled with players not disconnecting.
13 HTTP only with players not disconnecting.

See Also

Tremulous
Personal tools