-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
server.cfg
287 lines (269 loc) · 7.62 KB
/
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
//
// Common configuration
//
set sv_punkbuster 0
// Game
set g_password ""
set sv_pure "0"
set g_allowvote "1"
set scr_enable_music 0
set g_enable_music 0
set sv_voice "0"
set voice_global "0"
set sv_voiceQuality "0"
set voice_deadChat "0"
set voice_localEcho "0"
set winvoice_mic_mute "1"
sv_privateclients "1"
// UI
set scr_enable_hiticon 1
set ui_hud_obituaries 1
set ui_hud_showobjicons 1
set ui_hud_hardcore "0"
// Cod4x
set sv_authorizemode "0"
set sv_modStats "1"
set g_friendlyPlayerCanBlock "1"
set g_FFAPlayerCanBlock "1"
set sv_privatePassword "private slot passwords"
// HTTP
set sv_allowdownload "1"
set sv_wwwDownload "1"
set sv_wwwBaseURL "http://yourdomain"
set sv_wwwDlDisconnected "0"
// Security
set rcon_password "password"
set sv_allowAnonymous 0
set sv_floodProtect "1" // can be 4
set sv_reconnectLimit "20"
set g_no_script_spam "0"
set pb_sv_guidrelax "7" // was 4
set sv_guidrelax "7" // was 4
set sv_kickBanTime "15"
set sv_disableClientConsole "1"
set cl_autocmd "0"
// Logs
set logfile "1"
set g_logsync "2"
set g_log games_mp.log
set sv_log_damage "0"
// graphics
set g_maxDroppedWeapons "32"
// Internet
set sv_maxRate "25000" // was 20k
//set net_noipx "0" // TCP or UDP
set g_antilag "0"
set sv_minPing "0"
set sv_maxping "400"
set sv_timeout "300"
set sv_zombietime "2"
//
// Basic configuration
//
sets sv_hostname "^1Default ^4Docker ^7COD4"
set scr_game_hardpoints 0
set scr_hardpoint_allowuav 0
set scr_hardpoint_allowartillery 0
set scr_hardpoint_allowhelicopter 0
set scr_dm_scorelimit 400
set scr_dm_timelimit 8
set scr_dm_roundlimit 2
set scr_dm_numlives 0
set scr_dm_playerrespawndelay 2
set scr_dm_waverespawndelay 1
set scr_war_scorelimit 400
set scr_war_timelimit 8
set scr_war_roundlimit 2
set scr_war_numlives 0
set scr_war_playerrespawndelay 2
set scr_war_waverespawndelay 1
set scr_dom_scorelimit 400
set scr_dom_timelimit 7
set scr_dom_roundlimit 2
set scr_dom_numlives 0
set scr_dom_playerrespawndelay 2
set scr_dom_waverespawndelay 0
set scr_sab_scorelimit 3
set scr_sab_timelimit 6
set scr_sab_roundlimit 3
set scr_sab_roundswitch 1
set scr_sab_numlives 0
set scr_sab_bombtimer 30
set scr_sab_planttime 1
set scr_sab_defusetime 3
set scr_sab_hotpotato 1
set scr_sab_playerrespawndelay 2
set scr_sab_waverespawndelay 0
set scr_koth_scorelimit 300
set scr_koth_timelimit 7
set scr_koth_roundlimit 2
set scr_koth_roundswitch 1
set scr_koth_numlives 0
set scr_koth_playerrespawndelay 0
set scr_koth_waverespawndelay 0
set koth_autodestroytime 60
set koth_spawntime 0
set koth_kothmode 0
set koth_capturetime 20
set koth_destroytime 10
set koth_delayPlayer 0
set koth_spawnDelay 60
set scr_sd_scorelimit 4
set scr_sd_timelimit 5
set scr_sd_roundlimit 2
set scr_sd_roundswitch 3
set scr_sd_numlives 2
set scr_sd_bombtimer 45
set scr_sd_planttime 5
set scr_sd_defusetime 5
set scr_sd_multibomb 0
set scr_sd_playerrespawndelay 0
set scr_sd_waverespawndelay 0
//
// Fine configuration
//
set sv_mapRotation "gametype dm map mp_shipment gametype war map mp_crossfire"
// Game mode
set scr_game_onlyheadshots 0
set scr_oldschool_mw "1"
set scr_oldschool 0 // will not work with modwarfare
set scr_hardcore 0
// Details
set scr_game_allowkillcam 0
set scr_team_fftype "1" // 0=off 1=on 2=reflect damage 3=shared
set scr_game_forceuav "0"
set g_compassShowEnemies "0"
set scr_game_spectatetype 1 // 0 is free
// Points
set scr_game_deathpointloss 2
set scr_game_suicidepointloss 8
set scr_team_teamkillpointloss 8
// Speed and timers
set scr_player_maxhealth 60
set class_assault_movespeed 1.1
set class_specops_movespeed 1.3
set class_heavygunner_movespeed 1.1
set class_demolitions_movespeed 1.2
set class_sniper_movespeed 1.2
set scr_player_sprinttime 6
set scr_player_healthregentime 4
// Spawning
set scr_player_forcerespawn 1
set scr_player_suicidespawndelay 3
set scr_game_playerwaittime 10
set scr_game_matchstarttime 5
set scr_team_teamkillspawndelay 2
set scr_team_kickteamkillers 0
// Restrictions
set class_assault_limit 99
set class_specops_limit 99
set class_heavygunner_limit 99
set class_demolitions_limit 99
set class_sniper_limit 99
set weap_allow_m16 1
set weap_allow_ak47 1
set weap_allow_m4 1
set weap_allow_g3 0
set weap_allow_g36c 1
set weap_allow_m14 1
set weap_allow_mp44 0
set weap_allow_mp5 1
set weap_allow_skorpion 1
set weap_allow_uzi 1
set weap_allow_ak74u 1
set weap_allow_p90 1
set weap_allow_m1014 0
set weap_allow_winchester1200 1
set weap_allow_saw 1
set weap_allow_rpd 1
set weap_allow_m60e4 1
set weap_allow_dragunov 1
set weap_allow_m40a3 1
set weap_allow_barrett 1
set weap_allow_remington700 1
set weap_allow_m21 1
set weap_allow_beretta 1
set weap_allow_usp 1
set weap_allow_colt45 1
set weap_allow_deserteagle 1
set weap_allow_deserteaglegold 0
set perk_allow_specialty_parabolic 1
set perk_allow_specialty_gpsjammer 1
set perk_allow_specialty_holdbreath 1
set perk_allow_specialty_quieter 1
set perk_allow_specialty_longersprint 1
set perk_allow_specialty_detectexplosive 0
set perk_allow_specialty_explosivedamage 1
set perk_allow_specialty_pistoldeath 1
set perk_allow_specialty_grenadepulldeath 1
set perk_allow_specialty_bulletdamage 1
set perk_allow_specialty_bulletpenetration 1
set perk_allow_specialty_bulletaccuracy 1
set perk_allow_specialty_rof 1
set perk_allow_specialty_fastreload 1
set perk_allow_specialty_extraammo 1
set perk_allow_specialty_armorvest 0
set perk_allow_specialty_fraggrenade 1
set perk_allow_specialty_specialgrenade 1
set perk_allow_c4_mp 1
set perk_allow_claymore_mp 1
set perk_allow_rpg_mp 1
// Disable melee
// set player_meleeRange 0
// set aim_automelee_enabled 0
// Default classes - any can be none
set class_assault_primary m4
set class_assault_primary_attachment gl
set class_assault_secondary deserteagle
set class_assault_secondary_attachment none
set class_assault_perk1 specialty_fraggrenade
set class_assault_perk2 specialty_bulletdamage
set class_assault_perk3 specialty_pistoldeath
set class_assault_grenade flash_grenade
set class_assault_camo camo_none
set class_assault_frags 5
set class_assault_special 1
set class_specops_primary ak74u
set class_specops_primary_attachment reflex
set class_specops_secondary deserteagle
set class_specops_secondary_attachment none
set class_specops_perk1 claymore_mp
set class_specops_perk2 specialty_rof
set class_specops_perk3 specialty_longersprint
set class_specops_grenade flash_grenade
set class_specops_camo camo_none
set class_specops_frags 5
set class_specops_special 1
set class_heavygunner_primary m60e4
set class_heavygunner_primary_attachment reflex
set class_heavygunner_secondary deserteagle
set class_heavygunner_secondary_attachment none
set class_heavygunner_perk1 rpg_mp
set class_heavygunner_perk2 specialty_rof
set class_heavygunner_perk3 specialty_bulletpenetration
set class_heavygunner_grenade concussion_grenade
set class_heavygunner_camo camo_none
set class_heavygunner_frags 6
set class_heavygunner_special 1
set class_demolitions_primary winchester1200
set class_demolitions_primary_attachment reflex
set class_demolitions_secondary deserteagle
set class_demolitions_secondary_attachment none
set class_demolitions_perk1 specialty_fraggrenade
set class_demolitions_perk2 specialty_explosivedamage
set class_demolitions_perk3 specialty_bulletaccuracy
set class_demolitions_grenade smoke_grenade
set class_demolitions_camo camo_none
set class_demolitions_frags 5
set class_demolitions_special 1
set class_sniper_primary m40a3
set class_sniper_primary_attachment none
set class_sniper_secondary deserteagle
set class_sniper_secondary_attachment none
set class_sniper_perk1 rpg_mp
set class_sniper_perk2 specialty_fastreload
set class_sniper_perk3 specialty_holdbreath
set class_sniper_grenade flash_grenade
set class_sniper_camo camo_none
set class_sniper_frags 4
set class_sniper_special 1