-
Notifications
You must be signed in to change notification settings - Fork 9
/
etl_server.cfg
147 lines (122 loc) · 7 KB
/
etl_server.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
// 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
set logfile "2" // Enables console logging - 'etconsole.log' (1: enabled 2: enabled and sync'ed)
set sv_protect "1" // Getstatus response limit protection.
set sv_protectLog "sv_protect.log" // When set all sv_protect and server security related messages are written into this log file
// NETWORK
set dedicated "2" // 1: dedicated server for lan 2: dedicated server for internet
set sv_advert "1" // Send hartbeats to master server - important to set!
//set net_ip "" // set to override the default IP ET uses
//set net_port "27960" // set to override the default port ET uses
sv_timeout "40" // Seconds without any message from connected clients
sv_dl_timeout "240" // Seconds without any message from downloading or preparing clients
// PASSWORDS & CLIENTS
set sv_maxclients "16" // number of players including private slots
set g_password "123" // set to password protect the server
set sv_privateclients "0" // 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"
set rconpassword "123456789" // remote console access password
set refereePassword "12345" // referee status password
// DL, RATE
set sv_maxRate "50000" // 10000 standard but poor for ET 0: unlimited
set sv_dl_maxRate "4000000" // increase/decrease if you have plenty/little spare bandwidth
set sv_allowDownload "1" // global toggle for both legacy download and web download
set sv_wwwDownload "1" // toggle to enable web download
//set sv_wwwBaseURL "" // base URL for redirection
set sv_wwwDlDisconnected "0" // tell clients to perform their downloads while disconnected from the server
set sv_wwwFallbackURL "" // URL to send to if an http/ftp fails or is refused client side
// MOTD ETC
set sv_hostname "RPB Spring ET LEGACY" // name of server here
// max length is "12345678901234567890123456" // (message should not be longer than this without the color codes)
set server_motd0 " Welcome! " // message in right corner of join screen here
set server_motd1 " to the "
set server_motd2 " Spring "
set server_motd3 " RBP "
set server_motd4 " ET Legacy "
set server_motd5 " Server "
// MISC SETTINGS
set g_heavyWeaponRestriction "50" // 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 "1" // 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 "0" // 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 "1" // Players have a warm up period
set g_warmup "5" // 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" // 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 "1" // Minimum number of players needed to start a match
set match_mutespecs "1" // Mute spectator
set match_readypercent "10" // % of players 'Ready' to start match
set match_timeoutcount "0"
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 "0" // 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" // 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
//set com_watchdog "10" // defaults 60
set com_watchdog_cmd "exec mapvotecycle.cfg" // defaults to quit
// OMNI-BOT
set omnibot_enable "1"
set omnibot_path "./legacy/omni-bot"
//set omnibot_flags "0"
//set omnibot_logsize "0"
bot difficulty "3"
bot moveskill "4"
bot minbots "-1"
bot maxbots "8"
bot balanceteams "1"