diff --git a/ETLegacy/server.cfg b/ETLegacy/server.cfg index 5ecc3b4..e338b15 100644 --- a/ETLegacy/server.cfg +++ b/ETLegacy/server.cfg @@ -1,21 +1,44 @@ // **************************************************************************** // * // ET: Legacy - server.cfg * -// Version 280816 * +// Version 310316 * // * // **************************************************************************** +// ET: Legacy server sample config file. Make this file your own. + +// see http://dev.etlegacy.com/projects/etlegacy/wiki +// http://dev.etlegacy.com/projects/etlegacy/wiki/List_of_Cvars#g_-Additional-or-changed +// http://dev.etlegacy.com/projects/etlegacy/wiki/Set_up_Features + +// ET LEGACY ENGINE ONLY + +// LOGGING & PROTECTION +// Enables console logging - 'etconsole.log' (1: enabled 2: enabled and sync'ed) +set logfile "2" +// Getstatus response limit protection. +set sv_protect "1" +// When set all sv_protect and server security related messages are written into this log file +set sv_protectLog "sv_protect.log" + +// NETWORK + // 1: dedicated server for lan 2: dedicated server for internet set dedicated "2" +// Send hartbeats to master server - important to set! +set sv_advert "1" // set to override the default IP ET uses -// set net_ip "" +set net_ip "165.227.232.251" // set to override the default port ET uses set net_port "27960" +// Seconds without any message from connected clients +sv_timeout "40" +// Seconds without any message from downloading or preparing clients +sv_dl_timeout "240" // PASSWORDS & CLIENTS - // number of players including private slots -set sv_maxclients "20" +set sv_maxclients "24" // set to password protect the server set g_password "" // if set > 0, then this number of client slots will be reserved for connections @@ -28,10 +51,9 @@ set rconpassword "" set refereePassword "" // DL, RATE - -// 10000 standard but poor for ET -set sv_maxRate "13000" -// increase/decerease if you have plenty/little spare bandwidth +// 10000 standard but poor for ET 0: unlimited +set sv_maxRate "25000" +// increase/decrease if you have plenty/little spare bandwidth set sv_dl_maxRate "42000" // global toggle for both legacy download and web download set sv_allowDownload "0" @@ -45,11 +67,12 @@ set sv_wwwDlDisconnected "0" set sv_wwwFallbackURL "" // MOTD ETC - // name of server here -set sv_hostname "ETLHost" +set sv_hostname "LinuxGSM" +// (message should not be longer than this without the color codes) +// max length is "12345678901234567890123456" // message in right corner of join screen here -set server_motd0 " ^NET:Legacy ^7MOTD " +set server_motd0 " ^NET Legacy ^7MOTD " set server_motd1 "" set server_motd2 "" set server_motd3 "" @@ -58,101 +81,83 @@ set server_motd5 "" // MISC SETTINGS -set g_heavyWeaponRestriction "100" -set g_antilag "1" -set g_altStopwatchMode "0" -set g_autofireteams "1" -set g_complaintlimit "6" -set g_ipcomplaintlimit "3" -set g_fastres "0" -set g_friendlyFire "1" -// Game type should be set from map rotation script -//set g_gametype "4" -set g_minGameClients "8" -set g_maxlives "0" -set g_alliedmaxlives "0" -set g_axismaxlives "0" -set g_teamforcebalance "1" -set g_noTeamSwitching "0" -set g_voiceChatsAllowed "4" -set g_doWarmup "0" -set g_warmup "30" -set g_spectatorInactivity "0" -set sv_floodProtect "1" -set sv_allowDownload "1" +set g_heavyWeaponRestriction "100" // Heavy Weapon Restriction (% of team that have Heavy Weapons) +set g_antilag "1" // Enable Anti-Lag +set g_altStopwatchMode "0" // Enable ABAB stopwatch team format +set g_autofireteams "1" // Automaticaly put team players into FireTeams +set g_complaintlimit "6" // Number of complaints needed to kick a player. +set g_ipcomplaintlimit "3" // Number of different player complaints to kick a player +set g_fastres "0" // Toggles if player is instantly active after medic revive +set g_friendlyFire "1" // Toggles if Firendly Fire is on or not +set g_minGameClients "8" // Minimum number of players needed to start a match +set g_maxlives "0" // Number of respawns a player has +set g_alliedmaxlives "0" // Number of lives available to the allied team +set g_axismaxlives "0" // Number of lives available to the axis team +set g_teamforcebalance "1" // Stop players from joining a team with more players +set g_noTeamSwitching "0" // Disallow players from joining a team with more players +set g_voiceChatsAllowed "4" // Number of VSays a player can say in 10 seconds +set g_doWarmup "0" // Players have a warm up period +set g_warmup "10" // warm up time (in seconds) +set g_spectatorInactivity "0" // Duration of spectator inactivity before auto-cick +set sv_floodProtect "1" // Prevent server flooding set sv_pure "1" -set sv_minping "0" -set sv_maxping "0" -set match_latejoin "1" -set match_minplayers "4" -set match_mutespecs "0" -set match_readypercent "100" +set sv_minping "0" // Minimum ping required on conenct +set sv_maxping "0" // Maximum ping allowed on connect +set match_latejoin "1" // Allow players to join a match that's already begun +set match_minplayers "4" // Minimum number of players needed to start a match +set match_mutespecs "0" // Mute spectator +set match_readypercent "100" // % of players 'Ready' to start match set match_timeoutcount "0" -set match_warmupDamage "1" -set team_maxplayers "0" -set team_nocontrols "1" +set match_warmupDamage "1" // Toggles warmup damage 0: Off 1: Enemy Only 2: Everybody +set team_maxplayers "0" // Max. Number of Players that can join each team +set team_nocontrols "1" // Disallow players from having team control set pmove_fixed "0" set pmove_msec "8" // LMS ONLY SETTINGS -set g_lms_teamForceBalance "1" -set g_lms_roundlimit "3" -set g_lms_matchlimit "2" -set g_lms_currentMatch "0" -set g_lms_lockTeams "0" -set g_lms_followTeamOnly "1" +set g_lms_teamForceBalance "1" // Fore Team Balance +set g_lms_roundlimit "3" // Number of Rounds per Match +set g_lms_matchlimit "2" // Number of Matches +set g_lms_currentMatch "0" // +set g_lms_lockTeams "0" // Lock teams during a round +set g_lms_followTeamOnly "1" // Players can only spectate teammates // VOTING -set g_allowVote "1" -set vote_limit "5" -set vote_percent "50" -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_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" -set vote_allow_balancedteams "1" -set vote_allow_muting "1" - -// 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 - -// LOGGING - -// Game logging -set g_log "etserver.log" -set g_logsync 0 -// Console logging ( 1: enable 2: enable and sync ) -set logfile 1 - -// MAP ROTATION - -// Campaign mode -exec campaigncycle.cfg -// Objective mode -//exec objectivecycle.cfg -// Last Man Standing mode -//exec lmscycle.cfg +set g_allowVote "1" // Enable Voting system +set vote_limit "5" // Number of votes allowed in a map +set vote_percent "50" // % "Yes" votes for it to pass +set vote_allow_config "1" // Allow config changing by vote +set vote_allow_gametype "1" // Allow gametype changing by vote +set vote_allow_referee "0" // Allow getting referee status by vote +set vote_allow_shuffleteamsxp "1" // Allow team shuffling by vote +set vote_allow_shuffleteamsxp_norestart "1" // Allow team shuffling no restart by vote +set vote_allow_swapteams "1" // Allow team swapping by vote +set vote_allow_friendlyfire "1" // Allow friendly fire toggling by vote +set vote_allow_timelimit "0" // Allow map time limit changing by vote +set vote_allow_warmupdamage "1" // Allow warmup damage toggling by vote +set vote_allow_antilag "1" // Allow toggling Anti Lag setting by vote +set vote_allow_balancedteams "1" // Allow toggling Balanced teams by vote +set vote_allow_muting "1" // Allow player muting by vote +set vote_allow_poll "1" // Allow free polls by vote +set vote_allow_surrender "1" // Allow surrender by vote +set vote_allow_restartcampaign "1" // Allow restart campaign by vote +set vote_allow_nextcampaign "1" // Allow next campaign by vote + +// MOD CFG - put mod related vars in an own config +exec legacy.cfg + +// MAP ROTATION - set the game type + +//exec campaigncycle.cfg // Campaign mode +//exec objectivecycle.cfg // Objective mode +//exec lmscycle.cfg // Last Man Standing mode +exec mapvotecycle.cfg // Map Voting mode // WATCHDOG // in case the game dies with an ERR_DROP // or any situation leading to server running with no map -// defaults 60 -//set com_watchdog 10 -// defaults to quit -set com_watchdog_cmd "exec campaigncycle.cfg" +//set com_watchdog "10" // defaults 60 +set com_watchdog_cmd "exec mapvotecycle.cfg" // defaults to quit