-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.cfg
More file actions
100 lines (89 loc) · 6.41 KB
/
Copy pathserver.cfg
File metadata and controls
100 lines (89 loc) · 6.41 KB
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
// =================================================================================
// ⚡ PROFESSIONAL COD4 PROMOD LIVE SCRIM SERVER CONFIGURATION ⚡
// =================================================================================
// Setup guide:
// 1. Rename placeholders (e.g. YourAdminName, passwords) to your actual server details.
// 2. Place this file inside your server's "mods/pml220/" directory.
// 3. Start your server with: +set fs_game "mods/pml220" +exec server.cfg
// =================================================================================
// =================================================================================
// 1. SERVER INFO & HOSTNAME
// =================================================================================
sets _Admin "YourAdminName" // Server Administrator Name
sets _Website "www.yourwebsite.com" // Community Website
sets _Email "admin@yourwebsite.com" // Contact Email
sets _Location "YourCountry" // Server Location
sets _Mod "Promod Live 2.20" // Mod Name
sets _ModVer "2.20" // Mod Version
sets _ModUpdate "Yes" // Auto Update Status
sets _Maps "CoD4 Stock & Custom" // Map Type (Stock/Custom)
sets _Type "Search & Destroy" // Primary Game Type
// Server Hostname (Supports Color Codes: ^1=Red, ^2=Green, ^3=Yellow, ^4=Blue, ^5=Cyan, ^7=White)
set sv_hostname "^2YOUR ^7SCRIM ^1SERVER"
// Welcome Message / Message of the Day (MOTD)
seta scr_motd "Welcome to our Promod Scrim Server! Join our Discord/FB group!"
// =================================================================================
// 2. PASSWORDS & SECURITY
// =================================================================================
set rcon_password "your_rcon_password_here" // RCON password for remote console access (CHANGE THIS!)
set sv_privatePassword "your_private_password" // Password for private player slots
set g_password "your_server_password" // Server join password (leave empty "" for public server)
// =================================================================================
// 3. PLAYER SLOTS & CONNECTION
// =================================================================================
set sv_maxclients "12" // Maximum number of client connections
set sv_privateclients "0" // Number of slots reserved for private clients (maxclients - privateclients = public slots)
set sv_timeout "240" // Time in seconds to drop client if connection is lost
set sv_zombietime "2" // Time in seconds to keep slot reserved for disconnected client
set sv_reconnectlimit "3" // Limit client reconnect rate within a short timeframe
set sv_floodProtect "1" // Prevent chat spamming and connection flood attacks
set sv_kickBanTime "3600" // Ban duration in seconds (1 hour)
// =================================================================================
// 4. NETWORK & PERFORMANCE (CoD4 Standard)
// =================================================================================
set sv_pure "1" // Verify game file integrity (highly recommended)
set sv_fps "20" // Server tickrate (Promod Standard)
set sv_maxrate "25000" // Maximum data transfer rate per second
set sv_minPing "0" // Minimum ping required to connect
set sv_maxPing "0" // Maximum ping allowed to connect (0 = disabled)
set g_antilag "1" // Enable lag compensation
set g_smoothClients "1" // Enable client position smoothing
// =================================================================================
// 5. CLIENT DOWNLOADS & FAST-DL (HTTP Redirection)
// =================================================================================
set sv_allowDownload "1" // Allow clients to download missing maps/mods from the server
seta sv_wwwDownload "1" // Enable HTTP redirection for fast downloads (Fast-DL)
seta sv_wwwBaseURL "http://yourfastdl.com/cod4" // Base HTTP URL to host files (.iwd and .ff files)
seta sv_wwwDlDisconnected "0" // Disconnect client from server while downloading via HTTP
// =================================================================================
// 6. LOGGING & ANCILLARY SETTINGS
// =================================================================================
set logfile "1" // Enable console logging
set g_log "games_mp.log" // Log filename (saved under mods/pml220/)
set g_logSync "0" // Log synchronization (0 = asynchronous, 2 = real-time)
set g_inactivity "0" // Auto-kick inactive players (0 = disabled)
set sv_disableClientConsole "0" // Keep clients console enabled
set sv_voice "0" // Disable in-game voice chat (saves bandwidth, use Discord)
set sv_clientArchive "1" // Keep client network statistics archived
// =================================================================================
// 7. PROMOD MODE CONFIGURATION
// =================================================================================
// Standard Promod Modes:
// - match_mr12, match_mr10 (Scrim rulesets)
// - strat (Strategy/Grenade training ruleset)
// - public (Casual ruleset)
// - custom_public (Customized ruleset from custom_public.gsc)
set promod_mode "match_mr12" // Primary active Promod Mode
set promod_enable_scorebot "0" // Enable score reporting bot (Match modes only)
// =================================================================================
// 8. MAP ROTATION
// =================================================================================
set sv_maprotationcurrent "" // Leave empty (internal variable)
set sv_mapRotation "map mp_backlot map mp_citystreets map mp_crash map mp_crossfire map mp_strike"
// =================================================================================
// 9. COD4X EXTENSION SETTINGS (If running CoD4x)
// =================================================================================
loadplugin libcod4x_http_plugin // HTTP Server Plugin for CoD4x
set sv_autodemorecord "0" // Auto record player demos on server
set sv_statusSync "0" // Real-time server status syncing
set sv_authorize "0" // Verify keys against Activision server (0 for cracked/offline local play support)