-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathserver_default.cfg
275 lines (240 loc) · 23.7 KB
/
server_default.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
/////////////////////////////////////////////////////////////////////////
// __ __ _____ _ _ _____ //
// | \/ | ___| | | | __ _|__ /___ //
// | |\/| | |_ | |_| |/ _` | / // _ \ //
// | | | | _| | _ | (_| |/ /| __/ //
// |_| |_|_| |_| |_|\__,_/____\___| //
// //
// Author: MFHaZe //
// Creation Year: 2024 //
// GitHub: https://github.com/MFHaZe/H2M-HMW-server-config //
/////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////
// Call of Duty: Modern Warfare Remastered MP Dedicated Server Config //
// H2M-MOD //
/////////////////////////////////////////////////////////////////////////
// This config best view with Notepad++ OR //
// other *nix compatible editors of your choice.//
//////////////////////////////////////////////////
// Remove "//" in front of lines to allow the //
// server to read them. //
// Anything after "//" is a comment. //
//////////////////////////////////////////////////
//////////////////////////////////////////////////
// SERVER NAME & COLORS TIPS //
//////////////////////////////////////////////////
// //
// ^1 Red //
// ^2 Green //
// ^3 yellow //
// ^4 Blue //
// ^5 Cyan //
// ^6 Pink //
// ^7 White //
// ^8 Depends on the team colors playing. //
// ^9 Dark Red //
// ^0 Black //
// ^: Rainbow //
// //
//////////////////////////////////////////////////
set g_password "" // Password Protected Server. Leave blank if you want players to join or set password if you want to keep public out.
set sv_lanOnly "0" // Set this to true if local server
set sv_serverkey "13HaZeyHosting37" // Set your H2M server key, from https://panel.h2m-mod.dev/login (1 key per server you run)
//////////////////////////////////////////////////
// BASIC SERVER CONFIGURATION //
//////////////////////////////////////////////////
set sv_hostname "^5Server Hosted By ^6www.HaZe^2Hosting.com^1!" // Sets the name of your server on the server browser
set sv_motd "^7Get Hosting ^3@ ^6www.HaZey^2Hosting.com" // Sets a custom motd which is shown on the intel message loadscreen when a player joins. Leave blank for default intel messages.
set party_maxplayers "18" // Sets the max player count of the server (2-18)
set sv_maxclients "18" // (DOES NOT SEEM TO WORK) Max players in your server. (Range 2-18)
set sv_timeout "20" // Timeout time period. You will timeout after (20) seconds when attempting to connect or if you are getting connection interruptions
set sv_reconnectlimit "3" // How many times you can try to reconnect
set g_inactivity "420" // Time in seconds before the server will kick a user for inactivity (range 0 - 10000)
set sv_kickBanTime "3600" // Time in seconds for a player temporary ban (on kick/tempban) (range 0 - 3600)
seta g_allowVote "1" // Toggle voting for [player kick/map restart/next map] (0 or 1 (default) )
seta g_deadChat "0" // Toggle allowing dead players to chat with living players (0 (default) or 1)
set scr_xpscale "1" // XP earn rate (1-2) [Maybe only 2x on weekends?]
set scr_game_hardpoints "1" // Allows Killstreaks (1 - on, 0 - off)
//////////////////////////////////////////////////
// MFHaZe Added CONFIGURATION //
//////////////////////////////////////////////////
set pm_bouncing "1" // Enable bouncing.
set pm_bouncingAllAngles "0" // Enable bouncing from all angles.
set pm_cs_strafing "1" // Enable CS like strafing.
set g_enableElevators "0" // Enable Elevators.
set g_playerCollision "1" // Togglt For Player Collision
set g_playerEjection "1" // Togglt For Player Collision
//////////////////////////////////////////////////
// PRIVATE SLOT SETTINGS //
//////////////////////////////////////////////////
seta sv_privateClients 0 // Maximum number of private clients allowed on the server (range 0-18 (clamped to sv_maxclients) )
// Password for the private slots on this server. If set, users will be prompted on join attempt.
// Users providing this password will have access to all slots.
// Users providing an incorrect password will have access to the (sv_maxClients - sv_privateClients) public slots.
seta sv_privatePassword ""
//////////////////////////////////////////////////
// GENERIC GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_game_disablesprint 0 // Disables the possibility of sprinting
set scr_game_forceuav 0 // Constant UAV
set scr_game_deleteturrets 0 // Disable the use of turrets
set scr_player_forcerespawn 1 // Disable auto respawn
set scr_game_onlyheadshots 0 // Only headshots are valid
set scr_thirdPerson 0 // All players play in third person
set scr_diehard 0 // Hardcore mode
//set scr_killcount_persists 0 // Killstreaks count persist after player died ( Need Testing! )
set scr_game_deathpointloss 0 // Penalty when player die
set scr_game_suicidepointloss 0 // Penalty when player suicide
set scr_team_teamkillpointloss 0 // Penalty when player kill a team mate
//////////////////////////////////////////////////
// HARDCORE CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for some hardcore //
// by removing the // before each set dvar. //
//////////////////////////////////////////////////
// set g_hardcore "1" // Enable hardcore mode
// set scr_hardcore "1" // Enable hardcore mode again...
// set ui_hud_hardcore "1" // Removes Heads up display which can be used both regular and HC
// set scr_player_maxhealth "30" // Percent of Health players will have on Respawn. (100 is normal. 30 is hardcore)
// set scr_team_fftype "1" // Enable or Disable Friendly Fire. (1 on, 2 reflect, 3 shared)
// set scr_player_healthregentime "0" // Time it takes you to recover damage. (5 is normal, 0 is hardcore)
// set scr_team_teamkillkicklimit "3" // How many times to get kick for team killling.
//////////////////////////////////////////////////
// B3, IW4MADMIN, GAME LOG & RCON SETTINGS //
//////////////////////////////////////////////////
set logfile "2" // Enable loging 1-2? enable. 0 disable. Leave it on if you plan on using B3 or IW4MAdmin.
set g_logSync "1" // 0 only flush on game end, 1 flush when buffer full, 2 always flush after a write, 3 append to old logs.
set g_log "logs\default.log" // IMPORTANT! Make sure the filename is unique for each server you clone!
set rcon_password "yourpassword" // RemoteControl password, needed for most management tools like IW4MADMIN and B3. Do not skip if you installing IW4MADMIN.
set sv_sayName "^7" // name server-side 'say' commands show up as.
//////////////////////////////////////////////////
// FREE FOR ALL GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_dm_scorelimit "30" // Score limit to win the game.
set scr_dm_timelimit "10" // Duration in minutes for the game to end if the score limit is not reached.
set scr_dm_playerrespawndelay "0" // How long player will wait until respawn.
set scr_dm_numlives "0" // Number of lives per player 0 for unlimited.
set scr_dm_roundlimit "1" // Rounds per game.
set scr_dm_winlimit "1" // amount of wins needed to win a round-based game
//////////////////////////////////////////////////
// TEAM DEATHMATCH GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_war_scorelimit "75" // Score limit to win the game.
set scr_war_timelimit "10" // Duration in minutes for the game to end if the score limit is not reache
set scr_war_playerrespawndelay "0" // How long player will wait until respawn.
set scr_war_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_war_numlives "0" // Number of lives per player 0 for unlimited.
set scr_war_roundlimit "1" // Rounds per game.
set scr_war_winlimit "1" // amount of wins needed to win a round-based game
//////////////////////////////////////////////////
// Kill Confirmed GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_conf_scorelimit "65" // Score limit to win the game.
set scr_conf_timelimit "10" // Duration in minutes for the game to end if the score limit is not reached.
set scr_conf_playerrespawndelay "0" // How long player will wait until respawn.
set scr_conf_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_conf_numlives "0" // Number of lives per player 0 for unlimited.
set scr_conf_roundlimit "1" // Rounds per game.
set scr_conf_winlimit "1" // amount of wins needed to win a round-based game
//////////////////////////////////////////////////
// DOMINATION GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_dom_scorelimit "200" // Score limit to win the game.
set scr_dom_timelimit "15" // Duration in minutes for the game to end if the score limit is not reached.
set scr_dom_playerrespawndelay "0" // How long player will wait until respawn.
set scr_dom_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_dom_numlives "0" // Number of lives per player per game. 0 is unlimited.
set scr_dom_roundlimit "1" // Rounds per game
set scr_dom_winlimit "1" // amount of wins needed to win a round-based game
//////////////////////////////////////////////////
// SEARCH AND DESTROY GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_sd_scorelimit "1" // Score limit to win the game.
set scr_sd_timelimit "2.5" // Duration in minutes for the game to end if the score limit is not reached.
set scr_sd_playerrespawndelay "0" // How long player will wait until respawn.
set scr_sd_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_sd_numlives "1" // Number of lives per player per game.
set scr_sd_roundlimit "0" // Rounds the game is limited to 0 for unlimited.
set scr_sd_winlimit "4" // amount of wins needed to win a round-based game.
set scr_sd_roundswitch "3" // after X rounds, switch sides.
set scr_sd_bombtimer "45" // Time taken for the bomb to detonate.
set scr_sd_defusetime "5" // Time taken to defuse the bomb.
set scr_sd_multibomb "0" // allow multiple people to 'have the bomb'.
set scr_sd_planttime "5" // How long will it take player to 'plant the bomb'.
//////////////////////////////////////////////////
// SABOTAGE GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_sab_scorelimit "0" // Score limit to win the match.
set scr_sab_timelimit "20" // Duration in minutes for the game to end if the score limit is not reached.
set scr_sab_bombtimer "30" // Duration in seconds the bomb takes to detonate.
set scr_sab_defusetime "5" // Time taken to defuse the bomb.
set scr_sab_hotpotato "0" // One bomb that the teams must fight over. One defending and one have to plant at the site.
set scr_sab_numlives "0" // Number of lives per player per game.
set scr_sab_planttime "2.5" // Time taken to plant the bomb.
set scr_sab_playerrespawndelay "7.5" // Time before respawn.
set scr_sab_roundlimit "1" // Rounds per game.
set scr_sab_roundswitch "1" // Rounds needed to be played before the teams switch sides.
set scr_sab_waverespawndelay "0" // Time delay for first respawn before the game.
//////////////////////////////////////////////////
// GAMETYPES LIST //
//////////////////////////////////////////////////
// //
// dm - Free-for-all //
// war - Team Deathmatch //
// sd - Search and Destroy //
// dom - Domination //
// conf - Kill Confirmed //
// sab - Sabotage //
// koth - Headquarters //
// hp - Hardpoint //
// gun - Gun Game //
// //
//////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// MWR MAP SHORT NAMES ROTATION LIST // MW2CR MAP SHORT NAMES ROTATION LIST // MW2 MAP SHORT NAMES ROTATION LIST // H2M-MOD DLC MAP NAMES ROTATION LIST //
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// // // // //
// Ambush - mp_convoy // Airport - airport // Afghan - mp_afghan // COMING SOON //
// Backlot - mp_backlot // Blizzard - cliffhanger // Derail - mp_derail // //
// Bog - mp_bog // Contingency - contingency // Estate - mp_estate // //
// Crash - mp_crash // DC Burning - dcburning // Favela - mp_favela // //
// Crossfire - mp_crossfire // Dumpsite - boneyard // Highrise - mp_highrise // //
// District - mp_citystreets // Gulag - gulag // Invasion - mp_invasion // //
// Downpour - mp_farm // Oilrig - oilrig // Karachi - mp_checkpoint // //
// Overgrown - mp_overgrown // Safehouse - estate // Quarry - mp_quarry // //
// Shipment - mp_shipment // Whiskey Hotel - dc_whitehouse // Rundown - mp_quarry // //
// Vacant - mp_vacant // // Rust - mp_rust // //
// // (these campaign maps do not support bots, // Scrapyard - mp_boneyard // //
// Broadcast - mp_boardcast // hp, koth, nor sab as of August 2024) // Skidrow - mp_nightshift // //
// Chinatown - mp_carentan // // Sub Base - mp_subbase // //
// Countdown - mp_countdown // // Terminal - mp_terminal // //
// Bloc - mp_bloc // // Underpass - mp_underpass // //
// Creek - mp_creek // // Wasteland - mp_brecourt // //
// Killhouse - mp_killhouse // // // //
// Pipeline - mp_pipeline // // Bailout - mp_complex // //
// Strike - mp_strike // // Salvage - mp_compact // //
// Showdown - mp_showdown // // Storm - mp_storm // //
// Wet Work - mp_cargoship // // Carnival - mp_abandon // //
// // // Fuel - mp_fuel2 // //
// Winter Crash - mp_crash_snow // // Trailer Park - mp_trailerpark // //
// Day Break - mp_farm_spring // // // //
// Beach Bog - mp_bog_summer // // // //
// // // // //
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
// EXAMPLE MAP+GAMETYPES ROTATIONS //
////////////////////////////////////////////////////////////////////////
// Single Game Mode + Maps: //
// sv_mapRotation "gametype war map mp_convoy map mp_rust" //
// //
// Several Mix Game Modes + Maps: //
// sv_mapRotation "gametype war map mp_bog gametype dm map mp_quarry" //
////////////////////////////////////////////////////////////////////////
// (only MW2 maps)
set sv_maprotation "gametype war map mp_afghan map mp_complex map mp_abandon map mp_derail map mp_estate map mp_favela map mp_fuel2 map mp_highrise map mp_invasion map mp_checkpoint map mp_quarry map mp_rundown map mp_rust map mp_compact map mp_boneyard map mp_nightshift map mp_storm map mp_subbase map mp_terminal map mp_trailerpark map mp_underpass map mp_brecourt"
// (all MWR + MW2 maps with TDM, DOM, and KC)
//set sv_maprotation "gametype war map mp_broadcast gametype dom map mp_brecourt gametype conf map mp_convoy gametype war map mp_underpass gametype dom map mp_bog_summer gametype conf map mp_trailerpark gametype war map mp_crash_snow gametype dom map mp_terminal gametype conf map mp_bloc gametype war map mp_subbase gametype dom map mp_backlot gametype conf map mp_storm gametype war map mp_bog gametype dom map mp_nightshift gametype conf map mp_carentan gametype war map mp_boneyard gametype dom map mp_countdown gametype conf map mp_compact gametype war map mp_crash gametype dom map mp_rust gametype conf map mp_creek gametype war map mp_rundown gametype dom map mp_farm gametype conf map mp_quarry gametype war map mp_crossfire gametype dom map mp_checkpoint gametype conf map mp_citystreets gametype war map mp_invasion gametype dom map mp_farm_spring gametype conf map mp_highrise gametype war map mp_killhouse gametype conf map mp_fuel2 gametype war map mp_overgrown gametype dom map mp_favela gametype conf map mp_pipeline gametype war map mp_estate gametype dom map mp_shipment gametype conf map mp_derail gametype war map mp_showdown gametype dom map mp_abandon gametype conf map mp_strike gametype war map mp_complex gametype dom map mp_vacant gametype conf map mp_afghan gametype war map mp_cargoship"
// (only MW2CR maps (can not use bots on these))
//set sv_maprotation "gametype dom map boneyard map cliffhanger map airport map dc_whitehouse map oilrig map contingency map estate map gulag map dcburning"
// (only MWR maps)
//set sv_maprotation "gametype dom map mp_convoy map mp_backlot map mp_bloc map mp_bog map mp_bog_summer map mp_broadcast map mp_carentan map mp_countdown map mp_crash map mp_crash_snow map mp_creek map mp_crossfire map mp_citystreets map mp_farm map mp_farm_spring map mp_killhouse map mp_overgrown map mp_pipeline map mp_shipment map mp_showdown map mp_strike map mp_vacant map mp_cargoship"