-
Notifications
You must be signed in to change notification settings - Fork 5
/
leetmod.cfg
202 lines (163 loc) · 8.17 KB
/
leetmod.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
//******************************************************************************
// SERVER SETTINGS
//******************************************************************************
// ################################################################################
// # VERY IMPORTANT: Uncomment the last line of this file if you want to use your #
// # own settings that are defined on the files of the 'config' sub-directories #
// ################################################################################
//******************************************************************************
// COLOR CODES
//******************************************************************************
// ^1 = Red, ^2 = Green, ^3 = Yellow, ^4 = Blue, ^5 = Cyan, ^6 = pink/Magenta
// ^7 = White, ^0 = Black
//******************************************************************************
//******************************************************************************
// SERVER INFORMATION
//******************************************************************************
sets sv_hostname " ^2Leetmod > ^6cod4 patch 1.8 | ^5www.Leetmod.pt.am"
sets _Admin ""
sets _Email "[email protected]"
sets _Website "www.Leetmod.pt.am"
sets _Location "Portugal"
sets _Irc ""
sets _ModUpdate ""
sets _Maps "Stock"
//sets _Maps "Stock/Custom Maps"
set scr_motd "patch 1.8 in mod for cod4!"
//******************************************************************************
// LOG SETTINGS
//******************************************************************************
// 0 = No log, 1 = Buffered, 2 = Continuous, 3 = Append
set g_logsync "1"
// 0 = No log, 1 = Log file enabled
set logfile "1"
// Name of log file, default is games_mp.log
// set g_log "games_mp.log"
// 0 = Don't log damage, 1 = Log damage
set sv_log_damage "1"
//******************************************************************************
// NETWORK OPTIONS
//******************************************************************************
set com_hunkMegs "512"
// Allow ONLY tcp/ip protocol, player/server communications
// set net_noipx "1"
// Server rate ( upstream speed in bps / ( amount of player * 8 ) )
set sv_maxRate "25000"
//******************************************************************************
// PASSWORD SETTINGS
//******************************************************************************
// RCON must supply password to use
// for security reasons, don't set the password in this or any file,
// you can set it in the command line that launches the server.
// for more details read security.txt
// set rcon_password "*DONT* SET RCON PASS HERE IF PUBLIC SERVER"
// Private slots, non-public slots
set sv_privatePassword ""
// Server password
set g_password ""
//******************************************************************************
// SERVER PLAYER SLOTS
//******************************************************************************
// MAX server player slots, this is TOTAL player slots
set sv_maxclients "32"
// Number of private player slots, maxclients - privateclients = public slots
set sv_privateclients "0"
//******************************************************************************
// REDIRECT/DOWNLOAD SETTINGS
//******************************************************************************
// Allow clients to download resources (maps or mods) that the server is using and he doesn't have
set sv_allowdownload "1"
// Clients download resources from:
// 0 = From the game server (very slow (limited to 20kB/s) and can throttle game connection)
// 1 = From a dedicated hosting server (needs to specify the resource hosting server at sv_wwwbaseURL)
set sv_wwwDownload "0"
// The address of the resources hosting server like http://example.org/cod4/
// That address points to a root directory that contains the folders 'mods' and 'usermaps' with the
// said resources that the game server uses
set sv_wwwbaseURL ""
// Allow clients to download while disconnected from the game server, ie. not occupying any slot in
// it while the download happens.
set sv_wwwdldisconnected "0"
set sv_connectTimeout "240"
//******************************************************************************
// INACTIVE PLAYERS SETUP
//******************************************************************************
set sv_timeout "240"
set sv_zombietime "2"
set g_inactivity "0"
set g_inactivityspectator "0"
//******************************************************************************
// ANTIFLOODING SETTINGS
//******************************************************************************
//set sv_floodProtect "0"
set sv_floodProtect "4"
set sv_reconnectlimit "3"
set sv_minPing "0"
set sv_maxPing "0"
// Have the clients archive data to save bandwidth on the server
set sv_clientarchive "1"
// Extrapolation between client states
// Enable it so that players with bad connections don't 'teleport'
set g_smoothClients "1"
// Enable the antilag routine inside the game engine (use only when players with
// a huge difference in ping values connect to the server).
// It sets g_antilag, but it's a dynamic dvar so you can set it by
// server load (and by gametype or maps too...)
// 0 = Disabled (default), 1 = Enabled
// set scr_antilag "0"
// Force this variable upon all clients. Disabled means that clients use their own defined value.
// 0 = Disabled (default), 15-100 = Max packets (stock cod4 value is 30)
// set scr_cl_maxpackets "0"
//******************************************************************************
// ANTICHEAT SETTINGS
//******************************************************************************
// Disable the console if you are having problems with players voting for weird map names
// (or disable callvote instead)
set sv_disableClientConsole "0"
set cl_autocmd "0"
// If 'read only', set it in launching command line arguments
set sv_cheats "0"
// Disable pure server if you're running custom maps or modded textures and clients are
// getting 'invalid ... files' error. Disabling has a cost though - clients can use their
// own game textures, like cheat models or textures (it's what happens at least in source
// engine, don't know about cod4, have to confirm it)
set sv_pure "1"
set g_banIPs ""
set g_no_script_spam "1"
// If 'read only', set it in launching command line arguments
set sv_punkbuster "0"
//******************************************************************************
// TEMPORARY BAN DURATION
//******************************************************************************
set sv_kickBanTime "1"
//******************************************************************************
// IN-GAME VOICE COMMUNICATION SETTINGS
//******************************************************************************
set sv_voice "1"
set sv_voiceQuality "7"
set sv_voiceCodec "voice_speex"
set voice_deadChat "0"
set voice_global "1"
set voice_localEcho "0"
set winvoice_mic_mute "1"
//******************************************************************************
// RULESET TO LOAD WITH MAP_ROTATION
//******************************************************************************
// Rulesets can be loaded throught the AACP, manually by setting the variable
// cod_mode or by uncommenting the following line in which case the rules will
// be automatically loaded when the server starts, and will be the default ones
// when there is no defined ruleset for the current map (see sv_mapRotation_rules)
// Format: "rule1;rule2;rule3"...
// E.g.: set cod_mode "svr_public;arm_sniper;prk_none"
// This sets the server as public, snipers only and with no perks.
// Profiles: pfl_leetmod, pfl_promod
// Available rules:
// - Armory: arm_all, arm_boltaction, arm_leetmod, arm_pistol, arm_promod, arm_shotgun, arm_sniper
// - Perks: prk_all, prk_leetmod, prk_some, prk_none
// - Server: svr_public, svr_match
// set cod_mode ""
//******************************************************************************
// LEETMOD CONFIGURATION FILES
//******************************************************************************
// Uncomment if you want to define your own settings
// exec configs/executefiles.cfg