-
Notifications
You must be signed in to change notification settings - Fork 0
/
server.cfg
executable file
·169 lines (137 loc) · 5.85 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
//******************************************************************************
// Call of Duty 2 - eXtreme+ modification
// Version 3.0 FINAL
//******************************************************************************
//******************************************************************************
// Public Information
//******************************************************************************
sets sv_hostname "^3e^1X^3treme^2+^7 v3.0"
sets _Admin "admin"
sets _Email "admin AT yourdomain DOT com"
sets _Website "http://www.yourdomain.com"
sets _Location "US"
sets _Mod "^3e^1X^3treme^2+^7"
sets _ModVer "v3.0"
sets _ModUpdate "FINAL"
sets _Maps "COD2 Stock & Custom"
set scr_motd "Shoot To Kill... Really!"
//******************************************************************************
// Common Server Settings
//******************************************************************************
// Log Settings
set logfile "1" // 0 = no log, 1 = buffered, 2 = continuous
set g_log "games_mp.log" // Name of log file, default is games_mp.log
set g_logsync "2" // 0 = no log, 1 = buffered, 2 = continuous, 3 = append
// Memory options
set com_hunkMegs "512"
// Network options
//set net_ip "1.2.3.4" // Set your servers IP address
//set net_port "28960" // Set your port number
set net_noipx "1" // Allow ONLY tcp/ip protocol
// Server Network Mode
set dedicated "2" // 0 = Listen, 1 = LAN, 2 = Internet
// Master servers
set sv_master1 "cod2master.activision.com"
set sv_master2 "cod2authorize.activision.com"
set sv_master3 "cod2master.infinityward.com"
set sv_master4 "cod2update.activision.com"
set sv_master5 "master.gamespy.com:28960"
set sv_master6 "master0.gamespy.com"
set sv_master7 "master1.gamespy.com"
set sv_gamespy "1"
// Password Settings
set rcon_password "somepass" // RCON must supply pw to use
set sv_privatePassword "" // Private slots, non-public slots
// The following can be used to lock out the server so that only those
// players that have been provide the password can connect. Good for
// matches, practices, etc.
set g_password ""
// Player slots setup
set sv_maxclients "32" // MAX server player slots, this is TOTAL player slots
set sv_privateclients "0" // Number of private player slots, maxclients - privateclients = public slots
// Ping
set sv_minPing "0" // MIN player ping on CONNECT. Any lower and player isn't allowed to connect
set sv_maxping "350" // MAX player ping on CONNECT. Any higher and player isn't allowed to connect
// Client Download Settings
// See included Quick Setup Guide for instructions.
set sv_allowdownload "1"
seta sv_wwwDownload "1"
seta sv_wwwBaseURL "http://www.your_website.com/base_folder"
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"
// Temporary Ban duration, in seconds
set sv_kickBanTime "3600"
// In-game voice communication system
set sv_voice "0"
set sv_voiceQuality "1"
set voice_deadChat "0"
set voice_global "0"
set voice_localEcho "0"
set winvoice_mic_mute "1"
//******************************************************************************
// Misc (more settings in scriptdata\serversettings.cfg)
//******************************************************************************
set sv_allowAnonymous "0"
set g_antilag "0"
//******************************************************************************
// Diagnostics (more settings in scriptdata\serversettings.cfg)
//******************************************************************************
// server devmode 0 - 2
//set developer "0"
//set developer_script "0"
//******************************************************************************
// Signal PunkBuster
// The "wait" suppresses an error window if the COD2 Server Console fails to
// initialize due to fatal errors, like scripting errors. The error message is
// displayed in the console window, and the console can be closed normally.
//******************************************************************************
//pb_sv_enable
wait
//******************************************************************************
// Configuration Profiles (max 6, 0 - 5)
//******************************************************************************
set scr_profile_name_0 "eXtreme+ Normal Configuration"
//set scr_profile_name_1 "[profile_name]"
//set scr_profile_dir_1 "[profile_folder]"
set scr_profile_active "0"
//******************************************************************************
// Initialize DRM Configuration CVARS
//******************************************************************************
set scr_drm_cfg_1 "serversettings.cfg"
set scr_drm_cfg_2 "redirect.cfg"
set scr_drm_cfg_3 "clancontrol.cfg"
set scr_drm_cfg_4 "security.cfg"
set scr_drm_cfg_5 "wmdcontrol.cfg"
set scr_drm_cfg_6 "healthcontrol.cfg"
set scr_drm_cfg_7 "mapcontrol.cfg"
set scr_drm_cfg_8 "monitoring.cfg"
set scr_drm_cfg_9 "ambientfx.cfg"
set scr_drm_cfg_10 "miscfeatures.cfg"
set scr_drm_cfg_11 "playercontrol.cfg"
set scr_drm_cfg_12 "weaponcontrol.cfg"
set scr_drm_cfg_13 "ranksystem.cfg"
set scr_drm_cfg_14 "gametypes.cfg"
set scr_drm_cfg_15 "jukebox.cfg"
set scr_drm_cfg_16 "specials.cfg"
//******************************************************************************
// Execute Rotation CFG
//******************************************************************************
exec maprotation.cfg