Welcome to the official repository for the CoD4 Promod Scrim Server mod (pml220). This mod is a highly customized version of Call of Duty 4 Promod Live, tailored specifically for competitive matches, scrims, and public matches. It features custom GSC scripts for automated server checks, predefined gameplay variables, and a customized ruleset for balanced competition.
- ๐ Directory Structure
- โ๏ธ Key Mod Features
- ๐ Installation Guide
- ๐ ๏ธ Server Configuration (
server.cfg) - ๐ฎ Ruleset Customization
- ๐ฃ๏ธ Promod Commands & Modes
- โก Essential CoD4 RCON Commands
- ๐ธ Real-time Screenshot Dashboard (SS Site)
- ๐ฅ Credits & Contacts
Here is a view of the mod directory structure and what each file does:
pml220/
โโโ ๐ mod.ff # Compiled Mod Fastfile containing compiled maps & logic
โโโ ๐ฆ pml220.iwd # Mod Archive containing custom textures, weapons, and assets
โโโ ๐ server.cfg # Primary server configuration file (hostname, passwords, map rotation)
โโโ ๐ promod/
โ โโโ ๐ servercheck.gsc # Automated server-side setting enforcement loop
โ โโโ ๐ setvariables.gsc # Mod variables initialization (bob, throwbacks, ready-up stats)
โโโ ๐ promod_ruleset/
โโโ ๐ custom_public.gsc # Customized public ruleset (weapon limits, timers, round switch)
Ensures fair play and standard competition settings. It constantly runs in a background thread and automatically forces optimal competitive parameters:
- sv_fps:
20(Server tick rate) - sv_pure:
1(Verifies game files integrity) - sv_maxrate:
25000(Smooth network replication rate) - g_gravity:
800(Standard gravity) - g_speed:
190(Promod standard movement speed) - g_knockback:
1000(Standard weapon damage pushback) - authServerName:
cod4master.activision.com(Master query server)
- Weapon Bobbing Removed:
bg_bobMaxis set to0for perfect visual stability while running and aiming. - Grenade Throwback Disabled: Throwback inner and outer radii are disabled (
0) for predictable tactical scenarios. - PPC Custom Build: Incorporates custom variables and displays
PPC ^1LIVE ^7V2.21 EUas the active Promod version on the HUD.
This provides pre-balanced variables for all game types, including Search & Destroy (SD), Domination (DOM), Headquarters (KOTH), Sabotage (SAB), and Team Deathmatch (TDM).
- Search & Destroy Custom Rules:
- Bomb Timer:
45 seconds - Defuse Time:
7 seconds(Defenders have a fair window) - Plant Time:
5 seconds - Round Limit: First to
20wins - Round Switch: Sides swap every
10rounds - Time Limit:
1.75 minutesper round
- Bomb Timer:
- Competitive Weapon/Class Limits:
- Assault Class: Unlimited (
64), Ak47 primary, Deagle secondary, Smoke grenade default. Allows weapon dropping. - Specops Class: Max
2per team, Ak74u primary, Deagle secondary. Allows weapon dropping. - Demolitions Class: Max
1per team, W1200 primary. Weapon dropping disabled. - Sniper Class: Max
1per team, M40a3 primary. Weapon dropping disabled.
- Assault Class: Unlimited (
Installing the Promod Mod is extremely simple. Follow the steps below based on your server's Operating System.
- Locate Server Root: Navigate to your Call of Duty 4 Server installation directory (e.g.,
C:\Program Files (x86)\Activision\Call of Duty 4 - Modern Warfare\). - Create Mod Directory: Go into the
mods/folder. If it doesn't exist, create it. - Copy Mod Folder: Copy the entire
pml220folder into themods/directory. Your path should look like:...\Call of Duty 4 - Modern Warfare\mods\pml220\ - Copy server.cfg: You can keep the
server.cfginside thepml220folder or move it to your mainmain/directory. Keep it inside the mod folder for a cleaner setup. - Create Startup Batch Script: Create a start file called
start_server.batin your main CoD4 Server folder with the following command:
@echo off
cod4x_ded.exe +set fs_game "mods/pml220" +exec server.cfg +map_rotate
pause(If using standard v1.7 Dedicated server, replace cod4x_ded.exe with iw3mp.exe +set dedicated 2)
- Upload Mod Files: Upload the
pml220directory to your server's CoD4 directory under themodsfolder:/home/cod4/server/mods/pml220/ - Check File Permissions: Ensure your server user has read and execute permissions for the mod files:
chmod -R 755 /home/cod4/server/mods/pml220/
- Create Startup Script: Create or edit your startup script
start.sh:#!/bin/bash ./cod4x_ded.x86 +set fs_game "mods/pml220" +exec server.cfg +map_rotate +exec server.cfg
- Run Server: Execute the script:
./start.sh
The server.cfg controls the server identity, map rotation, and connection details.
- Server Hostname (
sv_hostname): Sets the name displayed in the server browser.set sv_hostname "^2YOUR ^7SCRIM ^1SERVER" // E.g., Green & Red colored title
- Admin Details: Set yourself as the server administrator.
sets _Admin "YourAdminName" sets _Website "www.yourwebsite.com" sets _Location "YourCountry"
- Passwords:
g_password: Set the password required to join the server (Default:your_server_password_here).rcon_password: Set the console control password (Default:your_rcon_password_here). Change this immediately!sv_privatePassword: Password for private slots (Default:your_private_password_here).
- Map Rotation (
sv_mapRotation): Currently configured to rotate standard Promod scrim maps:Backlot,Citystreets (District),Crash,Crossfire, andStrike.set sv_mapRotation "map mp_backlot map mp_citystreets map mp_crash map mp_crossfire map mp_strike"
To modify the weapon balance, attachments, or match rules:
- Open
promod_ruleset/custom_public.gsc. - Find the class limit variables or weapon variables.
- Change the binary values (
0= Disallowed,1= Allowed) or integers.
// Change this line (Line 78):
setDvar( "class_sniper_limit", 2 ); // Originally 1// Change this line (Line 119):
setDvar( "weap_allow_deserteagle", 0 ); // Originally 1Note
Ensure you do not introduce syntax errors. Each command must end with a semicolon (;).
You can dynamically change server rules and behavior using promod_mode. Use RCON to run these commands in-game:
| Mode Command | Type | Description |
|---|---|---|
/rcon promod_mode match_mr12 |
Scrim | standard MR12 Match mode (12 rounds per half) |
/rcon promod_mode match_mr10 |
Scrim | MR10 Match mode |
/rcon promod_mode strat |
Strategy | Warmup / strategy mode with infinite grenades & quick respawn |
/rcon promod_mode public |
Public | Standard casual ruleset for public lobbies |
/rcon promod_mode custom_public |
Custom | Custom ruleset defined in custom_public.gsc |
Important
When executing a new mode via RCON, you must restart the map for settings to apply:
/rcon map_restart or /rcon fast_restart
To manage your server in-game, you need to use the RCON (Remote Console). Open your developer console (~ key) and log in first:
/rcon login your_rcon_passwordOnce logged in, you can run the following commands in-game:
| Command | Description |
|---|---|
/rcon status |
Shows list of connected players, slot IDs, pings, IPs, and GUIDs. |
/rcon map_restart |
Fully restarts the current map (reloads scripts and models). |
/rcon fast_restart |
Instantly restarts the current round (faster, doesn't reload models). |
/rcon map <mapname> |
Changes the current map (e.g. /rcon map mp_crash). |
/rcon map_rotate |
Loads the next map in the sv_mapRotation queue. |
/rcon serverinfo |
Displays current server configuration settings. |
| Command | Description |
|---|---|
/rcon kick <playername> |
Kicks a player from the server by their name. |
/rcon kick <slot_id> |
Kicks a player using their slot ID (find ID using /rcon status). |
/rcon banUser <playername> |
Permanently bans a player by their name. |
/rcon banUser <slot_id> |
Permanently bans a player by their slot ID. |
/rcon tempBanUser <slot_id> |
Temporarily bans a player from the server. |
/rcon banIP <IP_address> |
Bans a specific IP address. |
/rcon unbanall |
Unbans all banned players and IPs. |
| Command | Description |
|---|---|
/rcon say "your message" |
Prints a message in the center of the screen as Console for everyone to see. |
Tip
Always use slot IDs (e.g., /rcon kick 3) instead of names to kick or ban players who are using colored names or symbols, as their names can be difficult to type.
Here are the exact RCON commands for all standard Call of Duty 4 maps. You can copy and paste these directly into your in-game console:
| Map Name | In-Game Codename | Quick-Switch RCON Command (Copy & Paste) |
|---|---|---|
| Backlot ๐ข | mp_backlot |
/rcon map mp_backlot |
| Crash ๐ | mp_crash |
/rcon map mp_crash |
| Crossfire โ๏ธ | mp_crossfire |
/rcon map mp_crossfire |
| District (Citystreets) ๐๏ธ | mp_citystreets |
/rcon map mp_citystreets |
| Strike ๐๏ธ | mp_strike |
/rcon map mp_strike |
| Vacant ๐ข | mp_vacant |
/rcon map mp_vacant |
| Crash Winter โ๏ธ | mp_crash_snow |
/rcon map mp_crash_snow |
| Broadcast ๐บ | mp_broadcast |
/rcon map mp_broadcast |
| Chinatown (Carentan) ๐ฎ | mp_carentan |
/rcon map mp_carentan |
| Killhouse ๐๏ธ | mp_killhouse |
/rcon map mp_killhouse |
| Pipeline ๐ญ | mp_pipeline |
/rcon map mp_pipeline |
| Showdown ๐ | mp_showdown |
/rcon map mp_showdown |
| Overgrown ๐พ | mp_overgrown |
/rcon map mp_overgrown |
| Shipment ๐ฆ | mp_shipment |
/rcon map mp_shipment |
| Bog ๐๏ธ | mp_bog |
/rcon map mp_bog |
| Ambush ๐ | mp_convoy |
/rcon map mp_convoy |
| Countdown ๐ | mp_countdown |
/rcon map mp_countdown |
| Downpour ๐ง๏ธ | mp_farm |
/rcon map mp_farm |
| Creek โฐ๏ธ | mp_creek |
/rcon map mp_creek |
| Bloc ๐ข | mp_bloc |
/rcon map mp_bloc |
| Wet Work ๐ข | mp_wetwork |
/rcon map mp_wetwork |
| Cargo ๐ข | mp_cargo |
/rcon map mp_cargo |
This repository contains a fully integrated, modern, glassmorphic Screenshot Dashboard (ss_site) that allows players and admins to view in-game screenshots in real-time.
- Capture: An administrator triggers
/rcon getss <slot_id>in-game. - Storage: The CoD4 server captures the player's screen and saves the
.jpginside thescreenshots/directory. - Detection: The Node.js server automatically detects the new file instantly via the
chokidarmodule. - Push Update: The new screenshot is pushed to all connected web clients in real-time using WebSockets (Socket.io)โno page reload required!
- Anti-Cheat Inspection: Open the screenshot in the web gallery to use the Precision Zoom Inspector (hover scale) to look for wallhacks, overlays, or aimbot indicators.
Open your console (PowerShell / Command Prompt / Terminal) inside the ss_site directory and run:
# Navigate to the dashboard directory
cd ss_site
# Install all backend and frontend dependencies
npm install
# Start the Express & WebSocket server
npm startOnce started, open your web browser and go to:
http://localhost:3000Note
Ensure your CoD4 server is saving screenshots in the screenshots/ folder. The dashboard automatically reads files from ../screenshots. You can edit the path inside server.js (Line 20) if needed.
- Server Owner & Admin:
24K_Me๐ - Scripter & Developer:
JEENNN:]๐ป - Official Website: 24KME.RF.GD ๐
- Location: Sri Lanka ๐ฑ๐ฐ
โก Powered by Havoc Esports Network โก