forked from matracey/docker-cod4
-
Notifications
You must be signed in to change notification settings - Fork 2
/
server.cfg
executable file
·256 lines (224 loc) · 7.2 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
//******************************************************************************
// Color Codes
//******************************************************************************
// Colors for text. Do not clear the comment in front of the color codes.
// Useful for your server name, motd msg's - Information and ref use only
//
// ^1 = Red
// ^2 = Green
// ^3 = Yellow
// ^4 = Blue
// ^5 = Cyan
// ^6 = pink/Magenta
// ^7 = White
// ^0 = Black
//******************************************************************************
// Public Information
//******************************************************************************
sets sv_hostname "My Server Name"
sets _admin "My Name"
sets _website "My URL"
sets _location "My Location"
sets _irc ""
sets _mod ""
sets _modver ""
sets _modupdate ""
set scr_motd "My Message of the Day!"
//******************************************************************************
// Common Server Settings
//******************************************************************************
// Password Settings
set rcon_password "my_rcon_password"
set sv_privatepassword ""
set g_password "my_connect_password"
// Player slots setup
set sv_maxclients "24"
set sv_privateclients "4"
// Players
set scr_player_maxhealth "100"
set scr_player_suicidespawndelay "0"
set scr_player_healthregentime "5"
set scr_player_forcerespawn "1"
set scr_player_sprinttime "4"
set g_allowvote "1"
set scr_teambalance "0"
// Teams
set scr_team_fftype "0"
set scr_team_teamkillspawndelay "20"
set scr_team_kickteamkillers "0"
// Ping
set sv_minping "0"
set sv_maxping "500"
// Log Settings
set g_logsync "1"
set logfile "async file write"
set g_log "games_mp.log"
set sv_log_damage "1"
// Network options
set net_port "28960"
set com_hunkmegs "250"
set net_noipx "1"
set dedicated "dedicated internet server"
// Master servers
set sv_master1 ""
set sv_master2 ""
set sv_master3 ""
set sv_master4 ""
set sv_master5 ""
set sv_master6 ""
set sv_master7 "cod4master.activision.com"
set sv_gamespy ""
// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
set sv_allowdownload "1"
seta sv_wwwdownload "1"
seta sv_wwwbaseurl "http://www.cod4server.com:5000/fastdl"
seta sv_wwwdldisconnected "1"
// Rate
set sv_maxrate "25000"
// FPS
set sv_fps "20"
// Drop inactive players
set sv_timeout "300"
set sv_zombietime "1"
set g_inactivity "0"
set g_inactivityspectator "0"
// AntiFlooding Settings
set sv_floodprotect "1"
set sv_reconnectlimit "3"
// Anti Cheat Settings
set sv_disableclientconsole "0"
set cl_autocmd "0"
set sv_cheats "0"
set sv_pure "1"
set g_banips ""
set g_no_script_spam "1"
set sv_punkbuster "0"
// Temporary Ban duration, in seconds
set sv_kickbantime "3600"
// In-game voice communication system
set sv_voice "0"
set sv_voicequality "4"
set voice_deadchat "0"
set voice_global "0"
set voice_localecho "0"
set winvoice_mic_mute "1"
//******************************************************************************
// Gameplay
//******************************************************************************
set scr_game_allowkillcam "1"
set scr_game_onlyheadshots "0"
set scr_game_deathpointloss "0"
set scr_game_suicidepointloss "0"
set scr_team_teamkillpointloss "1"
set scr_game_spectatetype "2"
set scr_game_forceuav "0"
set scr_game_hardpoints "1"
//******************************************************************************
// Hardpoints (Kill Streaks - 1 = allow, 0 = disallow)
//******************************************************************************
set scr_hardpoint_allowartillery "1"
set scr_hardpoint_allowuav "1"
set scr_hardpoint_allowhelicopter "1"
//******************************************************************************
// Misc
//******************************************************************************
set sv_allowanonymous "0"
set g_antilag "1"
set g_compassshowenemies "0"
set ui_maxclients ""
//******************************************************************************
// Gametypes
//******************************************************************************
// DEATHMATCH
set scr_dm_scorelimit "150"
set scr_dm_timelimit "10"
set scr_dm_roundlimit "1"
set scr_dm_numlives "0"
set scr_dm_playerrespawndelay "-1"
set scr_dm_waverespawndelay "0"
// TEAM DEATHMATCH
set scr_war_scorelimit "750"
set scr_war_timelimit "10"
set scr_war_roundlimit "1"
set scr_war_numlives "0"
set scr_war_playerrespawndelay "-1"
set scr_war_waverespawndelay "0"
// DOMINATION
set scr_dom_scorelimit "200"
set scr_dom_timelimit "0"
set scr_dom_roundlimit "1"
set scr_dom_numlives "0"
set scr_dom_playerrespawndelay "-1"
set scr_dom_waverespawndelay "0"
// SABOTAGE
set scr_sab_scorelimit "3"
set scr_sab_timelimit "10"
set scr_sab_roundlimit "3"
set scr_sab_numlives "0"
set scr_sab_playerrespawndelay "-1"
set scr_sab_waverespawndelay "-1"
set scr_sab_roundswitch "1"
set scr_sab_bombtimer "30"
set scr_sab_planttime "3"
set scr_sab_defusetime "3"
set scr_sab_hotpotato "0"
// SEARCH & DESTROY
set scr_sd_scorelimit "6"
set scr_sd_timelimit "3"
set scr_sd_roundlimit "0"
set scr_sd_numlives "1"
set scr_sd_playerrespawndelay "-1"
set scr_sd_waverespawndelay "0"
set scr_sd_roundswitch "3"
set scr_sd_bombtimer "60"
set scr_sd_planttime "7"
set scr_sd_defusetime "7"
set scr_sd_multibomb "0"
// KING OF THE HILL (HEADQUARTERS)
set scr_koth_scorelimit "250"
set scr_koth_timelimit "15"
set scr_koth_roundlimit "1"
set scr_koth_numlives "0"
set scr_koth_playerrespawndelay "-1"
set scr_koth_waverespawndelay "0"
set scr_koth_roundswitch "1"
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"
//******************************************************************************
// UI
//******************************************************************************
set scr_hardcore "0"
set scr_oldschool "0"
set ui_hud_obituaries "1"
set ui_hud_showobjicons "1"
//******************************************************************************
// Map Rotation
//******************************************************************************
set sv_maprotation "map mp_crash map mp_backlot map mp_vacant map mp_overgrown map mp_farm map mp_showdown map mp_broadcast map mp_carentan map mp_crossfire map mp_bog map mp_cargoship map mp_crash_snow map mp_creek map mp_shipment map mp_convoy map mp_countdown map mp_citystreets map mp_pipeline map mp_bloc map mp_strike map mp_killhouse"
//******************************************************************************
// Additional DVAR's
//******************************************************************************
// There are simply too many DVAR's for ModernRcon to explicitly list and index
// for you. All additional DVAR's (such as weapon configs and player configs) are
// listed below.
// WEAPONS / ATTACHMENTS
// CLASS CONFIGs
// PERKS CONFIG
set perk_weapreloadmultiplier "0.5"
set perk_grenadedeath "frag_grenade_short_mp"
set perk_explosivedamage "25"
set perk_parabolicangle "180"
set perk_bulletdamage "40"
set perk_weapratemultiplier "0.75"
set perk_extrabreath "5"
set perk_armorvest "75"
set perk_parabolicicon "specialty_parabolic"
set perk_sprintmultiplier "2"
set perk_weapspreadmultiplier "0.65"
set perk_parabolicradius "400"
set perk_bulletpenetrationmultiplier "2"