|
|
|
@ -49,6 +49,7 @@ CVAR_DEFINE_AUTO( sv_send_resources, "1", 0, "allow to download missed resources
@@ -49,6 +49,7 @@ CVAR_DEFINE_AUTO( sv_send_resources, "1", 0, "allow to download missed resources
|
|
|
|
|
CVAR_DEFINE_AUTO( sv_logbans, "0", 0, "print into the server log info about player bans" ); |
|
|
|
|
CVAR_DEFINE_AUTO( sv_allow_upload, "1", FCVAR_SERVER, "allow uploading custom resources on a server" ); |
|
|
|
|
CVAR_DEFINE( sv_allow_download, "sv_allowdownload", "1", FCVAR_SERVER, "allow downloading custom resources to the client" ); |
|
|
|
|
static CVAR_DEFINE_AUTO( sv_allow_dlfile, "1", 0, "compatibility cvar, does nothing" ); |
|
|
|
|
CVAR_DEFINE_AUTO( sv_uploadmax, "0.5", FCVAR_SERVER, "max size to upload custom resources (500 kB as default)" ); |
|
|
|
|
CVAR_DEFINE_AUTO( sv_downloadurl, "", FCVAR_PROTECTED, "location from which clients can download missing files" ); |
|
|
|
|
CVAR_DEFINE( sv_consistency, "mp_consistency", "1", FCVAR_SERVER, "enbale consistency check in multiplayer" ); |
|
|
|
@ -925,6 +926,7 @@ void SV_Init( void )
@@ -925,6 +926,7 @@ void SV_Init( void )
|
|
|
|
|
Cvar_RegisterVariable( &sv_unlagsamples ); |
|
|
|
|
Cvar_RegisterVariable( &sv_allow_upload ); |
|
|
|
|
Cvar_RegisterVariable( &sv_allow_download ); |
|
|
|
|
Cvar_RegisterVariable( &sv_allow_dlfile ); |
|
|
|
|
Cvar_RegisterVariable( &sv_send_logos ); |
|
|
|
|
Cvar_RegisterVariable( &sv_send_resources ); |
|
|
|
|
Cvar_RegisterVariable( &sv_uploadmax ); |
|
|
|
|