server cfg


(Xterm1n8or) #1

Hi all :smiley:

I was wondering if somebody could look at this cfg please. Basically, all i have done is re-arrange it to follow the Host Game and Advanced menu. I did this so i know what does what as it was here, there and everywhere. Theres a couple of gaps // ??? i’m hoping someone could help me fill in:

// ==================== HOST GAME ====================

// SETTINGS

set sv_hostname ""                               // Name of server.
// set g_gametype "4"	                         // Game type should be set from map rotation script.
set sv_maxclients "20"                           // number of players including private slots
// ??? Auto configure server: No, Comp, Pub
// set dedicated "2"				// 0 - Listen Server, 1 - dedicated server for lan, 2 - dedicated server for internet
set g_password ""				   // set to password protect the server (Same as Advanced/Admin?)


// FEATURES

set g_friendlyFire "1"
// ??? Punkbuster. set sv_punkbuster "1", or pb_sv_enable "1"? (btw. I know not to set this here)
set g_antilag "1"
set g_maxlives "0"
set g_heavyWeaponRestriction "100"
set g_teamforcebalance "1"


// ==================== ADVANCED ====================

// GENERAL

set sv_minping "0"
set sv_maxping "0"
set sv_maxRate "13000"                          // 10000 standard but poor for ET 
// ??? Player inactivity
set g_spectatorInactivity "0"

// MATCH

set g_doWarmup "0"                              // Wait for Ready
set match_minplayers "4"
set match_readypercent "100"
set match_latejoin "1"
set match_mutespecs "0"
set match_warmupDamage "1"                      // 0 - Off, 1 - Enemies Only, 2 - Everybody
set team_maxplayers "0"
set team_nocontrols "1"
set g_warmup "30"
set g_complaintlimit "6"
set g_ipcomplaintlimit "3"
// ??? Map time limit. set match_timeoutcount "0"?
// ??? Allied spawn time
// ??? Axis spawn time
set g_alliedmaxlives "0"
set g_axismaxlives "0"


// LAST MAN STANDING

set g_lms_roundlimit "3"
set g_lms_matchlimit "2"
// ??? Spectate team only. set g_lms_followTeamOnly "1"?
set g_lms_lockTeams "0"


// ADMIN

set sv_pure "1"
set g_password ""                               // set to password protect the server. (Same as Host Game/Settings?)
set refereePassword ""                          // referee status password
set rconpassword ""                             // remote console access password


// VOTING

set vote_limit "5"                              // max votes per player
set vote_percent "50"                           // successful voting %


// ALLOW VOTES

set vote_allow_comp "1"
set vote_allow_gametype "1"
set vote_allow_kick "1"
set vote_allow_map "1"
set vote_allow_matchreset "1"
set vote_allow_mutespecs "1"
set vote_allow_nextmap "1"
set vote_allow_balancedteams "1"

set vote_allow_pub "1"
set vote_allow_referee "0"
set vote_allow_shuffleteams "1"
set vote_allow_swapteams "1"
set vote_allow_friendlyfire "1"
set vote_allow_timelimit "0"
set vote_allow_warmupdamage "1"
set vote_allow_antilag "1"


// MESSAGE OF THE DAY

set server_motd0 " ^NEnemy Territory ^7MOTD "	// Message in right corner of join screen.
set server_motd1 ""
set server_motd2 ""
set server_motd3 ""
set server_motd4 ""
set server_motd5 ""


// DOWNLOAD

set sv_allowDownload "1"                        // global toggle for both legacy download and web download
set sv_dl_maxRate "42000"                       // Increase/decerease if you have plenty/little spare bandwidth.
set sv_wwwFallbackURL ""                        // URL to send to if an http/ftp fails or is refused client side
set sv_wwwBaseURL ""                            // Base URL for redirection.


// ==================== MISC ====================


// set net_ip ""				// set to override the default IP ET uses
// set net_port "27960"				// set to override the default port ET uses


// PASSWORDS & CLIENTS 

set sv_privateclients "4"			// if set > 0, then this number of client slots will be reserved for connections
set sv_privatepassword ""			// that have "password" set to the value of "sv_privatePassword"


// DL, RATE

set sv_wwwDownload "0"				// toggle to enable web download
set sv_wwwDlDisconnected "0"			// tell clients to perform their downloads while disconnected from the server


// MISC SETTINGS

set g_altStopwatchMode "0"
set g_autofireteams "1"
set g_fastres "0"
set g_minGameClients "8"
set g_noTeamSwitching "0"
set g_voiceChatsAllowed "4"
set sv_floodProtect "1"
set match_timeoutcount "0"
set pmove_fixed "0"
set pmove_msec "8"


// LMS ONLY SETTINGS

set g_lms_teamForceBalance "1"
set g_lms_currentMatch "0"
set g_lms_followTeamOnly "1"


// VOTING

set g_allowVote "1"
set vote_allow_muting "1"


// LOGGING

set g_log "etserver.log" 			// Game logging
set g_logsync 0
set logfile 0 					// Console logging ( 1: enable 2: enable and sync )


// MAP ROTATION

exec campaigncycle.cfg				// Campaign mode
//exec objectivecycle.cfg			// Objective mode
//exec lmscycle.cfg				// Last Man Standing mode


// PUNKBUSTER

// sv_punkbuster is a readonly variable. Use +set sv_punkbuster on command line or use the command pb_sv_enable in the console
// pb_sv_enable


// WATCHDOG

// in case the game dies with an ERR_DROP
// or any situation leading to server running with no map
//set com_watchdog 10				// defaults 60
set com_watchdog_cmd "exec campaigncycle.cfg"	// defaults to quit

Many thanks :smiley: