added 10 games docs

This commit is contained in:
Frank Harris 2025-11-11 14:59:42 -05:00
parent de1a45482d
commit f7d6667ae9
32 changed files with 6465 additions and 724 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -1,66 +0,0 @@
<?php
/**
* Big Brother Bot Server Documentation
*/
?>
<h1>Big Brother Bot Server Guide</h1>
<h2>Overview</h2>
<p><strong>Big Brother Bot</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your Big Brother Bot server.</p>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Server Information</h3>
<p style="color: #e5e7eb;">
This game server can be hosted on a VPS or dedicated server. Port configuration depends on the game engine and can typically be set in the server configuration files.
</p>
<p style="color: #e5e7eb; margin-top: 12px; font-size: 0.95em;">
<em>Refer to the official game server documentation for specific port requirements and configuration details.</em>
</p>
</div>
<h2>Getting Started</h2>
<p>To create a Big Brother Bot server:</p>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>Big Brother Bot</strong> in the list</li>
<li>Select your preferred configuration (slots, duration, etc.)</li>
<li>Add to cart and complete checkout</li>
<li>Your server will be automatically provisioned within minutes</li>
</ol>
<h2>Server Configuration</h2>
<p>After your server is created, you can configure it through the control panel:</p>
<ul>
<li>Server settings and parameters</li>
<li>Player slots and limits</li>
<li>RCON/remote control access</li>
<li>FTP file access</li>
</ul>
<h2>Common Tasks</h2>
<h3>Starting Your Server</h3>
<p>Servers are automatically started after creation. You can stop/start your server from the control panel.</p>
<h3>Connecting to Your Server</h3>
<p>Use your server's IP address and port to connect from the game client.</p>
<h3>Managing Files</h3>
<p>Access your server files via FTP using the credentials provided in your control panel.</p>
<h2>Support</h2>
<p>If you need assistance with your Big Brother Bot server:</p>
<ul>
<li>Check our <a href="/docs.php?action=view&doc=common-issues">Common Issues</a> guide</li>
<li>Contact support through your account dashboard</li>
<li>Visit the official Big Brother Bot community for game-specific help</li>
</ul>
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Important Notes</h3>
<ul style="color: #fef3c7; line-height: 1.8;">
<li>Always keep your server updated to the latest version</li>
<li>Make regular backups of your server configuration</li>
<li>Review and follow the game's End User License Agreement (EULA)</li>
</ul>
</div>

View file

@ -1,6 +0,0 @@
{
"description": "Setup and configuration guide for Big Brother Bot game servers",
"name": "Big Brother Bot",
"order": 24,
"category": "todo"
}

View file

@ -1,54 +1,332 @@
<?php
/**
* Call of Duty Server Documentation
* Call of Duty Server Documentation - Comprehensive Guide
*/
?>
<h1>Call of Duty Server Guide</h1>
<h2>Overview</h2>
<p><strong>Call of Duty</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your Call of Duty server.</p>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Server Information</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">28960</code></li>
<li><strong style="color: #ffffff;">Protocol:</strong> UDP</li>
<li><strong style="color: #ffffff;">Additional Info:</strong> Default game port</li>
</ul>
<p style="color: #e5e7eb; margin-top: 12px; font-size: 0.95em;">
<em>Note: When running on a VPS or dedicated server, you can use the default port or configure a custom port in your server configuration file.</em>
</p>
<h3 style="color: #ffffff; margin-top: 0;">📚 Quick Navigation</h3>
<div style="display: flex; flex-wrap: wrap; gap: 10px;">
<a href="#quick-info" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">Quick Info</a>
<a href="#ports" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">🔌 Ports</a>
<a href="#installation" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">Installation</a>
<a href="#configuration" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">Configuration</a>
<a href="#parameters" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">⚙️ Startup Parameters</a>
<a href="#troubleshooting" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">🔧 Troubleshooting</a>
<a href="#related-mods" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">Related Mods</a>
</div>
</div>
<h2>Getting Started</h2>
<p>To create a Call of Duty server:</p>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>Call of Duty</strong> in the list</li>
<li>Select your preferred configuration (slots, duration, etc.)</li>
<li>Add to cart and complete checkout</li>
<li>Your server will be automatically provisioned within minutes</li>
</ol>
<h1>Call of Duty Server Hosting Guide</h1>
<h2>Server Configuration</h2>
<p>After your server is created, you can configure it through the control panel:</p>
<h2>Overview</h2>
<p>Call of Duty is a legendary World War II first-person shooter that revolutionized multiplayer gaming. This guide covers everything you need to know about hosting a dedicated Call of Duty server on Linux or Windows platforms.</p>
<h2 id="quick-info">Quick Info</h2>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<ul style="color: #e5e7eb; line-height: 1.8; margin: 0;">
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">28960</code> (UDP)</li>
<li><strong style="color: #ffffff;">Protocol:</strong> UDP</li>
<li><strong style="color: #ffffff;">Max Players:</strong> 64 (recommended 16-32 for best performance)</li>
<li><strong style="color: #ffffff;">Server Executable:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">cod_lnxded</code> (Linux) / <code>CoDMP.exe</code> (Windows)</li>
<li><strong style="color: #ffffff;">Control Protocol:</strong> RCON (Remote Console)</li>
<li><strong style="color: #ffffff;">Main Config:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">server.cfg</code></li>
<li><strong style="color: #ffffff;">Recommended RAM:</strong> 512MB - 1GB</li>
<li><strong style="color: #ffffff;">PunkBuster Support:</strong> Yes</li>
</ul>
</div>
<h2 id="ports">🔌 Network Ports Used</h2>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Required Ports</h3>
<table style="width: 100%; color: #e5e7eb; border-collapse: collapse;">
<thead>
<tr style="background: #0f172a;">
<th style="padding: 10px; text-align: left; color: #ffffff;">Port</th>
<th style="padding: 10px; text-align: left; color: #ffffff;">Protocol</th>
<th style="padding: 10px; text-align: left; color: #ffffff;">Purpose</th>
<th style="padding: 10px; text-align: left; color: #ffffff;">Required?</th>
</tr>
</thead>
<tbody>
<tr style="border-bottom: 1px solid #374151;">
<td style="padding: 10px;"><code style="background: #0f172a; padding: 2px 6px; border-radius: 3px;">28960</code></td>
<td style="padding: 10px;">UDP</td>
<td style="padding: 10px;">Main game server port (default)</td>
<td style="padding: 10px;"><span style="color: #10b981;"> Yes</span></td>
</tr>
<tr style="border-bottom: 1px solid #374151;">
<td style="padding: 10px;"><code style="background: #0f172a; padding: 2px 6px; border-radius: 3px;">20500-20510</code></td>
<td style="padding: 10px;">UDP</td>
<td style="padding: 10px;">Master server queries</td>
<td style="padding: 10px;"><span style="color: #f59e0b;"> Optional</span></td>
</tr>
</tbody>
</table>
<h3 style="color: #ffffff; margin-top: 20px;">Firewall Configuration Examples</h3>
<pre><code style="color: #a5b4fc;"># UFW (Ubuntu/Debian)
sudo ufw allow 28960/udp comment 'CoD Server'
# FirewallD (CentOS/RHEL)
sudo firewall-cmd --permanent --add-port=28960/udp
sudo firewall-cmd --reload
# iptables
sudo iptables -A INPUT -p udp --dport 28960 -j ACCEPT
sudo iptables-save > /etc/iptables/rules.v4
</code></pre>
</div>
<h2 id="installation">Installation & Setup</h2>
<h3>System Requirements</h3>
<ul>
<li>Server settings and parameters</li>
<li>Player slots and limits</li>
<li>RCON/remote control access</li>
<li>FTP file access</li>
<li><strong>OS:</strong> Linux (32-bit or 64-bit with 32-bit libraries) or Windows</li>
<li><strong>CPU:</strong> 1+ GHz processor</li>
<li><strong>RAM:</strong> Minimum 512MB, 1GB recommended</li>
<li><strong>Storage:</strong> 500MB for server files</li>
<li><strong>Bandwidth:</strong> 256kbps upload per player</li>
</ul>
<h2>Common Tasks</h2>
<h3>Linux Installation</h3>
<pre><code># Install 32-bit libraries (if on 64-bit system)
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install lib32gcc1 lib32stdc++6
<h3>Starting Your Server</h3>
<p>Servers are automatically started after creation. You can stop/start your server from the control panel.</p>
# Create server directory
mkdir ~/cod-server
cd ~/cod-server
<h3>Connecting to Your Server</h3>
<p>Use your server's IP address and port to connect from the game client.</p>
# Extract server files (upload via FTP or download)
# Server files typically include: cod_lnxded, main/ directory, etc.
chmod +x cod_lnxded
</code></pre>
<h3>Managing Files</h3>
<p>Access your server files via FTP using the credentials provided in your control panel.</p>
<h3>First-Time Setup</h3>
<pre><code># Create basic server.cfg
cat > main/server.cfg << 'EOF'
// Server Settings
set sv_hostname "My CoD Server"
set sv_maxclients 32
set rcon_password "your_secure_password"
// Game Settings
set g_gametype "dm" // dm, tdm, sd, retrieval
set scr_friendlyfire "1"
set g_allowvote "1"
// Map Rotation
set sv_mapRotation "gametype dm map mp_harbor gametype tdm map mp_pavlov"
EOF
# Start server
./cod_lnxded +set dedicated 2 +set net_port 28960 +exec server.cfg +map_rotate
</code></pre>
<h2 id="configuration">Server Configuration</h2>
<h3>server.cfg - Essential Settings</h3>
<pre><code>// Server Identity
set sv_hostname "^1My ^7CoD Server"
set sv_maxclients 32
// Network Settings
set sv_maxRate 25000
set sv_maxPing 0
set sv_minPing 0
// Administrative
set rcon_password "your_secure_rcon_password"
set g_password "" // Server password (leave empty for public)
set g_log "games_mp.log"
set g_logsync "1"
// Gameplay Settings
set g_gametype "dm" // dm, tdm, sd, retrieval, hq
set scr_friendlyfire "1"
set scr_killcam "1"
set scr_drawfriend "1"
set g_allowvote "1"
// Time Limits and Score
set scr_dm_timelimit "15"
set scr_dm_scorelimit "50"
set scr_tdm_timelimit "15"
set scr_tdm_scorelimit "100"
// Map Rotation
set sv_mapRotation "gametype dm map mp_harbor gametype tdm map mp_pavlov gametype dm map mp_brecourt gametype tdm map mp_carentan"
// PunkBuster (Anti-Cheat)
set sv_punkbuster "1"
pb_sv_enable
</code></pre>
<h2 id="parameters">⚙️ Startup Parameters</h2>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Command Line Parameters</h3>
<table style="width: 100%; color: #e5e7eb; border-collapse: collapse;">
<thead>
<tr style="background: #0f172a;">
<th style="padding: 10px; text-align: left; color: #ffffff;">Parameter</th>
<th style="padding: 10px; text-align: left; color: #ffffff;">Description</th>
<th style="padding: 10px; text-align: left; color: #ffffff;">Example</th>
</tr>
</thead>
<tbody>
<tr style="border-bottom: 1px solid #374151;">
<td style="padding: 10px;"><code>+set dedicated</code></td>
<td style="padding: 10px;">Set server type (1=LAN, 2=Internet)</td>
<td style="padding: 10px;"><code>+set dedicated 2</code></td>
</tr>
<tr style="border-bottom: 1px solid #374151;">
<td style="padding: 10px;"><code>+set net_ip</code></td>
<td style="padding: 10px;">Bind to specific IP address</td>
<td style="padding: 10px;"><code>+set net_ip 0.0.0.0</code></td>
</tr>
<tr style="border-bottom: 1px solid #374151;">
<td style="padding: 10px;"><code>+set net_port</code></td>
<td style="padding: 10px;">Set server port</td>
<td style="padding: 10px;"><code>+set net_port 28960</code></td>
</tr>
<tr style="border-bottom: 1px solid #374151;">
<td style="padding: 10px;"><code>+set fs_basepath</code></td>
<td style="padding: 10px;">Base game directory path</td>
<td style="padding: 10px;"><code>+set fs_basepath /home/cod</code></td>
</tr>
<tr style="border-bottom: 1px solid #374151;">
<td style="padding: 10px;"><code>+set fs_homepath</code></td>
<td style="padding: 10px;">Home directory for configs/logs</td>
<td style="padding: 10px;"><code>+set fs_homepath /home/cod</code></td>
</tr>
<tr style="border-bottom: 1px solid #374151;">
<td style="padding: 10px;"><code>+set fs_game</code></td>
<td style="padding: 10px;">Load a mod (folder in main/)</td>
<td style="padding: 10px;"><code>+set fs_game mods/mymod</code></td>
</tr>
<tr style="border-bottom: 1px solid #374151;">
<td style="padding: 10px;"><code>+set rcon_password</code></td>
<td style="padding: 10px;">RCON password for remote admin</td>
<td style="padding: 10px;"><code>+set rcon_password mypass</code></td>
</tr>
<tr style="border-bottom: 1px solid #374151;">
<td style="padding: 10px;"><code>+set sv_maxclients</code></td>
<td style="padding: 10px;">Maximum player slots</td>
<td style="padding: 10px;"><code>+set sv_maxclients 32</code></td>
</tr>
<tr style="border-bottom: 1px solid #374151;">
<td style="padding: 10px;"><code>+set sv_punkbuster</code></td>
<td style="padding: 10px;">Enable PunkBuster (0=off, 1=on)</td>
<td style="padding: 10px;"><code>+set sv_punkbuster 1</code></td>
</tr>
<tr style="border-bottom: 1px solid #374151;">
<td style="padding: 10px;"><code>+exec</code></td>
<td style="padding: 10px;">Execute config file on startup</td>
<td style="padding: 10px;"><code>+exec server.cfg</code></td>
</tr>
<tr>
<td style="padding: 10px;"><code>+map_rotate</code></td>
<td style="padding: 10px;">Start map rotation defined in config</td>
<td style="padding: 10px;"><code>+map_rotate</code></td>
</tr>
</tbody>
</table>
<h3 style="color: #ffffff; margin-top: 20px;">Full Startup Command Example</h3>
<pre><code style="color: #a5b4fc;">./cod_lnxded +set dedicated 2 +set net_ip 0.0.0.0 +set net_port 28960 +set fs_basepath /home/cod +set fs_homepath /home/cod +set sv_punkbuster 0 +exec server.cfg +set rcon_password mypassword +set sv_maxclients 32 +map_rotate</code></pre>
</div>
<h2 id="troubleshooting">🔧 Troubleshooting</h2>
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Common Issues & Solutions</h3>
<h4 style="color: #fef3c7;">Server Not Visible in Server Browser</h4>
<ul style="color: #fef3c7; line-height: 1.8;">
<li><strong>Check firewall:</strong> Ensure port 28960/UDP is open</li>
<li><strong>Verify dedicated setting:</strong> Must be <code>+set dedicated 2</code> for internet servers</li>
<li><strong>Master server:</strong> Official master servers may no longer be active; consider server listing services</li>
<li><strong>Port forwarding:</strong> If behind NAT, forward UDP port 28960 to server IP</li>
</ul>
<h4 style="color: #fef3c7;">Server Crashes on Startup</h4>
<ul style="color: #fef3c7; line-height: 1.8;">
<li><strong>Missing libraries:</strong> Install 32-bit libraries on 64-bit Linux systems</li>
<li><strong>Permissions:</strong> Ensure server executable has execute permissions (<code>chmod +x cod_lnxded</code>)</li>
<li><strong>Invalid paths:</strong> Check fs_basepath and fs_homepath point to valid directories</li>
<li><strong>Corrupted files:</strong> Re-verify server file integrity</li>
</ul>
<h4 style="color: #fef3c7;">Players Can't Connect</h4>
<ul style="color: #fef3c7; line-height: 1.8;">
<li><strong>Version mismatch:</strong> Ensure clients and server run same game version/patch</li>
<li><strong>Password protected:</strong> Remove g_password or share password with players</li>
<li><strong>Server full:</strong> Check sv_maxclients setting</li>
<li><strong>Firewall blocking:</strong> Verify firewall rules allow incoming UDP on game port</li>
</ul>
<h4 style="color: #fef3c7;">High Ping / Lag Issues</h4>
<ul style="color: #fef3c7; line-height: 1.8;">
<li><strong>Bandwidth:</strong> Ensure sufficient upload bandwidth (256kbps per player minimum)</li>
<li><strong>Max rate:</strong> Adjust <code>sv_maxRate</code> to match available bandwidth</li>
<li><strong>Player count:</strong> Reduce sv_maxclients if server can't handle load</li>
<li><strong>CPU usage:</strong> Monitor CPU usage; upgrade if consistently maxed out</li>
</ul>
<h4 style="color: #fef3c7;">RCON Not Working</h4>
<ul style="color: #fef3c7; line-height: 1.8;">
<li><strong>Password:</strong> Verify rcon_password is set correctly</li>
<li><strong>Firewall:</strong> RCON uses same port as game (28960/UDP)</li>
<li><strong>Tools:</strong> Use proper RCON tools (B3, web-based RCON, or in-game console)</li>
</ul>
</div>
<h3>Checking Server Status</h3>
<pre><code># Check if server process is running
ps aux | grep cod_lnxded
# View server logs
tail -f main/games_mp.log
# Check port is listening
netstat -ulnp | grep 28960
# or
ss -ulnp | grep 28960
</code></pre>
<h2>Game Types</h2>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">dm</strong> - Free-for-All Deathmatch</li>
<li><strong style="color: #ffffff;">tdm</strong> - Team Deathmatch</li>
<li><strong style="color: #ffffff;">sd</strong> - Search and Destroy</li>
<li><strong style="color: #ffffff;">retrieval</strong> - Retrieval (Capture the Flag variant)</li>
<li><strong style="color: #ffffff;">hq</strong> - Headquarters</li>
<li><strong style="color: #ffffff;">bel</strong> - Behind Enemy Lines</li>
</ul>
</div>
<h2>Default Maps</h2>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<ul style="color: #e5e7eb; line-height: 1.8; columns: 2;">
<li>mp_harbor</li>
<li>mp_pavlov</li>
<li>mp_brecourt</li>
<li>mp_carentan</li>
<li>mp_chateau</li>
<li>mp_depot</li>
<li>mp_dawnville</li>
<li>mp_downtown</li>
<li>mp_hurtgen</li>
<li>mp_neuville</li>
<li>mp_powcamp</li>
<li>mp_railyard</li>
<li>mp_rocket</li>
<li>mp_ship</li>
<li>mp_tigertown</li>
</ul>
</div>
<h2 id="related-mods">🔌 Related Mods & Plugins</h2>
<p>Popular server modifications compatible with Call of Duty:</p>
@ -56,19 +334,20 @@
<li><a href="../b3/">B3 (Big Brother Bot)</a> - Python-based admin bot with RCON wrapper, player warnings, ban management, statistics tracking, and automated moderation for Call of Duty servers</li>
</ul>
<h2>Support</h2>
<p>If you need assistance with your Call of Duty server:</p>
<h2>Resources</h2>
<ul>
<li>Check our <a href="/docs.php?action=view&doc=common-issues">Common Issues</a> guide</li>
<li>Contact support through your account dashboard</li>
<li>Visit the official Call of Duty community for game-specific help</li>
<li><a href="https://www.callofduty.com" target="_blank">Official Call of Duty Website</a></li>
<li><a href="/docs.php?action=view&doc=common-issues">Common Issues Guide</a></li>
<li>Server configuration generators and map rotation tools available online</li>
</ul>
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Important Notes</h3>
<ul style="color: #fef3c7; line-height: 1.8;">
<li>Always keep your server updated to the latest version</li>
<li>Make regular backups of your server configuration</li>
<li>Review and follow the game's End User License Agreement (EULA)</li>
<li>Call of Duty (2003) master servers may no longer be operational; direct connect via IP may be required</li>
<li>PunkBuster support may be deprecated; consider community anti-cheat solutions</li>
<li>Back up your server.cfg and any custom configurations regularly</li>
<li>Monitor logs for cheaters and troublemaking players</li>
<li>Keep RCON password secure and change it regularly</li>
</ul>
</div>

View file

@ -2,5 +2,5 @@
"description": "Setup and configuration guide for Call of Duty game servers",
"name": "Call of Duty",
"order": 33,
"category": "todo"
"category": "game"
}

View file

@ -3,52 +3,410 @@
* Call of Duty 2 Server Documentation
*/
?>
<h1>Call of Duty 2 Server Guide</h1>
<style>
.nav-menu {
background: #1a1a2e;
padding: 15px;
border-radius: 8px;
margin-bottom: 25px;
}
.nav-menu a {
color: #4a9eff;
text-decoration: none;
margin-right: 15px;
font-size: 14px;
}
.nav-menu a:hover {
color: #6bb3ff;
text-decoration: underline;
}
.info-box {
background: #1e3a5f;
padding: 20px;
border-left: 4px solid #3b82f6;
margin: 20px 0;
border-radius: 4px;
}
.warning-box {
background: #78350f;
padding: 20px;
border-left: 4px solid #f59e0b;
margin: 20px 0;
border-radius: 4px;
}
.code-block {
background: #0f172a;
padding: 15px;
border-radius: 4px;
margin: 15px 0;
overflow-x: auto;
}
.code-block code {
color: #a5b4fc;
font-family: 'Courier New', monospace;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
background: #1a1a2e;
}
table th {
background: #2a2a4e;
color: #ffffff;
padding: 12px;
text-align: left;
border: 1px solid #3a3a6e;
}
table td {
padding: 10px 12px;
border: 1px solid #3a3a6e;
color: #e5e7eb;
}
table tr:nth-child(even) {
background: #222244;
}
</style>
<h2>Overview</h2>
<p><strong>Call of Duty 2</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your Call of Duty 2 server.</p>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Server Information</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">28960</code></li>
<li><strong style="color: #ffffff;">Protocol:</strong> UDP</li>
<li><strong style="color: #ffffff;">Additional Info:</strong> Default game port</li>
</ul>
<p style="color: #e5e7eb; margin-top: 12px; font-size: 0.95em;">
<em>Note: When running on a VPS or dedicated server, you can use the default port or configure a custom port in your server configuration file.</em>
</p>
<div class="nav-menu">
<strong style="color: #ffffff;">Quick Navigation:</strong>
<a href="#quick-info">Quick Info</a> |
<a href="#ports">Ports</a> |
<a href="#installation">Installation</a> |
<a href="#configuration">Configuration</a> |
<a href="#parameters">Parameters</a> |
<a href="#troubleshooting">Troubleshooting</a> |
<a href="#game-types">Game Types</a> |
<a href="#maps">Maps</a> |
<a href="#related-mods">Mods</a>
</div>
<h2>Getting Started</h2>
<p>To create a Call of Duty 2 server:</p>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>Call of Duty 2</strong> in the list</li>
<li>Select your preferred configuration (slots, duration, etc.)</li>
<li>Add to cart and complete checkout</li>
<li>Your server will be automatically provisioned within minutes</li>
</ol>
<h1>Call of Duty 2 Server Guide</h1>
<h2>Server Configuration</h2>
<p>After your server is created, you can configure it through the control panel:</p>
<h2 id="quick-info">📋 Quick Info</h2>
<div class="info-box">
<h3 style="color: #ffffff; margin-top: 0;">Server Specifications</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Game:</strong> Call of Duty 2 (2005)</li>
<li><strong style="color: #ffffff;">Platform:</strong> Linux / Windows</li>
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">28960/UDP</code></li>
<li><strong style="color: #ffffff;">Max Players:</strong> 64 (typical: 32-64)</li>
<li><strong style="color: #ffffff;">Control Protocol:</strong> RCON</li>
<li><strong style="color: #ffffff;">Executable (Linux):</strong> cod2_lnxded</li>
<li><strong style="color: #ffffff;">Executable (Windows):</strong> CoD2MP_s.exe</li>
</ul>
</div>
<h2 id="ports">🔌 Ports & Firewall Configuration</h2>
<p>Call of Duty 2 servers require specific ports to be open for proper operation:</p>
<table>
<thead>
<tr>
<th>Port</th>
<th>Protocol</th>
<th>Purpose</th>
<th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td>28960</td>
<td>UDP</td>
<td>Game port (default, configurable)</td>
<td>Yes</td>
</tr>
<tr>
<td>28960</td>
<td>TCP</td>
<td>RCON remote control (optional)</td>
<td>Optional</td>
</tr>
<tr>
<td>20500-20510</td>
<td>UDP</td>
<td>PunkBuster (if enabled)</td>
<td>Optional</td>
</tr>
</tbody>
</table>
<h3>Firewall Examples</h3>
<p><strong>UFW (Ubuntu/Debian):</strong></p>
<div class="code-block">
<code>sudo ufw allow 28960/udp comment 'CoD2 Game Port'
sudo ufw allow 28960/tcp comment 'CoD2 RCON'
sudo ufw allow 20500:20510/udp comment 'CoD2 PunkBuster'</code>
</div>
<p><strong>FirewallD (CentOS/RHEL/Fedora):</strong></p>
<div class="code-block">
<code>sudo firewall-cmd --permanent --add-port=28960/udp
sudo firewall-cmd --permanent --add-port=28960/tcp
sudo firewall-cmd --permanent --add-port=20500-20510/udp
sudo firewall-cmd --reload</code>
</div>
<p><strong>iptables:</strong></p>
<div class="code-block">
<code>sudo iptables -A INPUT -p udp --dport 28960 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 28960 -j ACCEPT
sudo iptables -A INPUT -p udp --dport 20500:20510 -j ACCEPT</code>
</div>
<h2 id="installation">⚙️ Installation & Setup</h2>
<h3>System Requirements</h3>
<ul>
<li>Server settings and parameters</li>
<li>Player slots and limits</li>
<li>RCON/remote control access</li>
<li>FTP file access</li>
<li><strong>OS:</strong> Linux (Debian, Ubuntu, CentOS) or Windows Server 2016+</li>
<li><strong>CPU:</strong> 2+ cores recommended</li>
<li><strong>RAM:</strong> 2GB minimum, 4GB recommended</li>
<li><strong>Disk:</strong> 5GB for base game + space for logs</li>
<li><strong>Network:</strong> Low latency connection, 10Mbps+ bandwidth</li>
</ul>
<h2>Common Tasks</h2>
<h3>Linux Installation</h3>
<ol>
<li><strong>Download Server Files:</strong> Obtain Call of Duty 2 dedicated server files from legitimate source</li>
<li><strong>Create Server Directory:</strong>
<div class="code-block"><code>mkdir -p ~/cod2server
cd ~/cod2server</code></div>
</li>
<li><strong>Extract Files:</strong> Extract server files to the directory</li>
<li><strong>Set Permissions:</strong>
<div class="code-block"><code>chmod +x cod2_lnxded</code></div>
</li>
<li><strong>Create Configuration:</strong> Create <code>server.cfg</code> in the <code>main</code> directory</li>
</ol>
<h3>Starting Your Server</h3>
<p>Servers are automatically started after creation. You can stop/start your server from the control panel.</p>
<h3>Windows Installation</h3>
<ol>
<li>Install Call of Duty 2 dedicated server files</li>
<li>Create a <code>server.cfg</code> file in the <code>main</code> directory</li>
<li>Ensure Windows Firewall allows the game ports</li>
<li>Run <code>CoD2MP_s.exe</code> with appropriate parameters</li>
</ol>
<h3>Connecting to Your Server</h3>
<p>Use your server's IP address and port to connect from the game client.</p>
<h2 id="configuration">📝 Configuration</h2>
<h3>Managing Files</h3>
<p>Access your server files via FTP using the credentials provided in your control panel.</p>
<h3>Basic server.cfg Example</h3>
<div class="code-block">
<code>// Server Name
set sv_hostname "My Call of Duty 2 Server"
// Network Settings
set net_ip "0.0.0.0"
set net_port 28960
// Server Type (1=LAN, 2=Internet)
set dedicated 2
// Player Limits
set sv_maxclients 32
// RCON Password
set rcon_password "your_secure_password_here"
// Game Settings
set g_gametype "dm" // dm, tdm, sd, ctf, hq, bel
set sv_maxPing 350
set sv_minPing 0
// PunkBuster (0=off, 1=on)
set sv_punkbuster 1
// Map Rotation
set sv_mapRotation "gametype dm map mp_burgundy gametype tdm map mp_toujane gametype sd map mp_carentan"
// Password Protection (leave empty for public)
set g_password ""
// Friendly Fire
set scr_friendlyfire 1
// Kill Cam
set scr_killcam 1
// Game Log
set g_log "games_mp.log"
set g_logsync 1
// Voice Chat
set sv_voice 1
set voice_deadChat 0
set voice_global 0
// Anti-Lag
set sv_fps 20
// Downloads
set sv_allowDownload 1</code>
</div>
<h2 id="parameters">🚀 Startup Parameters</h2>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>+set dedicated</td>
<td>Server mode (1=LAN, 2=Internet)</td>
<td>+set dedicated 2</td>
</tr>
<tr>
<td>+set net_ip</td>
<td>Bind to specific IP address</td>
<td>+set net_ip "0.0.0.0"</td>
</tr>
<tr>
<td>+set net_port</td>
<td>Server port (default: 28960)</td>
<td>+set net_port 28960</td>
</tr>
<tr>
<td>+set fs_basepath</td>
<td>Base installation directory</td>
<td>+set fs_basepath "/home/user/cod2"</td>
</tr>
<tr>
<td>+set fs_homepath</td>
<td>Config and log directory</td>
<td>+set fs_homepath "/home/user/.callofduty2"</td>
</tr>
<tr>
<td>+set fs_game</td>
<td>Mod folder (if using mods)</td>
<td>+set fs_game "mods/mymod"</td>
</tr>
<tr>
<td>+set sv_punkbuster</td>
<td>Enable PunkBuster (0=off, 1=on)</td>
<td>+set sv_punkbuster 1</td>
</tr>
<tr>
<td>+exec</td>
<td>Execute config file on startup</td>
<td>+exec server.cfg</td>
</tr>
<tr>
<td>+set rcon_password</td>
<td>RCON password for remote admin</td>
<td>+set rcon_password "secret123"</td>
</tr>
<tr>
<td>+set sv_maxclients</td>
<td>Maximum player slots</td>
<td>+set sv_maxclients 32</td>
</tr>
<tr>
<td>+map_rotate</td>
<td>Start map rotation from server.cfg</td>
<td>+map_rotate</td>
</tr>
</tbody>
</table>
<h3>Example Startup Command (Linux)</h3>
<div class="code-block">
<code>./cod2_lnxded +set dedicated 2 +set net_ip "0.0.0.0" +set net_port 28960 +set sv_maxclients 32 +set sv_punkbuster 1 +exec server.cfg +map_rotate</code>
</div>
<h3>Example Startup Command (Windows)</h3>
<div class="code-block">
<code>CoD2MP_s.exe +set dedicated 2 +set net_ip "0.0.0.0" +set net_port 28960 +set sv_maxclients 32 +set sv_punkbuster 1 +exec server.cfg +map_rotate</code>
</div>
<h2 id="troubleshooting">🔧 Troubleshooting</h2>
<h3>Server Not Appearing in Browser</h3>
<p><strong>Issue:</strong> Players cannot see the server in the in-game browser.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>+set dedicated 2</code> is set (not 1 for LAN)</li>
<li>Ensure UDP port 28960 is open in firewall</li>
<li>Check master server connectivity (master servers may be outdated)</li>
<li>Verify server is online: <code>ps aux | grep cod2</code></li>
<li>Try direct connect using IP:PORT</li>
</ul>
<h3>Server Crashes on Startup</h3>
<p><strong>Issue:</strong> Dedicated server crashes immediately after launch.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check <code>games_mp.log</code> for error messages</li>
<li>Verify all required game files are present</li>
<li>Ensure <code>server.cfg</code> syntax is correct (no typos)</li>
<li>Remove custom mods temporarily to isolate issue</li>
<li>On Linux, verify 32-bit libraries are installed: <code>sudo apt-get install lib32gcc1</code></li>
<li>Check file permissions: <code>chmod +x cod2_lnxded</code></li>
</ul>
<h3>Connection Problems</h3>
<p><strong>Issue:</strong> Players cannot connect or timeout.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify firewall rules allow traffic on game port</li>
<li>Check <code>sv_maxPing</code> setting (increase if players have high latency)</li>
<li>Ensure server is not full (<code>sv_maxclients</code>)</li>
<li>Disable password if testing: <code>set g_password ""</code></li>
<li>Verify client and server game versions match</li>
</ul>
<h3>High Lag/Ping Issues</h3>
<p><strong>Issue:</strong> Players experience significant lag.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Increase <code>sv_fps</code> setting (recommended: 20)</li>
<li>Reduce <code>sv_maxclients</code> if server is overloaded</li>
<li>Check server CPU and RAM usage</li>
<li>Verify network bandwidth is sufficient</li>
<li>Lower <code>sv_maxPing</code> to restrict high-ping players</li>
</ul>
<h3>RCON Not Working</h3>
<p><strong>Issue:</strong> Cannot connect via RCON.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>rcon_password</code> is set in <code>server.cfg</code></li>
<li>Ensure TCP port 28960 is open (in addition to UDP)</li>
<li>Use correct RCON syntax: <code>/rcon login password</code> then <code>/rcon command</code></li>
<li>Test RCON from server console first</li>
</ul>
<h2 id="game-types">🎮 Game Types</h2>
<p>Call of Duty 2 supports the following game modes:</p>
<ul>
<li><strong>dm</strong> - Deathmatch (Free-for-all)</li>
<li><strong>tdm</strong> - Team Deathmatch</li>
<li><strong>sd</strong> - Search & Destroy</li>
<li><strong>ctf</strong> - Capture the Flag</li>
<li><strong>hq</strong> - Headquarters</li>
<li><strong>bel</strong> - Behind Enemy Lines</li>
</ul>
<h2 id="maps">🗺️ Default Maps</h2>
<p>Call of Duty 2 includes the following default multiplayer maps:</p>
<ul>
<li><strong>mp_burgundy</strong> - Burgundy (France)</li>
<li><strong>mp_carentan</strong> - Carentan (France)</li>
<li><strong>mp_downtown</strong> - Downtown (Russia)</li>
<li><strong>mp_leningrad</strong> - Leningrad (Russia)</li>
<li><strong>mp_matmata</strong> - Matmata (Tunisia)</li>
<li><strong>mp_railyard</strong> - Railyard (Russia)</li>
<li><strong>mp_toujane</strong> - Toujane (Tunisia)</li>
<li><strong>mp_trainstation</strong> - Train Station (Russia)</li>
<li><strong>mp_breakout</strong> - Breakout (Egypt)</li>
<li><strong>mp_brecourt</strong> - Brecourt (France)</li>
<li><strong>mp_dawnville</strong> - Dawnville (France)</li>
<li><strong>mp_decoy</strong> - Decoy (Russia)</li>
</ul>
<h2 id="related-mods">🔌 Related Mods & Plugins</h2>
<p>Popular server modifications compatible with Call of Duty 2:</p>
@ -56,19 +414,22 @@
<li><a href="../b3/">B3 (Big Brother Bot)</a> - Python-based admin bot with RCON wrapper, player warnings, ban management, statistics tracking, and automated moderation for Call of Duty servers</li>
</ul>
<h2>Support</h2>
<p>If you need assistance with your Call of Duty 2 server:</p>
<h2>📚 Resources</h2>
<ul>
<li>Check our <a href="/docs.php?action=view&doc=common-issues">Common Issues</a> guide</li>
<li>Contact support through your account dashboard</li>
<li>Visit the official Call of Duty 2 community for game-specific help</li>
<li><strong>Official Documentation:</strong> Limited (game released 2005)</li>
<li><strong>Community Forums:</strong> Various Call of Duty dedicated server communities</li>
<li><strong>RCON Tools:</strong> B3, CoD2RCON, RconGUI</li>
<li><strong>Master Server:</strong> May require community master server solutions</li>
</ul>
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
<div class="warning-box">
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Important Notes</h3>
<ul style="color: #fef3c7; line-height: 1.8;">
<li>Always keep your server updated to the latest version</li>
<li>Make regular backups of your server configuration</li>
<li>Review and follow the game's End User License Agreement (EULA)</li>
<li>Call of Duty 2 uses <strong>RCON protocol (old type)</strong> for remote administration</li>
<li>Map rotation in CoD2 uses the <code>sv_mapRotation</code> variable with a specific syntax</li>
<li>PunkBuster is optional but recommended for anti-cheat protection</li>
<li>Master servers for CoD2 may no longer be fully operational; consider direct connect methods</li>
<li>Always secure your RCON password and restrict access to trusted administrators only</li>
<li>Regular backups of your server configuration are highly recommended</li>
</ul>
</div>

View file

@ -2,5 +2,5 @@
"description": "Setup and configuration guide for Call of Duty 2 game servers",
"name": "Call of Duty 2",
"order": 29,
"category": "todo"
"category": "game"
}

View file

@ -3,72 +3,499 @@
* Call of Duty 4: Modern Warfare Server Documentation
*/
?>
<h1>Call of Duty 4: Modern Warfare Server Guide</h1>
<style>
.nav-menu {
background: #1a1a2e;
padding: 15px;
border-radius: 8px;
margin-bottom: 25px;
}
.nav-menu a {
color: #4a9eff;
text-decoration: none;
margin-right: 15px;
font-size: 14px;
}
.nav-menu a:hover {
color: #6bb3ff;
text-decoration: underline;
}
.info-box {
background: #1e3a5f;
padding: 20px;
border-left: 4px solid #3b82f6;
margin: 20px 0;
border-radius: 4px;
}
.warning-box {
background: #78350f;
padding: 20px;
border-left: 4px solid #f59e0b;
margin: 20px 0;
border-radius: 4px;
}
.code-block {
background: #0f172a;
padding: 15px;
border-radius: 4px;
margin: 15px 0;
overflow-x: auto;
}
.code-block code {
color: #a5b4fc;
font-family: 'Courier New', monospace;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
background: #1a1a2e;
}
table th {
background: #2a2a4e;
color: #ffffff;
padding: 12px;
text-align: left;
border: 1px solid #3a3a6e;
}
table td {
padding: 10px 12px;
border: 1px solid #3a3a6e;
color: #e5e7eb;
}
table tr:nth-child(even) {
background: #222244;
}
</style>
<h2>Overview</h2>
<p><strong>Call of Duty 4: Modern Warfare</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your Call of Duty 4: Modern Warfare server.</p>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Server Information</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">28960</code></li>
<li><strong style="color: #ffffff;">Protocol:</strong> UDP</li>
<li><strong style="color: #ffffff;">Additional Info:</strong> Default game port</li>
</ul>
<p style="color: #e5e7eb; margin-top: 12px; font-size: 0.95em;">
<em>Note: When running on a VPS or dedicated server, you can use the default port or configure a custom port in your server configuration file.</em>
</p>
<div class="nav-menu">
<strong style="color: #ffffff;">Quick Navigation:</strong>
<a href="#quick-info">Quick Info</a> |
<a href="#ports">Ports</a> |
<a href="#installation">Installation</a> |
<a href="#configuration">Configuration</a> |
<a href="#parameters">Parameters</a> |
<a href="#troubleshooting">Troubleshooting</a> |
<a href="#game-types">Game Types</a> |
<a href="#maps">Maps</a> |
<a href="#related-mods">Mods</a>
</div>
<h2>Getting Started</h2>
<p>To create a Call of Duty 4: Modern Warfare server:</p>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>Call of Duty 4: Modern Warfare</strong> in the list</li>
<li>Select your preferred configuration (slots, duration, etc.)</li>
<li>Add to cart and complete checkout</li>
<li>Your server will be automatically provisioned within minutes</li>
</ol>
<h1>Call of Duty 4: Modern Warfare Server Guide</h1>
<h2>Server Configuration</h2>
<p>After your server is created, you can configure it through the control panel:</p>
<h2 id="quick-info">📋 Quick Info</h2>
<div class="info-box">
<h3 style="color: #ffffff; margin-top: 0;">Server Specifications</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Game:</strong> Call of Duty 4: Modern Warfare (2007)</li>
<li><strong style="color: #ffffff;">Platform:</strong> Linux / Windows</li>
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">28960/UDP</code></li>
<li><strong style="color: #ffffff;">Max Players:</strong> 64 (typical: 18-32)</li>
<li><strong style="color: #ffffff;">Control Protocol:</strong> RCON</li>
<li><strong style="color: #ffffff;">Executable (Linux):</strong> cod4_lnxded</li>
<li><strong style="color: #ffffff;">Executable (Windows):</strong> iw3mp.exe</li>
</ul>
</div>
<h2 id="ports">🔌 Ports & Firewall Configuration</h2>
<p>Call of Duty 4: Modern Warfare servers require specific ports to be open for proper operation:</p>
<table>
<thead>
<tr>
<th>Port</th>
<th>Protocol</th>
<th>Purpose</th>
<th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td>28960</td>
<td>UDP</td>
<td>Game port (default, configurable)</td>
<td>Yes</td>
</tr>
<tr>
<td>28960</td>
<td>TCP</td>
<td>RCON remote control</td>
<td>Optional</td>
</tr>
<tr>
<td>20500-20510</td>
<td>UDP</td>
<td>PunkBuster (if enabled)</td>
<td>Optional</td>
</tr>
</tbody>
</table>
<h3>Firewall Examples</h3>
<p><strong>UFW (Ubuntu/Debian):</strong></p>
<div class="code-block">
<code>sudo ufw allow 28960/udp comment 'CoD4 Game Port'
sudo ufw allow 28960/tcp comment 'CoD4 RCON'
sudo ufw allow 20500:20510/udp comment 'CoD4 PunkBuster'</code>
</div>
<p><strong>FirewallD (CentOS/RHEL/Fedora):</strong></p>
<div class="code-block">
<code>sudo firewall-cmd --permanent --add-port=28960/udp
sudo firewall-cmd --permanent --add-port=28960/tcp
sudo firewall-cmd --permanent --add-port=20500-20510/udp
sudo firewall-cmd --reload</code>
</div>
<p><strong>iptables:</strong></p>
<div class="code-block">
<code>sudo iptables -A INPUT -p udp --dport 28960 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 28960 -j ACCEPT
sudo iptables -A INPUT -p udp --dport 20500:20510 -j ACCEPT</code>
</div>
<h2 id="installation">⚙️ Installation & Setup</h2>
<h3>System Requirements</h3>
<ul>
<li>Server settings and parameters</li>
<li>Player slots and limits</li>
<li>RCON/remote control access</li>
<li>FTP file access</li>
<li><strong>OS:</strong> Linux (Debian 9+, Ubuntu 18.04+, CentOS 7+) or Windows Server 2016+</li>
<li><strong>CPU:</strong> 2+ cores @ 2.5GHz recommended</li>
<li><strong>RAM:</strong> 2GB minimum, 4GB recommended for 32+ players</li>
<li><strong>Disk:</strong> 8GB for base game + space for mods and logs</li>
<li><strong>Network:</strong> Low latency connection, 10Mbps+ bandwidth</li>
</ul>
<h2>Common Tasks</h2>
<h3>Linux Installation</h3>
<ol>
<li><strong>Download Server Files:</strong> Obtain Call of Duty 4: Modern Warfare dedicated server files</li>
<li><strong>Create Server Directory:</strong>
<div class="code-block"><code>mkdir -p ~/cod4server
cd ~/cod4server</code></div>
</li>
<li><strong>Extract Files:</strong> Extract server files to the directory</li>
<li><strong>Install 32-bit Libraries (64-bit Linux):</strong>
<div class="code-block"><code>sudo apt-get install lib32gcc1 lib32stdc++6 # Debian/Ubuntu
sudo yum install glibc.i686 libstdc++.i686 # CentOS/RHEL</code></div>
</li>
<li><strong>Set Permissions:</strong>
<div class="code-block"><code>chmod +x cod4_lnxded</code></div>
</li>
<li><strong>Create Configuration:</strong> Create <code>server.cfg</code> in the <code>main</code> directory</li>
</ol>
<h3>Starting Your Server</h3>
<p>Servers are automatically started after creation. You can stop/start your server from the control panel.</p>
<h3>Windows Installation</h3>
<ol>
<li>Install Call of Duty 4: Modern Warfare dedicated server files</li>
<li>Create a <code>server.cfg</code> file in the <code>main</code> directory</li>
<li>Ensure Windows Firewall allows the game ports</li>
<li>Install latest Visual C++ Redistributables if needed</li>
<li>Run <code>iw3mp.exe</code> with appropriate parameters</li>
</ol>
<h3>Connecting to Your Server</h3>
<p>Use your server's IP address and port to connect from the game client.</p>
<h2 id="configuration">📝 Configuration</h2>
<h3>Managing Files</h3>
<p>Access your server files via FTP using the credentials provided in your control panel.</p>
<h3>Basic server.cfg Example</h3>
<div class="code-block">
<code>// Server Name
set sv_hostname "My Call of Duty 4 Server"
// Network Settings
set net_ip "0.0.0.0"
set net_port 28960
// Server Type (1=LAN, 2=Internet)
set dedicated 2
// Player Limits
set sv_maxclients 32
// RCON Password
set rcon_password "your_secure_password_here"
// Game Settings
set g_gametype "war" // dm, war, sab, koth, sd, hq
set sv_maxPing 350
set sv_minPing 0
// PunkBuster (0=off, 1=on)
set sv_punkbuster 1
// Map Rotation
set sv_mapRotation "gametype war map mp_crash gametype war map mp_backlot gametype war map mp_strike"
// Password Protection (leave empty for public)
set g_password ""
// Friendly Fire
set scr_team_fftype 0 // 0=off, 1=on, 2=reflect
// Kill Cam
set scr_game_allowkillcam 1
// Hardcore Mode
set scr_hardcore 0
// Game Log
set g_log "games_mp.log"
set g_logsync 2
// Voice Chat
set sv_voice 1
set sv_voiceQuality 1
// Anti-Lag
set sv_fps 20
// Downloads
set sv_allowDownload 1
// Pure Server (verify client files)
set sv_pure 1
// Spectating
set scr_game_spectatetype 2 // 0=disabled, 1=team only, 2=free
// Auto-Balance
set scr_teambalance 1
// Anti-Cheat
set sv_cheats 0</code>
</div>
<h2 id="parameters">🚀 Startup Parameters</h2>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>+set dedicated</td>
<td>Server mode (1=LAN, 2=Internet)</td>
<td>+set dedicated 2</td>
</tr>
<tr>
<td>+set net_ip</td>
<td>Bind to specific IP address</td>
<td>+set net_ip "0.0.0.0"</td>
</tr>
<tr>
<td>+set net_port</td>
<td>Server port (default: 28960)</td>
<td>+set net_port 28960</td>
</tr>
<tr>
<td>+set fs_basepath</td>
<td>Base installation directory</td>
<td>+set fs_basepath "/home/user/cod4"</td>
</tr>
<tr>
<td>+set fs_homepath</td>
<td>Config and log directory (deprecated in CoD4)</td>
<td>+set fs_homepath "/home/user/.callofduty4"</td>
</tr>
<tr>
<td>+set fs_savepath</td>
<td>Save path for logs and user data</td>
<td>+set fs_savepath "/home/user/cod4data"</td>
</tr>
<tr>
<td>+set fs_game</td>
<td>Mod folder (if using mods)</td>
<td>+set fs_game "mods/pam4"</td>
</tr>
<tr>
<td>+set sv_punkbuster</td>
<td>Enable PunkBuster (0=off, 1=on)</td>
<td>+set sv_punkbuster 1</td>
</tr>
<tr>
<td>+exec</td>
<td>Execute config file on startup</td>
<td>+exec server.cfg</td>
</tr>
<tr>
<td>+set rcon_password</td>
<td>RCON password for remote admin</td>
<td>+set rcon_password "secret123"</td>
</tr>
<tr>
<td>+set sv_maxclients</td>
<td>Maximum player slots</td>
<td>+set sv_maxclients 32</td>
</tr>
<tr>
<td>+map_rotate</td>
<td>Start map rotation from server.cfg</td>
<td>+map_rotate</td>
</tr>
<tr>
<td>+map</td>
<td>Start with specific map</td>
<td>+map mp_crash</td>
</tr>
</tbody>
</table>
<h3>Example Startup Command (Linux)</h3>
<div class="code-block">
<code>./cod4_lnxded +set dedicated 2 +set net_ip "0.0.0.0" +set net_port 28960 +set sv_maxclients 32 +set sv_punkbuster 1 +set fs_savepath "/home/user/cod4data" +exec server.cfg +map_rotate</code>
</div>
<h3>Example Startup Command (Windows)</h3>
<div class="code-block">
<code>iw3mp.exe +set dedicated 2 +set net_ip "0.0.0.0" +set net_port 28960 +set sv_maxclients 32 +set sv_punkbuster 1 +exec server.cfg +map_rotate</code>
</div>
<h2 id="troubleshooting">🔧 Troubleshooting</h2>
<h3>Server Not Appearing in Browser</h3>
<p><strong>Issue:</strong> Players cannot see the server in the in-game browser.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>+set dedicated 2</code> is set (not 1 for LAN)</li>
<li>Ensure UDP port 28960 is open in firewall</li>
<li>Check <code>sv_pure</code> setting - some clients filter out non-pure servers</li>
<li>Verify server is online: <code>ps aux | grep cod4</code></li>
<li>CoD4 master servers may have connectivity issues; try direct connect</li>
</ul>
<h3>Server Crashes on Startup</h3>
<p><strong>Issue:</strong> Dedicated server crashes immediately after launch.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check <code>games_mp.log</code> in the fs_savepath directory for error messages</li>
<li>Verify all required game files are present (zone, usermaps, main)</li>
<li>Ensure <code>server.cfg</code> syntax is correct (no typos)</li>
<li>Remove custom mods temporarily to isolate issue</li>
<li>On Linux, verify 32-bit libraries are installed</li>
<li>Check file permissions: <code>chmod +x cod4_lnxded</code></li>
<li>Try running without <code>+map_rotate</code> - specify a single map instead</li>
</ul>
<h3>Connection Problems</h3>
<p><strong>Issue:</strong> Players cannot connect or timeout.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify firewall rules allow traffic on game port</li>
<li>Check <code>sv_maxPing</code> setting (increase if players have high latency)</li>
<li>Ensure server is not full (<code>sv_maxclients</code>)</li>
<li>Disable password if testing: <code>set g_password ""</code></li>
<li>Verify client and server game versions match (patch 1.7 recommended)</li>
<li>Check <code>sv_pure</code> - if enabled, clients must have matching files</li>
</ul>
<h3>High Lag/Ping Issues</h3>
<p><strong>Issue:</strong> Players experience significant lag.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Increase <code>sv_fps</code> setting (recommended: 20, max: 30)</li>
<li>Reduce <code>sv_maxclients</code> if server is overloaded</li>
<li>Check server CPU and RAM usage</li>
<li>Verify network bandwidth is sufficient</li>
<li>Lower <code>sv_maxPing</code> to restrict high-ping players</li>
<li>Disable voice chat if not needed: <code>set sv_voice 0</code></li>
</ul>
<h3>RCON Not Working</h3>
<p><strong>Issue:</strong> Cannot connect via RCON.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>rcon_password</code> is set in <code>server.cfg</code></li>
<li>Ensure TCP port 28960 is open (in addition to UDP)</li>
<li>Use correct RCON syntax: <code>/rcon login password</code> then <code>/rcon command</code></li>
<li>Test RCON from server console first</li>
<li>CoD4 RCON is case-sensitive - verify password exactly</li>
</ul>
<h3>Mod/Custom Map Issues</h3>
<p><strong>Issue:</strong> Custom maps or mods not loading.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>+set fs_game "mods/modname"</code> parameter is set correctly</li>
<li>Ensure mod files are in the correct directory structure</li>
<li>Custom maps must be placed in <code>usermaps/mapname/</code></li>
<li>Check mod compatibility with server version (patch 1.7)</li>
<li>Enable downloads: <code>set sv_allowDownload 1</code> for clients to auto-download</li>
</ul>
<h2 id="game-types">🎮 Game Types</h2>
<p>Call of Duty 4: Modern Warfare supports the following game modes:</p>
<ul>
<li><strong>dm</strong> - Deathmatch (Free-for-all)</li>
<li><strong>war</strong> - Team Deathmatch</li>
<li><strong>sab</strong> - Sabotage</li>
<li><strong>koth</strong> - Headquarters</li>
<li><strong>sd</strong> - Search & Destroy</li>
<li><strong>hq</strong> - Headquarters (alternate)</li>
</ul>
<h2 id="maps">🗺️ Default Maps</h2>
<p>Call of Duty 4: Modern Warfare includes the following default multiplayer maps:</p>
<h3>Base Game Maps</h3>
<ul>
<li><strong>mp_backlot</strong> - Backlot</li>
<li><strong>mp_bloc</strong> - Bloc</li>
<li><strong>mp_bog</strong> - Bog</li>
<li><strong>mp_cargoship</strong> - Wet Work</li>
<li><strong>mp_citystreets</strong> - District</li>
<li><strong>mp_convoy</strong> - Ambush</li>
<li><strong>mp_countdown</strong> - Countdown</li>
<li><strong>mp_crash</strong> - Crash</li>
<li><strong>mp_crash_snow</strong> - Winter Crash</li>
<li><strong>mp_crossfire</strong> - Crossfire</li>
<li><strong>mp_farm</strong> - Downpour</li>
<li><strong>mp_overgrown</strong> - Overgrown</li>
<li><strong>mp_pipeline</strong> - Pipeline</li>
<li><strong>mp_shipment</strong> - Shipment</li>
<li><strong>mp_showdown</strong> - Showdown</li>
<li><strong>mp_strike</strong> - Strike</li>
<li><strong>mp_vacant</strong> - Vacant</li>
</ul>
<h3>Variety Map Pack (DLC)</h3>
<ul>
<li><strong>mp_broadcast</strong> - Broadcast</li>
<li><strong>mp_carentan</strong> - Chinatown (remaster)</li>
<li><strong>mp_creek</strong> - Creek</li>
<li><strong>mp_killhouse</strong> - Killhouse</li>
</ul>
<h2 id="related-mods">🔌 Related Mods & Plugins</h2>
<p>Popular server modifications compatible with Call of Duty 4: Modern Warfare:</p>
<ul>
<li><a href="../b3/">B3 (Big Brother Bot)</a> - Python-based admin bot with RCON wrapper, player warnings, ban management, statistics tracking, and automated moderation for Call of Duty servers</li>
<li><strong>ProMod</strong> - Competitive gameplay modification</li>
<li><strong>PAM</strong> - Promod Allstars Modification</li>
<li><strong>Zombiemod</strong> - Zombie survival gameplay</li>
<li><strong>CoDJumper</strong> - Parkour/jumping maps and mechanics</li>
</ul>
<h2>Support</h2>
<p>If you need assistance with your Call of Duty 4: Modern Warfare server:</p>
<h2>📚 Resources</h2>
<ul>
<li>Check our <a href="/docs.php?action=view&doc=common-issues">Common Issues</a> guide</li>
<li>Contact support through your account dashboard</li>
<li>Visit the official Call of Duty 4: Modern Warfare community for game-specific help</li>
<li><strong>Recommended Patch:</strong> 1.7 (final official patch)</li>
<li><strong>Community Forums:</strong> CoDModding community, CoD4Central</li>
<li><strong>RCON Tools:</strong> B3, CoD4X, various web-based RCON panels</li>
<li><strong>Map Database:</strong> Thousands of custom maps available from community sites</li>
</ul>
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
<div class="warning-box">
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Important Notes</h3>
<ul style="color: #fef3c7; line-height: 1.8;">
<li>Always keep your server updated to the latest version</li>
<li>Make regular backups of your server configuration</li>
<li>Review and follow the game's End User License Agreement (EULA)</li>
<li>Call of Duty 4 is one of the <strong>most popular</strong> CoD titles for dedicated servers with a large active community</li>
<li>Use <code>fs_savepath</code> instead of <code>fs_homepath</code> - the latter is deprecated in CoD4</li>
<li><strong>Patch 1.7</strong> is the recommended version for both servers and clients</li>
<li>The <code>sv_pure</code> setting enforces file verification - essential for competitive/anti-cheat servers</li>
<li>CoD4 supports extensive modding - <strong>ProMod</strong> is the standard for competitive play</li>
<li>PunkBuster is optional but recommended for public servers to prevent cheating</li>
<li>Always secure your RCON password - CoD4 RCON has been exploited in the past</li>
<li>Custom maps require proper directory structure in <code>usermaps/</code> folder</li>
<li>Consider using <strong>CoD4X</strong> (community modification) for enhanced features and security patches</li>
</ul>
</div>

View file

@ -2,5 +2,5 @@
"description": "Setup and configuration guide for Call of Duty 4: Modern Warfare game servers",
"name": "Call of Duty 4: Modern Warfare",
"order": 31,
"category": "todo"
"category": "game"
}

View file

@ -3,72 +3,424 @@
* Call of Duty: Modern Warfare 2 (IW4x) Server Documentation
*/
?>
<h1>Call of Duty: Modern Warfare 2 (IW4x) Server Guide</h1>
<style>
.nav-menu {
background: #1a1a2e;
padding: 15px;
border-radius: 8px;
margin-bottom: 25px;
}
.nav-menu a {
color: #4a9eff;
text-decoration: none;
margin-right: 15px;
font-size: 14px;
}
.nav-menu a:hover {
color: #6bb3ff;
text-decoration: underline;
}
.info-box {
background: #1e3a5f;
padding: 20px;
border-left: 4px solid #3b82f6;
margin: 20px 0;
border-radius: 4px;
}
.warning-box {
background: #78350f;
padding: 20px;
border-left: 4px solid #f59e0b;
margin: 20px 0;
border-radius: 4px;
}
.code-block {
background: #0f172a;
padding: 15px;
border-radius: 4px;
margin: 15px 0;
overflow-x: auto;
}
.code-block code {
color: #a5b4fc;
font-family: 'Courier New', monospace;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
background: #1a1a2e;
}
table th {
background: #2a2a4e;
color: #ffffff;
padding: 12px;
text-align: left;
border: 1px solid #3a3a6e;
}
table td {
padding: 10px 12px;
border: 1px solid #3a3a6e;
color: #e5e7eb;
}
table tr:nth-child(even) {
background: #222244;
}
</style>
<h2>Overview</h2>
<p><strong>Call of Duty: Modern Warfare 2 (IW4x)</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your Call of Duty: Modern Warfare 2 (IW4x) server.</p>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Server Information</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">28960</code></li>
<li><strong style="color: #ffffff;">Protocol:</strong> UDP</li>
<li><strong style="color: #ffffff;">Additional Info:</strong> Default game port (IW4x)</li>
</ul>
<p style="color: #e5e7eb; margin-top: 12px; font-size: 0.95em;">
<em>Note: When running on a VPS or dedicated server, you can use the default port or configure a custom port in your server configuration file.</em>
</p>
<div class="nav-menu">
<strong style="color: #ffffff;">Quick Navigation:</strong>
<a href="#quick-info">Quick Info</a> |
<a href="#ports">Ports</a> |
<a href="#installation">Installation</a> |
<a href="#configuration">Configuration</a> |
<a href="#parameters">Parameters</a> |
<a href="#troubleshooting">Troubleshooting</a> |
<a href="#game-types">Game Types</a> |
<a href="#maps">Maps</a> |
<a href="#related-mods">Mods</a>
</div>
<h2>Getting Started</h2>
<p>To create a Call of Duty: Modern Warfare 2 (IW4x) server:</p>
<h1>Call of Duty: Modern Warfare 2 (IW4x) Server Guide</h1>
<h2 id="quick-info">📋 Quick Info</h2>
<div class="info-box">
<h3 style="color: #ffffff; margin-top: 0;">Server Specifications</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Game:</strong> Call of Duty: Modern Warfare 2 (2009) - IW4x Client</li>
<li><strong style="color: #ffffff;">Platform:</strong> Windows (IW4x community project)</li>
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">Varies (configurable)</code></li>
<li><strong style="color: #ffffff;">Max Players:</strong> 18 (IW4x limitation)</li>
<li><strong style="color: #ffffff;">Control Protocol:</strong> RCON</li>
<li><strong style="color: #ffffff;">Executable:</strong> iw4x.exe</li>
<li><strong style="color: #ffffff;">Special:</strong> Community-maintained client with enhancements</li>
</ul>
</div>
<h2 id="ports">🔌 Ports & Firewall Configuration</h2>
<p>IW4x Modern Warfare 2 servers use configurable ports. Default configuration typically uses:</p>
<table>
<thead>
<tr>
<th>Port</th>
<th>Protocol</th>
<th>Purpose</th>
<th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td>28960 (configurable)</td>
<td>UDP</td>
<td>Game port</td>
<td>Yes</td>
</tr>
<tr>
<td>Same as game port</td>
<td>TCP</td>
<td>RCON remote control</td>
<td>Optional</td>
</tr>
</tbody>
</table>
<h3>Firewall Examples</h3>
<p><strong>UFW (Ubuntu/Debian):</strong></p>
<div class="code-block">
<code>sudo ufw allow 28960/udp comment 'MW2 IW4x Game Port'
sudo ufw allow 28960/tcp comment 'MW2 IW4x RCON'</code>
</div>
<p><strong>FirewallD (CentOS/RHEL/Fedora):</strong></p>
<div class="code-block">
<code>sudo firewall-cmd --permanent --add-port=28960/udp
sudo firewall-cmd --permanent --add-port=28960/tcp
sudo firewall-cmd --reload</code>
</div>
<p><strong>Windows Firewall:</strong></p>
<div class="code-block">
<code>netsh advfirewall firewall add rule name="MW2 IW4x UDP" dir=in action=allow protocol=UDP localport=28960
netsh advfirewall firewall add rule name="MW2 IW4x TCP" dir=in action=allow protocol=TCP localport=28960</code>
</div>
<h2 id="installation">⚙️ Installation & Setup</h2>
<h3>System Requirements</h3>
<ul>
<li><strong>OS:</strong> Windows 7/8/10/11 or Windows Server 2016+</li>
<li><strong>CPU:</strong> 2+ cores @ 2.5GHz recommended</li>
<li><strong>RAM:</strong> 2GB minimum, 4GB recommended</li>
<li><strong>Disk:</strong> 15GB for game files</li>
<li><strong>Network:</strong> Low latency connection, 10Mbps+ bandwidth</li>
<li><strong>Requirements:</strong> Original MW2 game files + IW4x client</li>
</ul>
<h3>Installation Steps</h3>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>Call of Duty: Modern Warfare 2 (IW4x)</strong> in the list</li>
<li>Select your preferred configuration (slots, duration, etc.)</li>
<li>Add to cart and complete checkout</li>
<li>Your server will be automatically provisioned within minutes</li>
<li><strong>Install Modern Warfare 2:</strong> You must have legitimate MW2 game files</li>
<li><strong>Download IW4x:</strong> Obtain IW4x client from official IW4x website (https://iw4x.org)</li>
<li><strong>Extract IW4x:</strong> Extract IW4x files into your MW2 game directory</li>
<li><strong>Create Server Config:</strong> Create <code>server.cfg</code> in <code>userraw</code> folder</li>
<li><strong>Configure Firewall:</strong> Allow game ports through Windows Firewall</li>
</ol>
<h2>Server Configuration</h2>
<p>After your server is created, you can configure it through the control panel:</p>
<h2 id="configuration">📝 Configuration</h2>
<h3>Basic server.cfg Example</h3>
<div class="code-block">
<code>// Server Name
set sv_hostname "My MW2 IW4x Server"
// Network Settings
set net_port 28960
// Server Type
set dedicated 1
// Player Limits (MAX 18 for IW4x)
set sv_maxclients 18
// RCON Password
set rcon_password "your_secure_password_here"
// Game Settings
set g_gametype "war" // dm, war, sab, koth, sd, arena, dd, ctf, oneflag
set sv_maxPing 350
// Map Rotation
set sv_mapRotation "gametype war map mp_terminal gametype war map mp_highrise gametype war map mp_rust"
// Password Protection (leave empty for public)
set g_password ""
// Friendly Fire
set scr_team_fftype 0 // 0=off, 1=on, 2=reflect
// Kill Cam
set scr_game_allowkillcam 1
// Hardcore Mode
set scr_hardcore 0
// Game Log
set g_log "games_mp.log"
set g_logsync 2
// Voice Chat
set sv_voice 0
// Anti-Lag
set sv_fps 20
// Auto-Balance
set scr_teambalance 1
// IW4x-Specific Settings
set party_enable 0
set party_maxplayers 18</code>
</div>
<h2 id="parameters">🚀 Startup Parameters</h2>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>-dedicated</td>
<td>Run as dedicated server</td>
<td>-dedicated</td>
</tr>
<tr>
<td>+set net_port</td>
<td>Server port</td>
<td>+set net_port 28960</td>
</tr>
<tr>
<td>+set sv_maxclients</td>
<td>Maximum player slots (MAX 18)</td>
<td>+set sv_maxclients 18</td>
</tr>
<tr>
<td>+set rcon_password</td>
<td>RCON password for remote admin</td>
<td>+set rcon_password "secret123"</td>
</tr>
<tr>
<td>+exec</td>
<td>Execute config file on startup</td>
<td>+exec server.cfg</td>
</tr>
<tr>
<td>+map_rotate</td>
<td>Start map rotation from config</td>
<td>+map_rotate</td>
</tr>
<tr>
<td>+map</td>
<td>Start with specific map</td>
<td>+map mp_terminal</td>
</tr>
</tbody>
</table>
<h3>Example Startup Command</h3>
<div class="code-block">
<code>iw4x.exe -dedicated +set net_port 28960 +set sv_maxclients 18 +exec server.cfg +map_rotate</code>
</div>
<h3>Example Batch File (start_server.bat)</h3>
<div class="code-block">
<code>@echo off
title MW2 IW4x Dedicated Server
iw4x.exe -dedicated +set net_port 28960 +set sv_maxclients 18 +exec server.cfg +map_rotate
pause</code>
</div>
<h2 id="troubleshooting">🔧 Troubleshooting</h2>
<h3>Server Not Appearing in Server Browser</h3>
<p><strong>Issue:</strong> Players cannot see the server in IW4x browser.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Server settings and parameters</li>
<li>Player slots and limits</li>
<li>RCON/remote control access</li>
<li>FTP file access</li>
<li>Verify <code>-dedicated</code> parameter is set</li>
<li>Ensure UDP port is open in Windows Firewall</li>
<li>Check IW4x master server connectivity</li>
<li>Try direct connect using IP:PORT</li>
<li>Verify latest IW4x version is installed</li>
</ul>
<h2>Common Tasks</h2>
<h3>Server Crashes on Startup</h3>
<p><strong>Issue:</strong> Dedicated server crashes immediately after launch.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check <code>games_mp.log</code> for error messages</li>
<li>Verify all required MW2 game files are present</li>
<li>Ensure <code>server.cfg</code> syntax is correct</li>
<li>Update to latest IW4x version</li>
<li>Verify <code>sv_maxclients</code> does not exceed 18</li>
<li>Check that IW4x files are not corrupted</li>
</ul>
<h3>Starting Your Server</h3>
<p>Servers are automatically started after creation. You can stop/start your server from the control panel.</p>
<h3>Connection Problems</h3>
<p><strong>Issue:</strong> Players cannot connect or timeout.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify firewall rules allow traffic on game port</li>
<li>Check <code>sv_maxPing</code> setting</li>
<li>Ensure server is not full (max 18 players)</li>
<li>Disable password if testing: <code>set g_password ""</code></li>
<li>Verify clients are using same IW4x version</li>
</ul>
<h3>Connecting to Your Server</h3>
<p>Use your server's IP address and port to connect from the game client.</p>
<h3>High Lag/Ping Issues</h3>
<p><strong>Issue:</strong> Players experience significant lag.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Increase <code>sv_fps</code> setting (recommended: 20)</li>
<li>Reduce <code>sv_maxclients</code> if server is overloaded</li>
<li>Check server CPU and RAM usage</li>
<li>Verify network bandwidth is sufficient</li>
<li>Lower <code>sv_maxPing</code> to restrict high-ping players</li>
</ul>
<h3>Managing Files</h3>
<p>Access your server files via FTP using the credentials provided in your control panel.</p>
<h3>Player Limit Issues</h3>
<p><strong>Issue:</strong> Cannot set more than 18 players.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>IW4x has a <strong>hard limit of 18 players</strong> - this is by design</li>
<li>Do not attempt to exceed this limit as it will cause crashes</li>
<li>This is a limitation of the IW4x engine modification</li>
</ul>
<h3>RCON Not Working</h3>
<p><strong>Issue:</strong> Cannot connect via RCON.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>rcon_password</code> is set in <code>server.cfg</code></li>
<li>Ensure TCP port is open (same port as game UDP port)</li>
<li>Use IW4x-compatible RCON tools</li>
<li>Test RCON from in-game console first</li>
</ul>
<h2 id="game-types">🎮 Game Types</h2>
<p>Modern Warfare 2 (IW4x) supports the following game modes:</p>
<ul>
<li><strong>dm</strong> - Deathmatch (Free-for-all)</li>
<li><strong>war</strong> - Team Deathmatch</li>
<li><strong>sab</strong> - Sabotage</li>
<li><strong>koth</strong> - Headquarters</li>
<li><strong>sd</strong> - Search & Destroy</li>
<li><strong>arena</strong> - Arena</li>
<li><strong>dd</strong> - Demolition</li>
<li><strong>ctf</strong> - Capture the Flag</li>
<li><strong>oneflag</strong> - One Flag CTF</li>
</ul>
<h2 id="maps">🗺️ Default Maps</h2>
<p>Modern Warfare 2 includes the following multiplayer maps:</p>
<h3>Base Game Maps</h3>
<ul>
<li><strong>mp_afghan</strong> - Afghan</li>
<li><strong>mp_derail</strong> - Derail</li>
<li><strong>mp_estate</strong> - Estate</li>
<li><strong>mp_favela</strong> - Favela</li>
<li><strong>mp_highrise</strong> - Highrise</li>
<li><strong>mp_invasion</strong> - Invasion</li>
<li><strong>mp_checkpoint</strong> - Karachi</li>
<li><strong>mp_quarry</strong> - Quarry</li>
<li><strong>mp_rundown</strong> - Rundown</li>
<li><strong>mp_rust</strong> - Rust</li>
<li><strong>mp_boneyard</strong> - Scrapyard</li>
<li><strong>mp_nightshift</strong> - Skidrow</li>
<li><strong>mp_subbase</strong> - Sub Base</li>
<li><strong>mp_terminal</strong> - Terminal</li>
<li><strong>mp_underpass</strong> - Underpass</li>
<li><strong>mp_brecourt</strong> - Wasteland</li>
</ul>
<h3>DLC Maps</h3>
<ul>
<li>Stimulus Package: Bailout, Salvage, Storm, Overgrown (CoD4 remake), Crash (CoD4 remake)</li>
<li>Resurgence Pack: Carnival, Fuel, Trailer Park, Strike (CoD4 remake), Vacant (CoD4 remake)</li>
</ul>
<h2 id="related-mods">🔌 Related Mods & Plugins</h2>
<p>Popular server modifications compatible with Call of Duty: Modern Warfare 2:</p>
<p>Popular server modifications compatible with IW4x:</p>
<ul>
<li><a href="../b3/">B3 (Big Brother Bot)</a> - Python-based admin bot with RCON wrapper, player warnings, ban management, statistics tracking, and automated moderation for Call of Duty servers</li>
<li><strong>IW4x Scripts</strong> - Custom GSC scripts for enhanced gameplay</li>
<li><strong>Custom Maps</strong> - Community-created maps compatible with IW4x</li>
</ul>
<h2>Support</h2>
<p>If you need assistance with your Call of Duty: Modern Warfare 2 server:</p>
<h2>📚 Resources</h2>
<ul>
<li>Check our <a href="/docs.php?action=view&doc=common-issues">Common Issues</a> guide</li>
<li>Contact support through your account dashboard</li>
<li>Visit the official Call of Duty: Modern Warfare 2 (IW4x) community for game-specific help</li>
<li><strong>Official Website:</strong> https://iw4x.org</li>
<li><strong>Community Discord:</strong> IW4x Discord server</li>
<li><strong>Forums:</strong> IW4x community forums</li>
<li><strong>Documentation:</strong> IW4x wiki and guides</li>
</ul>
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
<div class="warning-box">
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Important Notes</h3>
<ul style="color: #fef3c7; line-height: 1.8;">
<li>Always keep your server updated to the latest version</li>
<li>Make regular backups of your server configuration</li>
<li>Review and follow the game's End User License Agreement (EULA)</li>
<li><strong>IW4x is a community-maintained client</strong> that provides dedicated server functionality and bug fixes for MW2</li>
<li><strong>Maximum 18 players</strong> - this is a hard limit in IW4x and cannot be exceeded</li>
<li>You <strong>must own legitimate Modern Warfare 2</strong> game files to use IW4x</li>
<li>IW4x uses <strong>different command-line syntax</strong> than older CoD games (-dedicated flag instead of +set dedicated)</li>
<li>IW4x includes <strong>built-in anti-cheat</strong> and security improvements</li>
<li>Custom maps and mods are supported through IW4x</li>
<li>Always use the <strong>latest IW4x version</strong> for best compatibility and security</li>
<li>Regular backups recommended for server configurations</li>
<li>IW4x is <strong>Windows-only</strong> (no Linux dedicated server)</li>
</ul>
</div>

View file

@ -2,5 +2,5 @@
"description": "Setup and configuration guide for Call of Duty: Modern Warfare 2 (IW4x) game servers",
"name": "Call of Duty: Modern Warfare 2 (IW4x)",
"order": 35,
"category": "todo"
"category": "game"
}

View file

@ -3,72 +3,461 @@
* Call of Duty: Modern Warfare 3 Server Documentation
*/
?>
<h1>Call of Duty: Modern Warfare 3 Server Guide</h1>
<style>
.nav-menu {
background: #1a1a2e;
padding: 15px;
border-radius: 8px;
margin-bottom: 25px;
}
.nav-menu a {
color: #4a9eff;
text-decoration: none;
margin-right: 15px;
font-size: 14px;
}
.nav-menu a:hover {
color: #6bb3ff;
text-decoration: underline;
}
.info-box {
background: #1e3a5f;
padding: 20px;
border-left: 4px solid #3b82f6;
margin: 20px 0;
border-radius: 4px;
}
.warning-box {
background: #78350f;
padding: 20px;
border-left: 4px solid #f59e0b;
margin: 20px 0;
border-radius: 4px;
}
.code-block {
background: #0f172a;
padding: 15px;
border-radius: 4px;
margin: 15px 0;
overflow-x: auto;
}
.code-block code {
color: #a5b4fc;
font-family: 'Courier New', monospace;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
background: #1a1a2e;
}
table th {
background: #2a2a4e;
color: #ffffff;
padding: 12px;
text-align: left;
border: 1px solid #3a3a6e;
}
table td {
padding: 10px 12px;
border: 1px solid #3a3a6e;
color: #e5e7eb;
}
table tr:nth-child(even) {
background: #222244;
}
</style>
<h2>Overview</h2>
<p><strong>Call of Duty: Modern Warfare 3</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your Call of Duty: Modern Warfare 3 server.</p>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Server Information</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">28960</code></li>
<li><strong style="color: #ffffff;">Protocol:</strong> UDP</li>
<li><strong style="color: #ffffff;">Additional Info:</strong> Default game port</li>
</ul>
<p style="color: #e5e7eb; margin-top: 12px; font-size: 0.95em;">
<em>Note: When running on a VPS or dedicated server, you can use the default port or configure a custom port in your server configuration file.</em>
</p>
<div class="nav-menu">
<strong style="color: #ffffff;">Quick Navigation:</strong>
<a href="#quick-info">Quick Info</a> |
<a href="#ports">Ports</a> |
<a href="#installation">Installation</a> |
<a href="#configuration">Configuration</a> |
<a href="#parameters">Parameters</a> |
<a href="#troubleshooting">Troubleshooting</a> |
<a href="#game-types">Game Types</a> |
<a href="#maps">Maps</a> |
<a href="#related-mods">Mods</a>
</div>
<h2>Getting Started</h2>
<p>To create a Call of Duty: Modern Warfare 3 server:</p>
<h1>Call of Duty: Modern Warfare 3 Server Guide</h1>
<h2 id="quick-info">📋 Quick Info</h2>
<div class="info-box">
<h3 style="color: #ffffff; margin-top: 0;">Server Specifications</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Game:</strong> Call of Duty: Modern Warfare 3 (2011)</li>
<li><strong style="color: #ffffff;">Platform:</strong> Windows</li>
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">Varies (configurable)</code></li>
<li><strong style="color: #ffffff;">Max Players:</strong> 18 (engine limitation)</li>
<li><strong style="color: #ffffff;">Control Protocol:</strong> RCON</li>
<li><strong style="color: #ffffff;">Executable:</strong> iw5mp_server.exe</li>
<li><strong style="color: #ffffff;">Special:</strong> Multi-port configuration required</li>
</ul>
</div>
<h2 id="ports">🔌 Ports & Firewall Configuration</h2>
<p>Modern Warfare 3 servers require multiple port configurations for proper operation:</p>
<table>
<thead>
<tr>
<th>Port</th>
<th>Protocol</th>
<th>Purpose</th>
<th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td>27016 (configurable)</td>
<td>UDP</td>
<td>Game port</td>
<td>Yes</td>
</tr>
<tr>
<td>Game port - 1</td>
<td>UDP</td>
<td>Query port (net_queryPort)</td>
<td>Yes</td>
</tr>
<tr>
<td>-18249</td>
<td>UDP</td>
<td>Auth port (net_authPort)</td>
<td>Yes</td>
</tr>
<tr>
<td>Same as game port</td>
<td>TCP</td>
<td>RCON remote control</td>
<td>Optional</td>
</tr>
</tbody>
</table>
<h3>Firewall Examples</h3>
<p><strong>UFW (Ubuntu/Debian):</strong></p>
<div class="code-block">
<code>sudo ufw allow 27016/udp comment 'MW3 Game Port'
sudo ufw allow 27015/udp comment 'MW3 Query Port'
sudo ufw allow 27016/tcp comment 'MW3 RCON'</code>
</div>
<p><strong>Windows Firewall:</strong></p>
<div class="code-block">
<code>netsh advfirewall firewall add rule name="MW3 Game" dir=in action=allow protocol=UDP localport=27016
netsh advfirewall firewall add rule name="MW3 Query" dir=in action=allow protocol=UDP localport=27015
netsh advfirewall firewall add rule name="MW3 RCON" dir=in action=allow protocol=TCP localport=27016</code>
</div>
<h2 id="installation">⚙️ Installation & Setup</h2>
<h3>System Requirements</h3>
<ul>
<li><strong>OS:</strong> Windows 7/8/10/11 or Windows Server 2016+</li>
<li><strong>CPU:</strong> 2+ cores @ 2.5GHz recommended</li>
<li><strong>RAM:</strong> 2GB minimum, 4GB recommended</li>
<li><strong>Disk:</strong> 20GB for game files</li>
<li><strong>Network:</strong> Low latency connection, 10Mbps+ bandwidth</li>
<li><strong>Requirements:</strong> Legitimate MW3 game files</li>
</ul>
<h3>Installation Steps</h3>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>Call of Duty: Modern Warfare 3</strong> in the list</li>
<li>Select your preferred configuration (slots, duration, etc.)</li>
<li>Add to cart and complete checkout</li>
<li>Your server will be automatically provisioned within minutes</li>
<li><strong>Install Modern Warfare 3:</strong> You must have legitimate MW3 game files</li>
<li><strong>Locate Dedicated Server Files:</strong> Server files included with MW3 installation</li>
<li><strong>Create Server Directory:</strong> Separate directory recommended for dedicated server</li>
<li><strong>Create Server Config:</strong> Create <code>server.cfg</code> in <code>players2</code> folder</li>
<li><strong>Configure Firewall:</strong> Allow required ports through Windows Firewall</li>
</ol>
<h2>Server Configuration</h2>
<p>After your server is created, you can configure it through the control panel:</p>
<h2 id="configuration">📝 Configuration</h2>
<h3>Basic server.cfg Example</h3>
<div class="code-block">
<code>// Server Name
set sv_hostname "My MW3 Server"
// Network Settings (CRITICAL - Multi-port configuration)
set net_port 27016
set net_queryPort -1 // Auto-set to net_port - 1 (27015)
set net_masterServerPort -1 // Disable master server
set net_authPort -18249 // Auth port offset
// Server Type
set dedicated 2
// Player Limits (MAX 18 for MW3)
set sv_maxclients 18
// RCON Password
set rcon_password "your_secure_password_here"
// Game Settings
set g_gametype "war" // dm, war, sab, koth, sd, dom, dd, ctf
set sv_maxPing 350
// Map Rotation
set sv_mapRotation "gametype war map mp_dome gametype war map mp_hardhat gametype war map mp_seatown"
// Password Protection (leave empty for public)
set g_password ""
// Friendly Fire
set scr_team_fftype 0 // 0=off, 1=on, 2=reflect
// Kill Cam
set scr_game_allowkillcam 1
// Hardcore Mode
set scr_hardcore 0
// Game Log
set g_log "games_mp.log"
set logfile 2
// Voice Chat
set sv_voice 0
// Anti-Lag
set sv_fps 20
// Auto-Balance
set scr_teambalance 1</code>
</div>
<h2 id="parameters">🚀 Startup Parameters</h2>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>+set dedicated</td>
<td>Server mode (2=Internet)</td>
<td>+set dedicated 2</td>
</tr>
<tr>
<td>+set net_port</td>
<td>Main game port</td>
<td>+set net_port 27016</td>
</tr>
<tr>
<td>+set net_queryPort</td>
<td>Query port (-1 for auto: port-1)</td>
<td>+set net_queryPort -1</td>
</tr>
<tr>
<td>+set net_authPort</td>
<td>Auth port (-18249 standard)</td>
<td>+set net_authPort -18249</td>
</tr>
<tr>
<td>+set net_masterServerPort</td>
<td>Master server port (-1 to disable)</td>
<td>+set net_masterServerPort -1</td>
</tr>
<tr>
<td>+set sv_maxclients</td>
<td>Maximum player slots (MAX 18)</td>
<td>+set sv_maxclients 18</td>
</tr>
<tr>
<td>+set rcon_password</td>
<td>RCON password for remote admin</td>
<td>+set rcon_password "secret123"</td>
</tr>
<tr>
<td>+exec</td>
<td>Execute config file on startup</td>
<td>+exec server.cfg</td>
</tr>
<tr>
<td>+map_rotate</td>
<td>Start map rotation from config</td>
<td>+map_rotate</td>
</tr>
<tr>
<td>+map</td>
<td>Start with specific map</td>
<td>+map mp_dome</td>
</tr>
</tbody>
</table>
<h3>Example Startup Command</h3>
<div class="code-block">
<code>iw5mp_server.exe +set dedicated 2 +set net_port 27016 +set net_queryPort -1 +set net_authPort -18249 +set net_masterServerPort -1 +set sv_maxclients 18 +exec server.cfg +map_rotate</code>
</div>
<h3>Example Batch File (start_server.bat)</h3>
<div class="code-block">
<code>@echo off
title MW3 Dedicated Server
iw5mp_server.exe +set dedicated 2 +set net_port 27016 +set net_queryPort -1 +set net_authPort -18249 +set net_masterServerPort -1 +set sv_maxclients 18 +exec server.cfg +map_rotate
pause</code>
</div>
<h2 id="troubleshooting">🔧 Troubleshooting</h2>
<h3>Server Not Appearing in Browser</h3>
<p><strong>Issue:</strong> Players cannot see the server in MW3 browser.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Server settings and parameters</li>
<li>Player slots and limits</li>
<li>RCON/remote control access</li>
<li>FTP file access</li>
<li>Verify all required ports are open (game, query, auth)</li>
<li>Ensure <code>+set dedicated 2</code> is set</li>
<li>Check <code>net_queryPort</code> is set to -1 (auto)</li>
<li>Verify <code>net_authPort -18249</code> is configured</li>
<li>Try direct connect using IP:PORT</li>
</ul>
<h2>Common Tasks</h2>
<h3>Port Configuration Issues</h3>
<p><strong>Issue:</strong> Server fails to start or clients cannot connect.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>MW3 requires <strong>specific port configuration</strong>:</li>
<li>Game port: Your chosen port (e.g., 27016)</li>
<li>Query port: Set to -1 (automatically becomes game port - 1)</li>
<li>Auth port: Must be set to -18249</li>
<li>Master server port: Set to -1 (disabled)</li>
<li>Verify all three ports are open in firewall</li>
</ul>
<h3>Starting Your Server</h3>
<p>Servers are automatically started after creation. You can stop/start your server from the control panel.</p>
<h3>Server Crashes on Startup</h3>
<p><strong>Issue:</strong> Dedicated server crashes immediately after launch.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check <code>games_mp.log</code> for error messages</li>
<li>Verify all required MW3 game files are present</li>
<li>Ensure <code>server.cfg</code> syntax is correct</li>
<li>Verify <code>sv_maxclients</code> does not exceed 18</li>
<li>Check that port configuration is correct</li>
</ul>
<h3>Connecting to Your Server</h3>
<p>Use your server's IP address and port to connect from the game client.</p>
<h3>Connection Problems</h3>
<p><strong>Issue:</strong> Players cannot connect or timeout.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify firewall rules allow traffic on all required ports</li>
<li>Check <code>sv_maxPing</code> setting</li>
<li>Ensure server is not full (max 18 players)</li>
<li>Disable password if testing: <code>set g_password ""</code></li>
<li>Verify clients are using same MW3 version</li>
</ul>
<h3>Managing Files</h3>
<p>Access your server files via FTP using the credentials provided in your control panel.</p>
<h3>High Lag/Ping Issues</h3>
<p><strong>Issue:</strong> Players experience significant lag.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Increase <code>sv_fps</code> setting (recommended: 20)</li>
<li>Reduce <code>sv_maxclients</code> if server is overloaded</li>
<li>Check server CPU and RAM usage</li>
<li>Verify network bandwidth is sufficient</li>
<li>Lower <code>sv_maxPing</code> to restrict high-ping players</li>
</ul>
<h3>Player Limit Issues</h3>
<p><strong>Issue:</strong> Cannot set more than 18 players.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>MW3 has a <strong>hard limit of 18 players</strong> - this is by design</li>
<li>Do not attempt to exceed this limit as it will cause issues</li>
<li>This is an engine limitation, not a configuration issue</li>
</ul>
<h3>RCON Not Working</h3>
<p><strong>Issue:</strong> Cannot connect via RCON.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>rcon_password</code> is set in <code>server.cfg</code></li>
<li>Ensure TCP port is open (same as game UDP port)</li>
<li>Use MW3-compatible RCON tools</li>
<li>Test RCON from in-game console first</li>
</ul>
<h2 id="game-types">🎮 Game Types</h2>
<p>Modern Warfare 3 supports the following game modes:</p>
<ul>
<li><strong>dm</strong> - Deathmatch (Free-for-all)</li>
<li><strong>war</strong> - Team Deathmatch</li>
<li><strong>sab</strong> - Sabotage</li>
<li><strong>koth</strong> - Headquarters (King of the Hill)</li>
<li><strong>sd</strong> - Search & Destroy</li>
<li><strong>dom</strong> - Domination</li>
<li><strong>dd</strong> - Demolition</li>
<li><strong>ctf</strong> - Capture the Flag</li>
</ul>
<h2 id="maps">🗺️ Default Maps</h2>
<p>Modern Warfare 3 includes the following multiplayer maps:</p>
<h3>Base Game Maps</h3>
<ul>
<li><strong>mp_dome</strong> - Dome</li>
<li><strong>mp_hardhat</strong> - Hardhat</li>
<li><strong>mp_paris</strong> - Resistance</li>
<li><strong>mp_seatown</strong> - Seatown</li>
<li><strong>mp_bravo</strong> - Mission</li>
<li><strong>mp_underground</strong> - Underground</li>
<li><strong>mp_village</strong> - Village</li>
<li><strong>mp_alpha</strong> - Lockdown</li>
<li><strong>mp_bootleg</strong> - Bootleg</li>
<li><strong>mp_carbon</strong> - Carbon</li>
<li><strong>mp_exchange</strong> - Downturn</li>
<li><strong>mp_hillside_ss</strong> - Fallen</li>
<li><strong>mp_interchange</strong> - Interchange</li>
<li><strong>mp_lambeth</strong> - Lambeth</li>
<li><strong>mp_mogadishu</strong> - Bakaara</li>
<li><strong>mp_plaza2</strong> - Arkaden</li>
</ul>
<h3>DLC Maps</h3>
<ul>
<li>Collection 1: Liberation, Piazza, Overwatch, Black Box</li>
<li>Collection 2: Sanctuary, Foundation, Oasis, Terminal (MW2 remake)</li>
<li>Collection 3: Boardwalk, Parish, Off Shore, Gulch</li>
<li>Collection 4: Intersection, Vortex, U-Turn, Lookout</li>
</ul>
<h2 id="related-mods">🔌 Related Mods & Plugins</h2>
<p>Popular server modifications compatible with Call of Duty: Modern Warfare 3:</p>
<p>Popular server modifications compatible with MW3:</p>
<ul>
<li><a href="../b3/">B3 (Big Brother Bot)</a> - Python-based admin bot with RCON wrapper, player warnings, ban management, statistics tracking, and automated moderation for Call of Duty servers</li>
<li><strong>Custom GSC Scripts</strong> - Server-side gameplay modifications</li>
</ul>
<h2>Support</h2>
<p>If you need assistance with your Call of Duty: Modern Warfare 3 server:</p>
<h2>📚 Resources</h2>
<ul>
<li>Check our <a href="/docs.php?action=view&doc=common-issues">Common Issues</a> guide</li>
<li>Contact support through your account dashboard</li>
<li>Visit the official Call of Duty: Modern Warfare 3 community for game-specific help</li>
<li><strong>Community Forums:</strong> MW3 modding and server communities</li>
<li><strong>Documentation:</strong> Limited official documentation available</li>
<li><strong>RCON Tools:</strong> B3, various web-based RCON panels</li>
</ul>
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
<div class="warning-box">
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Important Notes</h3>
<ul style="color: #fef3c7; line-height: 1.8;">
<li>Always keep your server updated to the latest version</li>
<li>Make regular backups of your server configuration</li>
<li>Review and follow the game's End User License Agreement (EULA)</li>
<li><strong>Maximum 18 players</strong> - this is a hard engine limit and cannot be exceeded</li>
<li>MW3 requires <strong>multi-port configuration</strong> for proper operation:
<ul style="margin-top: 8px;">
<li>Game port: Your chosen port</li>
<li>Query port: -1 (auto: game port - 1)</li>
<li>Auth port: -18249 (required)</li>
<li>Master server port: -1 (disabled)</li>
</ul>
</li>
<li>You <strong>must own legitimate Modern Warfare 3</strong> game files</li>
<li>MW3 is <strong>Windows-only</strong> for dedicated servers</li>
<li>The <code>players2</code> folder contains server configuration and data</li>
<li>Always secure your RCON password and restrict access</li>
<li>Regular backups recommended for server configurations</li>
<li>Ensure all three required ports (game, query, auth) are open in firewall</li>
</ul>
</div>

View file

@ -2,5 +2,5 @@
"description": "Setup and configuration guide for Call of Duty: Modern Warfare 3 game servers",
"name": "Call of Duty: Modern Warfare 3",
"order": 36,
"category": "todo"
"category": "game"
}

View file

@ -3,52 +3,418 @@
* Call of Duty: United Offensive Server Documentation
*/
?>
<h1>Call of Duty: United Offensive Server Guide</h1>
<style>
.nav-menu {
background: #1a1a2e;
padding: 15px;
border-radius: 8px;
margin-bottom: 25px;
}
.nav-menu a {
color: #4a9eff;
text-decoration: none;
margin-right: 15px;
font-size: 14px;
}
.nav-menu a:hover {
color: #6bb3ff;
text-decoration: underline;
}
.info-box {
background: #1e3a5f;
padding: 20px;
border-left: 4px solid #3b82f6;
margin: 20px 0;
border-radius: 4px;
}
.warning-box {
background: #78350f;
padding: 20px;
border-left: 4px solid #f59e0b;
margin: 20px 0;
border-radius: 4px;
}
.code-block {
background: #0f172a;
padding: 15px;
border-radius: 4px;
margin: 15px 0;
overflow-x: auto;
}
.code-block code {
color: #a5b4fc;
font-family: 'Courier New', monospace;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
background: #1a1a2e;
}
table th {
background: #2a2a4e;
color: #ffffff;
padding: 12px;
text-align: left;
border: 1px solid #3a3a6e;
}
table td {
padding: 10px 12px;
border: 1px solid #3a3a6e;
color: #e5e7eb;
}
table tr:nth-child(even) {
background: #222244;
}
</style>
<h2>Overview</h2>
<p><strong>Call of Duty: United Offensive</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your Call of Duty: United Offensive server.</p>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Server Information</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">28960</code></li>
<li><strong style="color: #ffffff;">Protocol:</strong> UDP</li>
<li><strong style="color: #ffffff;">Additional Info:</strong> Default game port</li>
</ul>
<p style="color: #e5e7eb; margin-top: 12px; font-size: 0.95em;">
<em>Note: When running on a VPS or dedicated server, you can use the default port or configure a custom port in your server configuration file.</em>
</p>
<div class="nav-menu">
<strong style="color: #ffffff;">Quick Navigation:</strong>
<a href="#quick-info">Quick Info</a> |
<a href="#ports">Ports</a> |
<a href="#installation">Installation</a> |
<a href="#configuration">Configuration</a> |
<a href="#parameters">Parameters</a> |
<a href="#troubleshooting">Troubleshooting</a> |
<a href="#game-types">Game Types</a> |
<a href="#maps">Maps</a> |
<a href="#related-mods">Mods</a>
</div>
<h2>Getting Started</h2>
<p>To create a Call of Duty: United Offensive server:</p>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>Call of Duty: United Offensive</strong> in the list</li>
<li>Select your preferred configuration (slots, duration, etc.)</li>
<li>Add to cart and complete checkout</li>
<li>Your server will be automatically provisioned within minutes</li>
</ol>
<h1>Call of Duty: United Offensive Server Guide</h1>
<h2>Server Configuration</h2>
<p>After your server is created, you can configure it through the control panel:</p>
<h2 id="quick-info">📋 Quick Info</h2>
<div class="info-box">
<h3 style="color: #ffffff; margin-top: 0;">Server Specifications</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Game:</strong> Call of Duty: United Offensive (2004 Expansion)</li>
<li><strong style="color: #ffffff;">Platform:</strong> Linux / Windows</li>
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">28960/UDP</code></li>
<li><strong style="color: #ffffff;">Max Players:</strong> 64 (typical: 32-64)</li>
<li><strong style="color: #ffffff;">Control Protocol:</strong> RCON</li>
<li><strong style="color: #ffffff;">Executable (Linux):</strong> coduo_lnxded</li>
<li><strong style="color: #ffffff;">Executable (Windows):</strong> CoDUOMP_s.exe</li>
</ul>
</div>
<h2 id="ports">🔌 Ports & Firewall Configuration</h2>
<p>Call of Duty: United Offensive servers require specific ports to be open for proper operation:</p>
<table>
<thead>
<tr>
<th>Port</th>
<th>Protocol</th>
<th>Purpose</th>
<th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td>28960</td>
<td>UDP</td>
<td>Game port (default, configurable)</td>
<td>Yes</td>
</tr>
<tr>
<td>28960</td>
<td>TCP</td>
<td>RCON remote control (optional)</td>
<td>Optional</td>
</tr>
<tr>
<td>20500-20510</td>
<td>UDP</td>
<td>PunkBuster (if enabled)</td>
<td>Optional</td>
</tr>
</tbody>
</table>
<h3>Firewall Examples</h3>
<p><strong>UFW (Ubuntu/Debian):</strong></p>
<div class="code-block">
<code>sudo ufw allow 28960/udp comment 'CoDUO Game Port'
sudo ufw allow 28960/tcp comment 'CoDUO RCON'
sudo ufw allow 20500:20510/udp comment 'CoDUO PunkBuster'</code>
</div>
<p><strong>FirewallD (CentOS/RHEL/Fedora):</strong></p>
<div class="code-block">
<code>sudo firewall-cmd --permanent --add-port=28960/udp
sudo firewall-cmd --permanent --add-port=28960/tcp
sudo firewall-cmd --permanent --add-port=20500-20510/udp
sudo firewall-cmd --reload</code>
</div>
<p><strong>iptables:</strong></p>
<div class="code-block">
<code>sudo iptables -A INPUT -p udp --dport 28960 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 28960 -j ACCEPT
sudo iptables -A INPUT -p udp --dport 20500:20510 -j ACCEPT</code>
</div>
<h2 id="installation">⚙️ Installation & Setup</h2>
<h3>System Requirements</h3>
<ul>
<li>Server settings and parameters</li>
<li>Player slots and limits</li>
<li>RCON/remote control access</li>
<li>FTP file access</li>
<li><strong>OS:</strong> Linux (Debian, Ubuntu, CentOS) or Windows Server 2016+</li>
<li><strong>CPU:</strong> 2+ cores recommended</li>
<li><strong>RAM:</strong> 2GB minimum, 4GB recommended</li>
<li><strong>Disk:</strong> 5GB for base game + expansion + space for logs</li>
<li><strong>Network:</strong> Low latency connection, 10Mbps+ bandwidth</li>
</ul>
<h2>Common Tasks</h2>
<h3>Linux Installation</h3>
<ol>
<li><strong>Download Server Files:</strong> Obtain Call of Duty: United Offensive dedicated server files</li>
<li><strong>Create Server Directory:</strong>
<div class="code-block"><code>mkdir -p ~/coduoserver
cd ~/coduoserver</code></div>
</li>
<li><strong>Extract Files:</strong> Extract server files to the directory</li>
<li><strong>Set Permissions:</strong>
<div class="code-block"><code>chmod +x coduo_lnxded</code></div>
</li>
<li><strong>Create Configuration:</strong> Create <code>server.cfg</code> in the <code>main</code> directory</li>
</ol>
<h3>Starting Your Server</h3>
<p>Servers are automatically started after creation. You can stop/start your server from the control panel.</p>
<h3>Windows Installation</h3>
<ol>
<li>Install Call of Duty: United Offensive dedicated server files</li>
<li>Create a <code>server.cfg</code> file in the <code>main</code> directory</li>
<li>Ensure Windows Firewall allows the game ports</li>
<li>Run <code>CoDUOMP_s.exe</code> with appropriate parameters</li>
</ol>
<h3>Connecting to Your Server</h3>
<p>Use your server's IP address and port to connect from the game client.</p>
<h2 id="configuration">📝 Configuration</h2>
<h3>Managing Files</h3>
<p>Access your server files via FTP using the credentials provided in your control panel.</p>
<h3>Basic server.cfg Example</h3>
<div class="code-block">
<code>// Server Name
set sv_hostname "My CoD:UO Server"
// Network Settings
set net_ip "0.0.0.0"
set net_port 28960
// Server Type (1=LAN, 2=Internet)
set dedicated 2
// Player Limits
set sv_maxclients 32
// RCON Password
set rcon_password "your_secure_password_here"
// Game Settings
set g_gametype "dm" // dm, tdm, sd, ctf, hq, bel, dom
set sv_maxPing 350
set sv_minPing 0
// PunkBuster (0=off, 1=on)
set sv_punkbuster 1
// Map Rotation
set sv_mapRotation "gametype dm map mp_foy gametype tdm map mp_rhinevalley gametype dom map mp_ponyri"
// Password Protection (leave empty for public)
set g_password ""
// Friendly Fire
set scr_friendlyfire 1
// Kill Cam
set scr_killcam 1
// Game Log
set g_log "games_mp.log"
set g_logsync 1
// Voice Chat
set sv_voice 1
set voice_deadChat 0
set voice_global 0
// Anti-Lag
set sv_fps 20
// Downloads
set sv_allowDownload 1
// UO-Specific: Tanks and Vehicles
set scr_allow_tanks 1
set scr_allow_vehicles 1</code>
</div>
<h2 id="parameters">🚀 Startup Parameters</h2>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>+set dedicated</td>
<td>Server mode (1=LAN, 2=Internet)</td>
<td>+set dedicated 2</td>
</tr>
<tr>
<td>+set net_ip</td>
<td>Bind to specific IP address</td>
<td>+set net_ip "0.0.0.0"</td>
</tr>
<tr>
<td>+set net_port</td>
<td>Server port (default: 28960)</td>
<td>+set net_port 28960</td>
</tr>
<tr>
<td>+set fs_basepath</td>
<td>Base installation directory</td>
<td>+set fs_basepath "/home/user/coduo"</td>
</tr>
<tr>
<td>+set fs_homepath</td>
<td>Config and log directory</td>
<td>+set fs_homepath "/home/user/.callofdutyuo"</td>
</tr>
<tr>
<td>+set fs_game</td>
<td>Mod folder (if using mods)</td>
<td>+set fs_game "mods/mymod"</td>
</tr>
<tr>
<td>+set sv_punkbuster</td>
<td>Enable PunkBuster (0=off, 1=on)</td>
<td>+set sv_punkbuster 1</td>
</tr>
<tr>
<td>+exec</td>
<td>Execute config file on startup</td>
<td>+exec server.cfg</td>
</tr>
<tr>
<td>+set rcon_password</td>
<td>RCON password for remote admin</td>
<td>+set rcon_password "secret123"</td>
</tr>
<tr>
<td>+set sv_maxclients</td>
<td>Maximum player slots</td>
<td>+set sv_maxclients 32</td>
</tr>
<tr>
<td>+map_rotate</td>
<td>Start map rotation from server.cfg</td>
<td>+map_rotate</td>
</tr>
</tbody>
</table>
<h3>Example Startup Command (Linux)</h3>
<div class="code-block">
<code>./coduo_lnxded +set dedicated 2 +set net_ip "0.0.0.0" +set net_port 28960 +set sv_maxclients 32 +set sv_punkbuster 1 +exec server.cfg +map_rotate</code>
</div>
<h3>Example Startup Command (Windows)</h3>
<div class="code-block">
<code>CoDUOMP_s.exe +set dedicated 2 +set net_ip "0.0.0.0" +set net_port 28960 +set sv_maxclients 32 +set sv_punkbuster 1 +exec server.cfg +map_rotate</code>
</div>
<h2 id="troubleshooting">🔧 Troubleshooting</h2>
<h3>Server Not Appearing in Browser</h3>
<p><strong>Issue:</strong> Players cannot see the server in the in-game browser.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>+set dedicated 2</code> is set (not 1 for LAN)</li>
<li>Ensure UDP port 28960 is open in firewall</li>
<li>Check master server connectivity (may be limited for older games)</li>
<li>Verify server is online: <code>ps aux | grep coduo</code></li>
<li>Try direct connect using IP:PORT</li>
</ul>
<h3>Server Crashes on Startup</h3>
<p><strong>Issue:</strong> Dedicated server crashes immediately after launch.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check <code>games_mp.log</code> for error messages</li>
<li>Verify all required game files and expansion files are present</li>
<li>Ensure <code>server.cfg</code> syntax is correct (no typos)</li>
<li>Remove custom mods temporarily to isolate issue</li>
<li>On Linux, verify 32-bit libraries: <code>sudo apt-get install lib32gcc1</code></li>
<li>Check file permissions: <code>chmod +x coduo_lnxded</code></li>
</ul>
<h3>Connection Problems</h3>
<p><strong>Issue:</strong> Players cannot connect or timeout.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify firewall rules allow traffic on game port</li>
<li>Check <code>sv_maxPing</code> setting (increase if players have high latency)</li>
<li>Ensure server is not full (<code>sv_maxclients</code>)</li>
<li>Disable password if testing: <code>set g_password ""</code></li>
<li>Verify client and server game versions match (must have UO expansion)</li>
</ul>
<h3>High Lag/Ping Issues</h3>
<p><strong>Issue:</strong> Players experience significant lag.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Increase <code>sv_fps</code> setting (recommended: 20)</li>
<li>Reduce <code>sv_maxclients</code> if server is overloaded</li>
<li>Check server CPU and RAM usage</li>
<li>Verify network bandwidth is sufficient</li>
<li>Lower <code>sv_maxPing</code> to restrict high-ping players</li>
<li>Disable vehicles/tanks on large maps if performance is poor</li>
</ul>
<h3>RCON Not Working</h3>
<p><strong>Issue:</strong> Cannot connect via RCON.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>rcon_password</code> is set in <code>server.cfg</code></li>
<li>Ensure TCP port 28960 is open (in addition to UDP)</li>
<li>Use correct RCON syntax: <code>/rcon login password</code> then <code>/rcon command</code></li>
<li>Test RCON from server console first</li>
</ul>
<h2 id="game-types">🎮 Game Types</h2>
<p>Call of Duty: United Offensive supports the following game modes:</p>
<ul>
<li><strong>dm</strong> - Deathmatch (Free-for-all)</li>
<li><strong>tdm</strong> - Team Deathmatch</li>
<li><strong>sd</strong> - Search & Destroy</li>
<li><strong>ctf</strong> - Capture the Flag</li>
<li><strong>hq</strong> - Headquarters</li>
<li><strong>bel</strong> - Behind Enemy Lines</li>
<li><strong>dom</strong> - Domination (NEW in United Offensive)</li>
</ul>
<h2 id="maps">🗺️ Default Maps</h2>
<p>United Offensive includes these multiplayer maps (in addition to original CoD maps):</p>
<h3>New UO Maps</h3>
<ul>
<li><strong>mp_foy</strong> - Foy (Belgium, Battle of Bastogne)</li>
<li><strong>mp_ponyri</strong> - Ponyri (Russia, Battle of Kursk)</li>
<li><strong>mp_rhinevalley</strong> - Rhine Valley (Germany)</li>
<li><strong>mp_sicily</strong> - Sicily (Italy)</li>
<li><strong>mp_kursk</strong> - Kursk (Russia, large tank map)</li>
</ul>
<h3>Original CoD Maps (Also Available)</h3>
<ul>
<li>mp_brecourt, mp_carentan, mp_chateau, mp_dawnville, mp_depot</li>
<li>mp_harbor, mp_hurtgen, mp_neuville, mp_pavlov, mp_powcamp</li>
<li>mp_railyard, mp_rocket, mp_ship, mp_tigertown</li>
</ul>
<h2 id="related-mods">🔌 Related Mods & Plugins</h2>
<p>Popular server modifications compatible with Call of Duty: United Offensive:</p>
@ -56,19 +422,23 @@
<li><a href="../b3/">B3 (Big Brother Bot)</a> - Python-based admin bot with RCON wrapper, player warnings, ban management, statistics tracking, and automated moderation for Call of Duty servers</li>
</ul>
<h2>Support</h2>
<p>If you need assistance with your Call of Duty: United Offensive server:</p>
<h2>📚 Resources</h2>
<ul>
<li>Check our <a href="/docs.php?action=view&doc=common-issues">Common Issues</a> guide</li>
<li>Contact support through your account dashboard</li>
<li>Visit the official Call of Duty: United Offensive community for game-specific help</li>
<li><strong>Official Documentation:</strong> Limited (expansion released 2004)</li>
<li><strong>Community Forums:</strong> Various Call of Duty dedicated server communities</li>
<li><strong>RCON Tools:</strong> B3, CoD RCON utilities</li>
<li><strong>Key Features:</strong> Tanks, jeeps, mobile spawn points, base assault mode</li>
</ul>
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
<div class="warning-box">
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Important Notes</h3>
<ul style="color: #fef3c7; line-height: 1.8;">
<li>Always keep your server updated to the latest version</li>
<li>Make regular backups of your server configuration</li>
<li>Review and follow the game's End User License Agreement (EULA)</li>
<li>United Offensive is an <strong>expansion pack for Call of Duty (2003)</strong> - players must have both the base game and expansion to connect</li>
<li>United Offensive introduced <strong>drivable vehicles and tanks</strong> to Call of Duty multiplayer</li>
<li>The new <strong>Domination</strong> game mode was first introduced in this expansion</li>
<li>Vehicle-heavy maps like Kursk require more server resources than infantry-only maps</li>
<li>Uses <strong>RCON protocol (old type)</strong> for remote administration</li>
<li>PunkBuster is optional but recommended for anti-cheat protection</li>
<li>Always secure your RCON password and restrict access to trusted administrators only</li>
</ul>
</div>

View file

@ -2,5 +2,5 @@
"description": "Setup and configuration guide for Call of Duty: United Offensive game servers",
"name": "Call of Duty: United Offensive",
"order": 37,
"category": "todo"
"category": "game"
}

View file

@ -3,72 +3,500 @@
* Call of Duty: World at War Server Documentation
*/
?>
<h1>Call of Duty: World at War Server Guide</h1>
<style>
.nav-menu {
background: #1a1a2e;
padding: 15px;
border-radius: 8px;
margin-bottom: 25px;
}
.nav-menu a {
color: #4a9eff;
text-decoration: none;
margin-right: 15px;
font-size: 14px;
}
.nav-menu a:hover {
color: #6bb3ff;
text-decoration: underline;
}
.info-box {
background: #1e3a5f;
padding: 20px;
border-left: 4px solid #3b82f6;
margin: 20px 0;
border-radius: 4px;
}
.warning-box {
background: #78350f;
padding: 20px;
border-left: 4px solid #f59e0b;
margin: 20px 0;
border-radius: 4px;
}
.code-block {
background: #0f172a;
padding: 15px;
border-radius: 4px;
margin: 15px 0;
overflow-x: auto;
}
.code-block code {
color: #a5b4fc;
font-family: 'Courier New', monospace;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
background: #1a1a2e;
}
table th {
background: #2a2a4e;
color: #ffffff;
padding: 12px;
text-align: left;
border: 1px solid #3a3a6e;
}
table td {
padding: 10px 12px;
border: 1px solid #3a3a6e;
color: #e5e7eb;
}
table tr:nth-child(even) {
background: #222244;
}
</style>
<h2>Overview</h2>
<p><strong>Call of Duty: World at War</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your Call of Duty: World at War server.</p>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Server Information</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">28960</code></li>
<li><strong style="color: #ffffff;">Protocol:</strong> UDP</li>
<li><strong style="color: #ffffff;">Additional Info:</strong> Default game port</li>
</ul>
<p style="color: #e5e7eb; margin-top: 12px; font-size: 0.95em;">
<em>Note: When running on a VPS or dedicated server, you can use the default port or configure a custom port in your server configuration file.</em>
</p>
<div class="nav-menu">
<strong style="color: #ffffff;">Quick Navigation:</strong>
<a href="#quick-info">Quick Info</a> |
<a href="#ports">Ports</a> |
<a href="#installation">Installation</a> |
<a href="#configuration">Configuration</a> |
<a href="#parameters">Parameters</a> |
<a href="#troubleshooting">Troubleshooting</a> |
<a href="#game-types">Game Types</a> |
<a href="#maps">Maps</a> |
<a href="#related-mods">Mods</a>
</div>
<h2>Getting Started</h2>
<p>To create a Call of Duty: World at War server:</p>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>Call of Duty: World at War</strong> in the list</li>
<li>Select your preferred configuration (slots, duration, etc.)</li>
<li>Add to cart and complete checkout</li>
<li>Your server will be automatically provisioned within minutes</li>
</ol>
<h1>Call of Duty: World at War Server Guide</h1>
<h2>Server Configuration</h2>
<p>After your server is created, you can configure it through the control panel:</p>
<h2 id="quick-info">📋 Quick Info</h2>
<div class="info-box">
<h3 style="color: #ffffff; margin-top: 0;">Server Specifications</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Game:</strong> Call of Duty: World at War (2008)</li>
<li><strong style="color: #ffffff;">Platform:</strong> Linux / Windows</li>
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">28960/UDP</code></li>
<li><strong style="color: #ffffff;">Max Players:</strong> 64 (typical: 18-24)</li>
<li><strong style="color: #ffffff;">Control Protocol:</strong> RCON</li>
<li><strong style="color: #ffffff;">Executable (Linux):</strong> codwaw_lnxded</li>
<li><strong style="color: #ffffff;">Executable (Windows):</strong> CoDWaWmp.exe</li>
<li><strong style="color: #ffffff;">Special Feature:</strong> Nazi Zombies co-op mode</li>
</ul>
</div>
<h2 id="ports">🔌 Ports & Firewall Configuration</h2>
<p>Call of Duty: World at War servers require specific ports to be open for proper operation:</p>
<table>
<thead>
<tr>
<th>Port</th>
<th>Protocol</th>
<th>Purpose</th>
<th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td>28960</td>
<td>UDP</td>
<td>Game port (default, configurable)</td>
<td>Yes</td>
</tr>
<tr>
<td>28960</td>
<td>TCP</td>
<td>RCON remote control</td>
<td>Optional</td>
</tr>
<tr>
<td>20500-20510</td>
<td>UDP</td>
<td>PunkBuster (if enabled)</td>
<td>Optional</td>
</tr>
</tbody>
</table>
<h3>Firewall Examples</h3>
<p><strong>UFW (Ubuntu/Debian):</strong></p>
<div class="code-block">
<code>sudo ufw allow 28960/udp comment 'CoDWaW Game Port'
sudo ufw allow 28960/tcp comment 'CoDWaW RCON'
sudo ufw allow 20500:20510/udp comment 'CoDWaW PunkBuster'</code>
</div>
<p><strong>FirewallD (CentOS/RHEL/Fedora):</strong></p>
<div class="code-block">
<code>sudo firewall-cmd --permanent --add-port=28960/udp
sudo firewall-cmd --permanent --add-port=28960/tcp
sudo firewall-cmd --permanent --add-port=20500-20510/udp
sudo firewall-cmd --reload</code>
</div>
<p><strong>iptables:</strong></p>
<div class="code-block">
<code>sudo iptables -A INPUT -p udp --dport 28960 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 28960 -j ACCEPT
sudo iptables -A INPUT -p udp --dport 20500:20510 -j ACCEPT</code>
</div>
<h2 id="installation">⚙️ Installation & Setup</h2>
<h3>System Requirements</h3>
<ul>
<li>Server settings and parameters</li>
<li>Player slots and limits</li>
<li>RCON/remote control access</li>
<li>FTP file access</li>
<li><strong>OS:</strong> Linux (Debian 9+, Ubuntu 18.04+, CentOS 7+) or Windows Server 2016+</li>
<li><strong>CPU:</strong> 2+ cores @ 2.5GHz recommended</li>
<li><strong>RAM:</strong> 2GB minimum, 4GB recommended</li>
<li><strong>Disk:</strong> 10GB for base game + zombies + space for logs</li>
<li><strong>Network:</strong> Low latency connection, 10Mbps+ bandwidth</li>
</ul>
<h2>Common Tasks</h2>
<h3>Linux Installation</h3>
<ol>
<li><strong>Download Server Files:</strong> Obtain Call of Duty: World at War dedicated server files</li>
<li><strong>Create Server Directory:</strong>
<div class="code-block"><code>mkdir -p ~/codwawserver
cd ~/codwawserver</code></div>
</li>
<li><strong>Extract Files:</strong> Extract server files to the directory</li>
<li><strong>Install 32-bit Libraries (64-bit Linux):</strong>
<div class="code-block"><code>sudo apt-get install lib32gcc1 lib32stdc++6 # Debian/Ubuntu
sudo yum install glibc.i686 libstdc++.i686 # CentOS/RHEL</code></div>
</li>
<li><strong>Set Permissions:</strong>
<div class="code-block"><code>chmod +x codwaw_lnxded</code></div>
</li>
<li><strong>Create Configuration:</strong> Create <code>server.cfg</code> in the <code>main</code> directory</li>
</ol>
<h3>Starting Your Server</h3>
<p>Servers are automatically started after creation. You can stop/start your server from the control panel.</p>
<h3>Windows Installation</h3>
<ol>
<li>Install Call of Duty: World at War dedicated server files</li>
<li>Create a <code>server.cfg</code> file in the <code>main</code> directory</li>
<li>Ensure Windows Firewall allows the game ports</li>
<li>Run <code>CoDWaWmp.exe</code> with appropriate parameters</li>
</ol>
<h3>Connecting to Your Server</h3>
<p>Use your server's IP address and port to connect from the game client.</p>
<h2 id="configuration">📝 Configuration</h2>
<h3>Managing Files</h3>
<p>Access your server files via FTP using the credentials provided in your control panel.</p>
<h3>Basic server.cfg Example (Multiplayer)</h3>
<div class="code-block">
<code>// Server Name
set sv_hostname "My World at War Server"
// Network Settings
set net_ip "0.0.0.0"
set net_port 28960
// Server Type (1=LAN, 2=Internet)
set dedicated 2
// Player Limits
set sv_maxclients 24
// RCON Password
set rcon_password "your_secure_password_here"
// Game Settings
set g_gametype "war" // dm, war, sab, koth, sd, ctf
set sv_maxPing 350
set sv_minPing 0
// PunkBuster (0=off, 1=on)
set sv_punkbuster 1
// Map Rotation
set sv_mapRotation "gametype war map mp_castle gametype war map mp_dome gametype war map mp_makin"
// Password Protection (leave empty for public)
set g_password ""
// Friendly Fire
set scr_team_fftype 0 // 0=off, 1=on, 2=reflect
// Kill Cam
set scr_game_allowkillcam 1
// Hardcore Mode
set scr_hardcore 0
// Game Log
set g_log "games_mp.log"
set g_logsync 2
// Voice Chat
set sv_voice 1
// Anti-Lag
set sv_fps 20
// Downloads
set sv_allowDownload 1
// Pure Server
set sv_pure 1
// Auto-Balance
set scr_teambalance 1</code>
</div>
<h3>Zombies Server Configuration</h3>
<div class="code-block">
<code>// Zombies Mode Server
set sv_hostname "My Zombies Server"
set g_gametype "zom" // Zombies game type
set sv_mapRotation "gametype zom map nazi_zombie_prototype"
// Zombies-specific settings
set scr_zm_round_limit 100
set scr_zm_player_base_health 100</code>
</div>
<h2 id="parameters">🚀 Startup Parameters</h2>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>+set dedicated</td>
<td>Server mode (1=LAN, 2=Internet)</td>
<td>+set dedicated 2</td>
</tr>
<tr>
<td>+set net_ip</td>
<td>Bind to specific IP address</td>
<td>+set net_ip "0.0.0.0"</td>
</tr>
<tr>
<td>+set net_port</td>
<td>Server port (default: 28960)</td>
<td>+set net_port 28960</td>
</tr>
<tr>
<td>+set fs_basepath</td>
<td>Base installation directory</td>
<td>+set fs_basepath "/home/user/codwaw"</td>
</tr>
<tr>
<td>+set fs_homepath</td>
<td>Config and log directory (deprecated)</td>
<td>+set fs_homepath "/home/user/.codwaw"</td>
</tr>
<tr>
<td>+set fs_savepath</td>
<td>Save path for logs and user data</td>
<td>+set fs_savepath "/home/user/codwawdata"</td>
</tr>
<tr>
<td>+set fs_game</td>
<td>Mod folder (if using mods)</td>
<td>+set fs_game "mods/mymod"</td>
</tr>
<tr>
<td>+set sv_punkbuster</td>
<td>Enable PunkBuster (0=off, 1=on)</td>
<td>+set sv_punkbuster 1</td>
</tr>
<tr>
<td>+exec</td>
<td>Execute config file on startup</td>
<td>+exec server.cfg</td>
</tr>
<tr>
<td>+set rcon_password</td>
<td>RCON password for remote admin</td>
<td>+set rcon_password "secret123"</td>
</tr>
<tr>
<td>+set sv_maxclients</td>
<td>Maximum player slots</td>
<td>+set sv_maxclients 24</td>
</tr>
<tr>
<td>+map_rotate</td>
<td>Start map rotation from server.cfg</td>
<td>+map_rotate</td>
</tr>
<tr>
<td>+map</td>
<td>Start with specific map</td>
<td>+map mp_castle</td>
</tr>
</tbody>
</table>
<h3>Example Startup Command (Linux - Multiplayer)</h3>
<div class="code-block">
<code>./codwaw_lnxded +set dedicated 2 +set net_ip "0.0.0.0" +set net_port 28960 +set sv_maxclients 24 +set sv_punkbuster 1 +set fs_savepath "/home/user/codwawdata" +exec server.cfg +map_rotate</code>
</div>
<h3>Example Startup Command (Zombies Mode)</h3>
<div class="code-block">
<code>./codwaw_lnxded +set dedicated 2 +set net_port 28960 +set sv_maxclients 4 +exec zombies.cfg +map nazi_zombie_prototype</code>
</div>
<h2 id="troubleshooting">🔧 Troubleshooting</h2>
<h3>Server Not Appearing in Browser</h3>
<p><strong>Issue:</strong> Players cannot see the server in the in-game browser.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>+set dedicated 2</code> is set (not 1 for LAN)</li>
<li>Ensure UDP port 28960 is open in firewall</li>
<li>Check <code>sv_pure</code> setting</li>
<li>Master servers may have limited connectivity; try direct connect</li>
<li>Verify server is online: <code>ps aux | grep codwaw</code></li>
</ul>
<h3>Server Crashes on Startup</h3>
<p><strong>Issue:</strong> Dedicated server crashes immediately after launch.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check <code>games_mp.log</code> in fs_savepath directory for errors</li>
<li>Verify all required game files are present</li>
<li>Ensure <code>server.cfg</code> syntax is correct</li>
<li>Remove custom mods temporarily to isolate issue</li>
<li>On Linux, verify 32-bit libraries are installed</li>
<li>Check file permissions: <code>chmod +x codwaw_lnxded</code></li>
</ul>
<h3>Zombies Mode Issues</h3>
<p><strong>Issue:</strong> Zombies servers not working or crashing.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>g_gametype "zom"</code> is set correctly</li>
<li>Start with official zombies maps first (nazi_zombie_prototype, nazi_zombie_asylum, etc.)</li>
<li>Zombies typically requires fewer player slots (4-8 recommended)</li>
<li>Custom zombies maps may require additional mod files</li>
</ul>
<h3>Connection Problems</h3>
<p><strong>Issue:</strong> Players cannot connect or timeout.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify firewall rules allow traffic on game port</li>
<li>Check <code>sv_maxPing</code> setting</li>
<li>Ensure server is not full (<code>sv_maxclients</code>)</li>
<li>Disable password if testing: <code>set g_password ""</code></li>
<li>Verify client and server game versions match</li>
<li>Check <code>sv_pure</code> - clients must have matching files if enabled</li>
</ul>
<h3>High Lag/Ping Issues</h3>
<p><strong>Issue:</strong> Players experience significant lag.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Increase <code>sv_fps</code> setting (recommended: 20)</li>
<li>Reduce <code>sv_maxclients</code> if server is overloaded</li>
<li>Check server CPU and RAM usage</li>
<li>Verify network bandwidth is sufficient</li>
<li>Lower <code>sv_maxPing</code> to restrict high-ping players</li>
</ul>
<h3>RCON Not Working</h3>
<p><strong>Issue:</strong> Cannot connect via RCON.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>rcon_password</code> is set in <code>server.cfg</code></li>
<li>Ensure TCP port 28960 is open (in addition to UDP)</li>
<li>Use correct RCON syntax: <code>/rcon login password</code> then <code>/rcon command</code></li>
<li>Test RCON from server console first</li>
</ul>
<h2 id="game-types">🎮 Game Types</h2>
<p>Call of Duty: World at War supports the following game modes:</p>
<h3>Multiplayer Modes</h3>
<ul>
<li><strong>dm</strong> - Deathmatch (Free-for-all)</li>
<li><strong>war</strong> - Team Deathmatch</li>
<li><strong>sab</strong> - Sabotage</li>
<li><strong>koth</strong> - Headquarters</li>
<li><strong>sd</strong> - Search & Destroy</li>
<li><strong>ctf</strong> - Capture the Flag</li>
</ul>
<h3>Special Mode</h3>
<ul>
<li><strong>zom</strong> - Nazi Zombies (co-op survival mode)</li>
</ul>
<h2 id="maps">🗺️ Default Maps</h2>
<h3>Multiplayer Maps</h3>
<ul>
<li><strong>mp_airfield</strong> - Airfield</li>
<li><strong>mp_asylum</strong> - Asylum</li>
<li><strong>mp_castle</strong> - Castle</li>
<li><strong>mp_courtyard</strong> - Courtyard</li>
<li><strong>mp_dome</strong> - Dome</li>
<li><strong>mp_downfall</strong> - Downfall</li>
<li><strong>mp_hangar</strong> - Hangar</li>
<li><strong>mp_makin</strong> - Makin</li>
<li><strong>mp_outskirts</strong> - Outskirts</li>
<li><strong>mp_roundhouse</strong> - Roundhouse</li>
<li><strong>mp_seelow</strong> - Seelow</li>
<li><strong>mp_shrine</strong> - Shrine</li>
<li><strong>mp_upheaval</strong> - Upheaval</li>
</ul>
<h3>Zombies Maps</h3>
<ul>
<li><strong>nazi_zombie_prototype</strong> - Nacht der Untoten (Night of the Undead)</li>
<li><strong>nazi_zombie_asylum</strong> - Verrückt (Insane)</li>
<li><strong>nazi_zombie_sumpf</strong> - Shi No Numa (Swamp of Death)</li>
<li><strong>nazi_zombie_factory</strong> - Der Riese (The Giant)</li>
</ul>
<h2 id="related-mods">🔌 Related Mods & Plugins</h2>
<p>Popular server modifications compatible with Call of Duty: World at War:</p>
<ul>
<li><a href="../b3/">B3 (Big Brother Bot)</a> - Python-based admin bot with RCON wrapper, player warnings, ban management, statistics tracking, and automated moderation for Call of Duty servers</li>
<li><strong>Custom Zombies Maps</strong> - Thousands of community-created zombies maps available</li>
<li><strong>ZombieMod</strong> - Enhanced zombies gameplay modifications</li>
<li><strong>Extreme+</strong> - Enhanced gameplay modification</li>
</ul>
<h2>Support</h2>
<p>If you need assistance with your Call of Duty: World at War server:</p>
<h2>📚 Resources</h2>
<ul>
<li>Check our <a href="/docs.php?action=view&doc=common-issues">Common Issues</a> guide</li>
<li>Contact support through your account dashboard</li>
<li>Visit the official Call of Duty: World at War community for game-specific help</li>
<li><strong>Community Forums:</strong> CoDModding, ZombieModding communities</li>
<li><strong>Custom Maps:</strong> UGX Mods, Zombie Modding</li>
<li><strong>RCON Tools:</strong> B3, various web-based RCON panels</li>
<li><strong>Key Features:</strong> Pacific theater WWII, Nazi Zombies mode</li>
</ul>
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
<div class="warning-box">
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Important Notes</h3>
<ul style="color: #fef3c7; line-height: 1.8;">
<li>Always keep your server updated to the latest version</li>
<li>Make regular backups of your server configuration</li>
<li>Review and follow the game's End User License Agreement (EULA)</li>
<li>World at War features <strong>Nazi Zombies</strong>, the first appearance of the popular co-op mode</li>
<li>Zombies mode (<code>g_gametype "zom"</code>) typically uses 4-8 player slots</li>
<li>Use <code>fs_savepath</code> instead of <code>fs_homepath</code> for configuration directories</li>
<li>Custom zombies maps are extremely popular - extensive community content available</li>
<li>PunkBuster is optional but recommended for multiplayer servers</li>
<li>Zombies servers have different performance characteristics than multiplayer servers</li>
<li>Always secure your RCON password and restrict access to trusted administrators only</li>
<li>Regular backups recommended, especially for zombies progress data</li>
</ul>
</div>

View file

@ -2,5 +2,5 @@
"description": "Setup and configuration guide for Call of Duty: World at War game servers",
"name": "Call of Duty: World at War",
"order": 39,
"category": "todo"
"category": "game"
}

View file

@ -3,72 +3,448 @@
* CoD: Black Ops Server Documentation
*/
?>
<h1>CoD: Black Ops Server Guide</h1>
<style>
.nav-menu {
background: #1a1a2e;
padding: 15px;
border-radius: 8px;
margin-bottom: 25px;
}
.nav-menu a {
color: #4a9eff;
text-decoration: none;
margin-right: 15px;
font-size: 14px;
}
.nav-menu a:hover {
color: #6bb3ff;
text-decoration: underline;
}
.info-box {
background: #1e3a5f;
padding: 20px;
border-left: 4px solid #3b82f6;
margin: 20px 0;
border-radius: 4px;
}
.warning-box {
background: #78350f;
padding: 20px;
border-left: 4px solid #f59e0b;
margin: 20px 0;
border-radius: 4px;
}
.code-block {
background: #0f172a;
padding: 15px;
border-radius: 4px;
margin: 15px 0;
overflow-x: auto;
}
.code-block code {
color: #a5b4fc;
font-family: 'Courier New', monospace;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
background: #1a1a2e;
}
table th {
background: #2a2a4e;
color: #ffffff;
padding: 12px;
text-align: left;
border: 1px solid #3a3a6e;
}
table td {
padding: 10px 12px;
border: 1px solid #3a3a6e;
color: #e5e7eb;
}
table tr:nth-child(even) {
background: #222244;
}
</style>
<h2>Overview</h2>
<p><strong>CoD: Black Ops</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your CoD: Black Ops server.</p>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Server Information</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">4976</code></li>
<li><strong style="color: #ffffff;">Protocol:</strong> UDP</li>
<li><strong style="color: #ffffff;">Additional Info:</strong> Default game port</li>
</ul>
<p style="color: #e5e7eb; margin-top: 12px; font-size: 0.95em;">
<em>Note: When running on a VPS or dedicated server, you can use the default port or configure a custom port in your server configuration file.</em>
</p>
<div class="nav-menu">
<strong style="color: #ffffff;">Quick Navigation:</strong>
<a href="#quick-info">Quick Info</a> |
<a href="#ports">Ports</a> |
<a href="#installation">Installation</a> |
<a href="#configuration">Configuration</a> |
<a href="#parameters">Parameters</a> |
<a href="#troubleshooting">Troubleshooting</a> |
<a href="#game-types">Game Types</a> |
<a href="#maps">Maps</a> |
<a href="#related-mods">Mods</a>
</div>
<h2>Getting Started</h2>
<p>To create a CoD: Black Ops server:</p>
<h1>Call of Duty: Black Ops Server Guide</h1>
<h2 id="quick-info">📋 Quick Info</h2>
<div class="info-box">
<h3 style="color: #ffffff; margin-top: 0;">Server Specifications</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Game:</strong> Call of Duty: Black Ops (2010)</li>
<li><strong style="color: #ffffff;">Platform:</strong> Windows</li>
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">4976/UDP (configurable)</code></li>
<li><strong style="color: #ffffff;">Max Players:</strong> 32 (typical: 18-32)</li>
<li><strong style="color: #ffffff;">Control Protocol:</strong> RCON</li>
<li><strong style="color: #ffffff;">Executable:</strong> BlackOpsMP.exe</li>
<li><strong style="color: #ffffff;">Special Features:</strong> Zombies mode, Wager matches, Theater mode</li>
</ul>
</div>
<h2 id="ports">🔌 Ports & Firewall Configuration</h2>
<p>Call of Duty: Black Ops servers require specific ports to be open for proper operation:</p>
<table>
<thead>
<tr>
<th>Port</th>
<th>Protocol</th>
<th>Purpose</th>
<th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td>4976 (configurable)</td>
<td>UDP</td>
<td>Game port (default)</td>
<td>Yes</td>
</tr>
<tr>
<td>Same as game port</td>
<td>TCP</td>
<td>RCON remote control</td>
<td>Optional</td>
</tr>
</tbody>
</table>
<h3>Firewall Examples</h3>
<p><strong>UFW (Ubuntu/Debian):</strong></p>
<div class="code-block">
<code>sudo ufw allow 4976/udp comment 'Black Ops Game Port'
sudo ufw allow 4976/tcp comment 'Black Ops RCON'</code>
</div>
<p><strong>Windows Firewall:</strong></p>
<div class="code-block">
<code>netsh advfirewall firewall add rule name="Black Ops UDP" dir=in action=allow protocol=UDP localport=4976
netsh advfirewall firewall add rule name="Black Ops TCP" dir=in action=allow protocol=TCP localport=4976</code>
</div>
<h2 id="installation">⚙️ Installation & Setup</h2>
<h3>System Requirements</h3>
<ul>
<li><strong>OS:</strong> Windows 7/8/10/11 or Windows Server 2016+</li>
<li><strong>CPU:</strong> 2+ cores @ 2.5GHz recommended</li>
<li><strong>RAM:</strong> 2GB minimum, 4GB+ recommended for 32 players</li>
<li><strong>Disk:</strong> 20GB for game files + space for logs</li>
<li><strong>Network:</strong> Low latency connection, 15Mbps+ bandwidth</li>
<li><strong>Requirements:</strong> Legitimate Black Ops game files</li>
</ul>
<h3>Installation Steps</h3>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>CoD: Black Ops</strong> in the list</li>
<li>Select your preferred configuration (slots, duration, etc.)</li>
<li>Add to cart and complete checkout</li>
<li>Your server will be automatically provisioned within minutes</li>
<li><strong>Install Black Ops:</strong> You must have legitimate Black Ops game files</li>
<li><strong>Locate Server Files:</strong> Dedicated server files included with installation</li>
<li><strong>Create Server Directory:</strong> Separate directory recommended</li>
<li><strong>Create Server Config:</strong> Create <code>server.cfg</code> in appropriate folder</li>
<li><strong>Configure Firewall:</strong> Allow game ports through Windows Firewall</li>
</ol>
<h2>Server Configuration</h2>
<p>After your server is created, you can configure it through the control panel:</p>
<h2 id="configuration">📝 Configuration</h2>
<h3>Basic server.cfg Example (Multiplayer)</h3>
<div class="code-block">
<code>// Server Name
set sv_hostname "My Black Ops Server"
// Network Settings
set net_port 4976
// Server Type
set dedicated 2
// Player Limits (MAX 32 for Black Ops)
set sv_maxclients 32
// RCON Password
set rcon_password "your_secure_password_here"
// Game Settings
set g_gametype "war" // dm, war, sab, koth, sd, dom, dd, ctf, hlnd, dem, gun, shrp, hldr
set sv_maxPing 350
// Map Rotation
set sv_mapRotation "gametype war map mp_cracked gametype war map mp_summit gametype war map mp_firing_range"
// Password Protection (leave empty for public)
set g_password ""
// Friendly Fire
set scr_team_fftype 0 // 0=off, 1=on, 2=reflect
// Kill Cam
set scr_game_allowkillcam 1
// Hardcore Mode
set scr_hardcore 0
// Game Log
set g_log "games_mp.log"
set logfile 2
// Voice Chat
set sv_voice 0
// Anti-Lag
set sv_fps 20
// Auto-Balance
set scr_teambalance 1
// Ranked/Unranked
set scr_game_onlyparty 0</code>
</div>
<h3>Zombies Server Configuration</h3>
<div class="code-block">
<code>// Zombies Mode Server
set sv_hostname "My Zombies Server"
set g_gametype "zom" // Zombies game type
set sv_maxclients 4 // Zombies: 4 players recommended
set sv_mapRotation "gametype zom map zombie_theater"</code>
</div>
<h2 id="parameters">🚀 Startup Parameters</h2>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>+set dedicated</td>
<td>Server mode (2=Internet)</td>
<td>+set dedicated 2</td>
</tr>
<tr>
<td>+set net_port</td>
<td>Server port (default: 4976)</td>
<td>+set net_port 4976</td>
</tr>
<tr>
<td>+set sv_maxclients</td>
<td>Maximum player slots (MAX 32)</td>
<td>+set sv_maxclients 32</td>
</tr>
<tr>
<td>+set rcon_password</td>
<td>RCON password for remote admin</td>
<td>+set rcon_password "secret123"</td>
</tr>
<tr>
<td>+exec</td>
<td>Execute config file on startup</td>
<td>+exec server.cfg</td>
</tr>
<tr>
<td>+map_rotate</td>
<td>Start map rotation from config</td>
<td>+map_rotate</td>
</tr>
<tr>
<td>+map</td>
<td>Start with specific map</td>
<td>+map mp_cracked</td>
</tr>
</tbody>
</table>
<h3>Example Startup Command (Multiplayer)</h3>
<div class="code-block">
<code>BlackOpsMP.exe +set dedicated 2 +set net_port 4976 +set sv_maxclients 32 +exec server.cfg +map_rotate</code>
</div>
<h3>Example Startup Command (Zombies)</h3>
<div class="code-block">
<code>BlackOpsMP.exe +set dedicated 2 +set net_port 4976 +set sv_maxclients 4 +exec zombies.cfg +map zombie_theater</code>
</div>
<h3>Example Batch File (start_server.bat)</h3>
<div class="code-block">
<code>@echo off
title Black Ops Dedicated Server
BlackOpsMP.exe +set dedicated 2 +set net_port 4976 +set sv_maxclients 32 +exec server.cfg +map_rotate
pause</code>
</div>
<h2 id="troubleshooting">🔧 Troubleshooting</h2>
<h3>Server Not Appearing in Browser</h3>
<p><strong>Issue:</strong> Players cannot see the server in Black Ops browser.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Server settings and parameters</li>
<li>Player slots and limits</li>
<li>RCON/remote control access</li>
<li>FTP file access</li>
<li>Verify <code>+set dedicated 2</code> is set</li>
<li>Ensure UDP port 4976 (or your custom port) is open in firewall</li>
<li>Try direct connect using IP:PORT</li>
<li>Master servers may have limited connectivity</li>
</ul>
<h2>Common Tasks</h2>
<h3>Server Crashes on Startup</h3>
<p><strong>Issue:</strong> Dedicated server crashes immediately after launch.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check <code>games_mp.log</code> for error messages</li>
<li>Verify all required Black Ops game files are present</li>
<li>Ensure <code>server.cfg</code> syntax is correct</li>
<li>Verify <code>sv_maxclients</code> does not exceed 32</li>
<li>Remove custom mods temporarily to isolate issue</li>
</ul>
<h3>Starting Your Server</h3>
<p>Servers are automatically started after creation. You can stop/start your server from the control panel.</p>
<h3>Connection Problems</h3>
<p><strong>Issue:</strong> Players cannot connect or timeout.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify firewall rules allow traffic on game port</li>
<li>Check <code>sv_maxPing</code> setting</li>
<li>Ensure server is not full (max 32 players for MP, 4 for Zombies)</li>
<li>Disable password if testing: <code>set g_password ""</code></li>
<li>Verify clients are using same Black Ops version</li>
</ul>
<h3>Connecting to Your Server</h3>
<p>Use your server's IP address and port to connect from the game client.</p>
<h3>Zombies Mode Issues</h3>
<p><strong>Issue:</strong> Zombies servers not working properly.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>g_gametype "zom"</code> is set correctly</li>
<li>Use 4-8 player slots for zombies (4 recommended)</li>
<li>Start with official zombies maps first</li>
<li>Custom zombies maps may require additional files</li>
</ul>
<h3>Managing Files</h3>
<p>Access your server files via FTP using the credentials provided in your control panel.</p>
<h3>High Lag/Ping Issues</h3>
<p><strong>Issue:</strong> Players experience significant lag.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Increase <code>sv_fps</code> setting (recommended: 20)</li>
<li>Reduce <code>sv_maxclients</code> if server is overloaded</li>
<li>Check server CPU and RAM usage (32 players requires resources)</li>
<li>Verify network bandwidth is sufficient</li>
<li>Lower <code>sv_maxPing</code> to restrict high-ping players</li>
</ul>
<h3>RCON Not Working</h3>
<p><strong>Issue:</strong> Cannot connect via RCON.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>rcon_password</code> is set in <code>server.cfg</code></li>
<li>Ensure TCP port is open (same as game UDP port)</li>
<li>Use Black Ops-compatible RCON tools</li>
<li>Test RCON from in-game console first</li>
</ul>
<h2 id="game-types">🎮 Game Types</h2>
<p>Call of Duty: Black Ops supports the following game modes:</p>
<h3>Standard Modes</h3>
<ul>
<li><strong>dm</strong> - Deathmatch (Free-for-all)</li>
<li><strong>war</strong> - Team Deathmatch</li>
<li><strong>sab</strong> - Sabotage</li>
<li><strong>koth</strong> - Headquarters</li>
<li><strong>sd</strong> - Search & Destroy</li>
<li><strong>dom</strong> - Domination</li>
<li><strong>dd</strong> - Demolition</li>
<li><strong>ctf</strong> - Capture the Flag</li>
</ul>
<h3>Special Modes</h3>
<ul>
<li><strong>hlnd</strong> - One in the Chamber (Wager match)</li>
<li><strong>dem</strong> - Sticks and Stones (Wager match)</li>
<li><strong>gun</strong> - Gun Game (Wager match)</li>
<li><strong>shrp</strong> - Sharpshooter (Wager match)</li>
<li><strong>hldr</strong> - Grid</li>
<li><strong>zom</strong> - Zombies (co-op survival mode)</li>
</ul>
<h2 id="maps">🗺️ Default Maps</h2>
<h3>Multiplayer Maps (Base Game)</h3>
<ul>
<li><strong>mp_array</strong> - Array</li>
<li><strong>mp_cairo</strong> - Havana</li>
<li><strong>mp_cosmodrome</strong> - Launch</li>
<li><strong>mp_cracked</strong> - Cracked</li>
<li><strong>mp_crisis</strong> - Crisis</li>
<li><strong>mp_duga</strong> - Grid</li>
<li><strong>mp_firingrange</strong> - Firing Range</li>
<li><strong>mp_hanoi</strong> - Hanoi</li>
<li><strong>mp_havoc</strong> - Jungle</li>
<li><strong>mp_mountain</strong> - Summit</li>
<li><strong>mp_nuked</strong> - Nuketown</li>
<li><strong>mp_radiation</strong> - Radiation</li>
<li><strong>mp_russianbase</strong> - WMD</li>
<li><strong>mp_villa</strong> - Villa</li>
</ul>
<h3>Zombies Maps</h3>
<ul>
<li><strong>zombie_theater</strong> - Kino der Toten</li>
<li><strong>zombie_pentagon</strong> - "Five" (Pentagon)</li>
<li><strong>zombie_coast</strong> - Call of the Dead (DLC)</li>
<li><strong>zombie_temple</strong> - Shangri-La (DLC)</li>
<li><strong>zombie_moon</strong> - Moon (DLC)</li>
</ul>
<h3>DLC Multiplayer Maps</h3>
<ul>
<li>First Strike: Berlin Wall, Discovery, Stadium, Kowloon</li>
<li>Escalation: Hotel, Convoy, Stockpile, Zoo</li>
<li>Annihilation: Hangar 18, Drive-In, Silo, Hazard</li>
<li>Rezurrection: Nacht der Untoten, Verrückt, Shi No Numa, Der Riese (remastered zombies maps)</li>
</ul>
<h2 id="related-mods">🔌 Related Mods & Plugins</h2>
<p>Popular server modifications compatible with Call of Duty: Black Ops:</p>
<p>Popular server modifications compatible with Black Ops:</p>
<ul>
<li><a href="../b3/">B3 (Big Brother Bot)</a> - Python-based admin bot with RCON wrapper, player warnings, ban management, statistics tracking, and automated moderation for Call of Duty servers</li>
<li><strong>Custom Zombies Maps</strong> - Community-created zombies content</li>
</ul>
<h2>Support</h2>
<p>If you need assistance with your Call of Duty: Black Ops server:</p>
<h2>📚 Resources</h2>
<ul>
<li>Check our <a href="/docs.php?action=view&doc=common-issues">Common Issues</a> guide</li>
<li>Contact support through your account dashboard</li>
<li>Visit the official CoD: Black Ops community for game-specific help</li>
<li><strong>Community Forums:</strong> Black Ops modding and server communities</li>
<li><strong>Zombies Modding:</strong> UGX Mods and other zombies communities</li>
<li><strong>RCON Tools:</strong> B3, various web-based RCON panels</li>
<li><strong>Key Features:</strong> Cold War setting, wager matches, extensive zombies content</li>
</ul>
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
<div class="warning-box">
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Important Notes</h3>
<ul style="color: #fef3c7; line-height: 1.8;">
<li>Always keep your server updated to the latest version</li>
<li>Make regular backups of your server configuration</li>
<li>Review and follow the game's End User License Agreement (EULA)</li>
<li>Black Ops supports <strong>maximum 32 players</strong> for multiplayer (higher than MW2/MW3's 18)</li>
<li>Zombies mode typically uses <strong>4 player slots</strong> (can go up to 8 with mods)</li>
<li>Black Ops features <strong>Wager matches</strong> - unique competitive game modes</li>
<li>Default port is <strong>4976</strong> (different from other CoD games' 28960)</li>
<li>You <strong>must own legitimate Black Ops</strong> game files</li>
<li>Black Ops is <strong>Windows-only</strong> for dedicated servers</li>
<li>Extensive <strong>zombies content</strong> with storyline progression across maps</li>
<li>Theater mode allows replay recording and sharing</li>
<li>Always secure your RCON password and restrict access</li>
<li>Regular backups recommended for server configurations and player data</li>
</ul>
</div>

View file

@ -2,5 +2,5 @@
"description": "Setup and configuration guide for CoD: Black Ops game servers",
"name": "CoD: Black Ops",
"order": 43,
"category": "todo"
"category": "game"
}

View file

@ -3,66 +3,493 @@
* Day of Defeat Server Documentation
*/
?>
<h1>Day of Defeat Server Guide</h1>
<style>
.nav-menu {
background: #1a1a2e;
padding: 15px;
border-radius: 8px;
margin-bottom: 25px;
}
.nav-menu a {
color: #4a9eff;
text-decoration: none;
margin-right: 15px;
font-size: 14px;
}
.nav-menu a:hover {
color: #6bb3ff;
text-decoration: underline;
}
.info-box {
background: #1e3a5f;
padding: 20px;
border-left: 4px solid #3b82f6;
margin: 20px 0;
border-radius: 4px;
}
.warning-box {
background: #78350f;
padding: 20px;
border-left: 4px solid #f59e0b;
margin: 20px 0;
border-radius: 4px;
}
.code-block {
background: #0f172a;
padding: 15px;
border-radius: 4px;
margin: 15px 0;
overflow-x: auto;
}
.code-block code {
color: #a5b4fc;
font-family: 'Courier New', monospace;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
background: #1a1a2e;
}
table th {
background: #2a2a4e;
color: #ffffff;
padding: 12px;
text-align: left;
border: 1px solid #3a3a6e;
}
table td {
padding: 10px 12px;
border: 1px solid #3a3a6e;
color: #e5e7eb;
}
table tr:nth-child(even) {
background: #222244;
}
</style>
<h2>Overview</h2>
<p><strong>Day of Defeat</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your Day of Defeat server.</p>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Server Information</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">27015</code></li>
<li><strong style="color: #ffffff;">Protocol:</strong> UDP</li>
<li><strong style="color: #ffffff;">Additional Info:</strong> Query port also uses 27015 UDP</li>
</ul>
<p style="color: #e5e7eb; margin-top: 12px; font-size: 0.95em;">
<em>Note: When running on a VPS or dedicated server, you can use the default port or configure a custom port in your server configuration file.</em>
</p>
<div class="nav-menu">
<strong style="color: #ffffff;">Quick Navigation:</strong>
<a href="#quick-info">Quick Info</a> |
<a href="#ports">Ports</a> |
<a href="#installation">Installation</a> |
<a href="#configuration">Configuration</a> |
<a href="#parameters">Parameters</a> |
<a href="#troubleshooting">Troubleshooting</a> |
<a href="#game-modes">Game Modes</a> |
<a href="#maps">Maps</a> |
<a href="#related-mods">Mods</a>
</div>
<h2>Getting Started</h2>
<p>To create a Day of Defeat server:</p>
<h1>Day of Defeat Server Guide</h1>
<h2 id="quick-info">📋 Quick Info</h2>
<div class="info-box">
<h3 style="color: #ffffff; margin-top: 0;">Server Specifications</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Game:</strong> Day of Defeat (GoldSrc Engine)</li>
<li><strong style="color: #ffffff;">Platform:</strong> Windows, Linux</li>
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">27015/UDP</code></li>
<li><strong style="color: #ffffff;">Max Players:</strong> 32 (typical: 16-32)</li>
<li><strong style="color: #ffffff;">Control Protocol:</strong> RCON</li>
<li><strong style="color: #ffffff;">Server Binary:</strong> hlds_run (Linux), hlds.exe (Windows)</li>
<li><strong style="color: #ffffff;">Mod Folder:</strong> dod</li>
<li><strong style="color: #ffffff;">Special Features:</strong> WW2 team-based combat, class system</li>
</ul>
</div>
<h2 id="ports">🔌 Ports & Firewall Configuration</h2>
<p>Day of Defeat servers require specific ports for proper operation:</p>
<table>
<thead>
<tr>
<th>Port</th>
<th>Protocol</th>
<th>Purpose</th>
<th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td>27015 (configurable)</td>
<td>UDP</td>
<td>Game port</td>
<td>Yes</td>
</tr>
<tr>
<td>27015 (same as game)</td>
<td>TCP</td>
<td>RCON remote control</td>
<td>Optional</td>
</tr>
<tr>
<td>27005</td>
<td>UDP</td>
<td>Client port (outbound)</td>
<td>Yes</td>
</tr>
<tr>
<td>26900</td>
<td>UDP</td>
<td>Master server communication</td>
<td>Optional</td>
</tr>
</tbody>
</table>
<h3>Firewall Examples</h3>
<p><strong>UFW (Ubuntu/Debian):</strong></p>
<div class="code-block">
<code>sudo ufw allow 27015/udp comment 'DoD Game Port'
sudo ufw allow 27015/tcp comment 'DoD RCON'
sudo ufw allow 27005/udp comment 'DoD Client Port'</code>
</div>
<p><strong>FirewallD (CentOS/RHEL):</strong></p>
<div class="code-block">
<code>sudo firewall-cmd --permanent --add-port=27015/udp
sudo firewall-cmd --permanent --add-port=27015/tcp
sudo firewall-cmd --permanent --add-port=27005/udp
sudo firewall-cmd --reload</code>
</div>
<p><strong>iptables:</strong></p>
<div class="code-block">
<code>iptables -A INPUT -p udp --dport 27015 -j ACCEPT
iptables -A INPUT -p tcp --dport 27015 -j ACCEPT
iptables -A INPUT -p udp --dport 27005 -j ACCEPT</code>
</div>
<h2 id="installation">⚙️ Installation & Setup</h2>
<h3>System Requirements</h3>
<ul>
<li><strong>OS:</strong> Linux (Ubuntu 18.04+, Debian 9+, CentOS 7+) or Windows Server</li>
<li><strong>CPU:</strong> 1+ cores @ 2.0GHz minimum</li>
<li><strong>RAM:</strong> 512MB minimum, 1GB+ recommended</li>
<li><strong>Disk:</strong> 2GB for game files</li>
<li><strong>Network:</strong> Stable connection, 5Mbps+ bandwidth</li>
</ul>
<h3>Installation via SteamCMD (Linux)</h3>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>Day of Defeat</strong> in the list</li>
<li>Select your preferred configuration (slots, duration, etc.)</li>
<li>Add to cart and complete checkout</li>
<li>Your server will be automatically provisioned within minutes</li>
<li><strong>Install SteamCMD:</strong>
<div class="code-block"><code>sudo apt-get install steamcmd # Debian/Ubuntu
sudo yum install steamcmd # CentOS/RHEL</code></div>
</li>
<li><strong>Run SteamCMD and install DoD server:</strong>
<div class="code-block"><code>steamcmd +login anonymous +force_install_dir /home/steam/dod +app_update 90 validate +quit</code></div>
</li>
<li><strong>Create server.cfg:</strong> Navigate to <code>/home/steam/dod/dod/</code> and create configuration file</li>
</ol>
<h2>Server Configuration</h2>
<p>After your server is created, you can configure it through the control panel:</p>
<h3>Installation via SteamCMD (Windows)</h3>
<ol>
<li>Download SteamCMD from Valve's website</li>
<li>Extract to <code>C:\steamcmd\</code></li>
<li>Run: <code>steamcmd +login anonymous +force_install_dir C:\dod +app_update 90 validate +quit</code></li>
<li>Create <code>server.cfg</code> in <code>C:\dod\dod\</code></li>
</ol>
<h2 id="configuration">📝 Configuration</h2>
<h3>Basic server.cfg Example</h3>
<div class="code-block">
<code>// Server Name
hostname "My Day of Defeat Server"
// RCON Password
rcon_password "your_secure_password"
// Server Password (leave blank for public)
sv_password ""
// Network Settings
sv_region 255 // 0=US East, 1=US West, 2=South America, 3=Europe, etc.
sv_contact "admin@example.com"
// Game Settings
mp_teamplay 1
mp_friendlyfire 0
mp_fraglimit 0
mp_timelimit 30 // Minutes per map
mp_maxrounds 0
// Team Balance
mp_autoteambalance 1
mp_limitteams 2 // Max player difference between teams
// Class Limits (per team)
mp_limit_allies -1 // -1 = no limit
mp_limit_axis -1
// Specific Class Limits
mp_limit_rifleman -1
mp_limit_assault -1
mp_limit_support -1
mp_limit_sniper 2 // Limit snipers
mp_limit_mg 2 // Limit machine gunners
// Spawn Settings
mp_respawnstyle 0 // 0=wave spawn, 1=instant
mp_respawndelay 0
// Hit Registration
sv_maxrate 20000
sv_minrate 5000
sv_maxupdaterate 101
sv_minupdaterate 20
// Server Performance
sv_maxspeed 320
sv_fps_max 1000
// Logging
log on
sv_logblocks 1
sv_logecho 0
sv_logfile 1
sv_log_onefile 0
// Map Cycle
mapcyclefile "mapcycle.txt"
// Execute additional configs
exec banned.cfg</code>
</div>
<h3>mapcycle.txt Example</h3>
<div class="code-block">
<code>dod_anzio
dod_avalanche
dod_caen
dod_charlie
dod_chemille
dod_donner
dod_flash
dod_forest
dod_glider
dod_kalt
dod_kraftstoff
dod_merderet
dod_northbound
dod_palermo
dod_saints
dod_sturm
dod_vicenza
dod_zalec</code>
</div>
<h2 id="parameters">🚀 Startup Parameters</h2>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>-game</td>
<td>Specify game mod (dod)</td>
<td>-game dod</td>
</tr>
<tr>
<td>-port</td>
<td>Server port</td>
<td>-port 27015</td>
</tr>
<tr>
<td>+maxplayers</td>
<td>Maximum player slots</td>
<td>+maxplayers 32</td>
</tr>
<tr>
<td>+map</td>
<td>Starting map</td>
<td>+map dod_avalanche</td>
</tr>
<tr>
<td>+exec</td>
<td>Execute config file on startup</td>
<td>+exec server.cfg</td>
</tr>
<tr>
<td>-ip</td>
<td>Bind to specific IP</td>
<td>-ip 192.168.1.100</td>
</tr>
<tr>
<td>-console</td>
<td>Enable console output</td>
<td>-console</td>
</tr>
<tr>
<td>-condebug</td>
<td>Log console output to file</td>
<td>-condebug</td>
</tr>
</tbody>
</table>
<h3>Example Startup Command (Linux)</h3>
<div class="code-block">
<code>./hlds_run -game dod -port 27015 +maxplayers 32 +map dod_avalanche +exec server.cfg -console</code>
</div>
<h3>Example Startup Command (Windows)</h3>
<div class="code-block">
<code>hlds.exe -game dod -port 27015 +maxplayers 32 +map dod_avalanche +exec server.cfg -console</code>
</div>
<h3>Example Startup Script (Linux)</h3>
<div class="code-block">
<code>#!/bin/bash
cd /home/steam/dod
./hlds_run -game dod -port 27015 +maxplayers 32 +map dod_avalanche +exec server.cfg -console</code>
</div>
<h2 id="troubleshooting">🔧 Troubleshooting</h2>
<h3>Server Not Appearing in Browser</h3>
<p><strong>Issue:</strong> Server not visible in the in-game server browser.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Server settings and parameters</li>
<li>Player slots and limits</li>
<li>RCON/remote control access</li>
<li>FTP file access</li>
<li>Verify UDP port 27015 is open in firewall</li>
<li>Ensure <code>sv_lan 0</code> is set (not LAN-only mode)</li>
<li>Check that master server communication port (26900/UDP) is open</li>
<li>Try direct connect using IP:PORT to verify server is running</li>
<li>Wait 5-10 minutes for server to appear in master server list</li>
</ul>
<h2>Common Tasks</h2>
<h3>Starting Your Server</h3>
<p>Servers are automatically started after creation. You can stop/start your server from the control panel.</p>
<h3>Connecting to Your Server</h3>
<p>Use your server's IP address and port to connect from the game client.</p>
<h3>Managing Files</h3>
<p>Access your server files via FTP using the credentials provided in your control panel.</p>
<h2>Support</h2>
<p>If you need assistance with your Day of Defeat server:</p>
<h3>Connection Issues</h3>
<p><strong>Issue:</strong> Players cannot connect or timeout.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check our <a href="/docs.php?action=view&doc=common-issues">Common Issues</a> guide</li>
<li>Contact support through your account dashboard</li>
<li>Visit the official Day of Defeat community for game-specific help</li>
<li>Verify firewall allows traffic on game port</li>
<li>Check server is not full (<code>maxplayers</code> limit)</li>
<li>Disable password if testing: <code>sv_password ""</code></li>
<li>Verify clients have same game version</li>
<li>Check server logs in <code>dod/logs/</code> for connection errors</li>
</ul>
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
<h3>High Ping/Lag Issues</h3>
<p><strong>Issue:</strong> Players experiencing high latency.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Increase <code>sv_maxrate</code> and <code>sv_maxupdaterate</code></li>
<li>Set <code>sv_fps_max 1000</code> for smoother gameplay</li>
<li>Check server CPU usage (should be under 50%)</li>
<li>Verify network bandwidth is sufficient</li>
<li>Reduce <code>maxplayers</code> if server is overloaded</li>
</ul>
<h3>RCON Not Working</h3>
<p><strong>Issue:</strong> Cannot connect via RCON.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>rcon_password</code> is set in <code>server.cfg</code></li>
<li>Ensure TCP port (same as game port) is open</li>
<li>Use RCON tools compatible with GoldSrc/HLDS</li>
<li>Test RCON from in-game console first</li>
</ul>
<h3>Server Crashes on Startup</h3>
<p><strong>Issue:</strong> Dedicated server crashes immediately.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check <code>dod/logs/</code> for error messages</li>
<li>Verify all game files are present (validate with SteamCMD)</li>
<li>Ensure <code>server.cfg</code> syntax is correct</li>
<li>Remove custom plugins/mods temporarily</li>
<li>On Linux, check library dependencies: <code>ldd hlds_linux</code></li>
</ul>
<h3>Maps Not Loading</h3>
<p><strong>Issue:</strong> Server fails to load specific maps.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify map files exist in <code>dod/maps/</code></li>
<li>Check <code>mapcycle.txt</code> for typos in map names</li>
<li>Custom maps require .bsp, .nav, and .txt files</li>
<li>Validate game files via SteamCMD</li>
</ul>
<h2 id="game-modes">🎮 Game Modes</h2>
<p>Day of Defeat features team-based World War 2 combat with objective-based gameplay:</p>
<ul>
<li><strong>Territory Control:</strong> Capture and hold flag points to win</li>
<li><strong>Round-Based:</strong> Teams alternate attacking/defending objectives</li>
<li><strong>Team Deathmatch:</strong> Eliminate enemy players (custom servers)</li>
</ul>
<h3>Player Classes</h3>
<ul>
<li><strong>Rifleman:</strong> Basic infantry with semi-automatic rifle</li>
<li><strong>Assault:</strong> Close-quarters specialist with SMG</li>
<li><strong>Support:</strong> Provides ammunition and light machine gun fire</li>
<li><strong>Sniper:</strong> Long-range specialist with scoped rifle</li>
<li><strong>Machine Gunner:</strong> Heavy suppression with mounted MG</li>
</ul>
<h2 id="maps">🗺️ Default Maps</h2>
<h3>Official Maps</h3>
<ul>
<li><strong>dod_anzio</strong> - Italian beach landing</li>
<li><strong>dod_avalanche</strong> - Mountain village combat</li>
<li><strong>dod_caen</strong> - French city ruins</li>
<li><strong>dod_charlie</strong> - Dense jungle warfare</li>
<li><strong>dod_chemille</strong> - French countryside</li>
<li><strong>dod_donner</strong> - Snowy mountain pass</li>
<li><strong>dod_flash</strong> - Urban street combat</li>
<li><strong>dod_forest</strong> - Woodland fighting</li>
<li><strong>dod_glider</strong> - Crashed glider site</li>
<li><strong>dod_kalt</strong> - Winter village</li>
<li><strong>dod_kraftstoff</strong> - Fuel depot raid</li>
<li><strong>dod_merderet</strong> - River crossing</li>
<li><strong>dod_northbound</strong> - Train station assault</li>
<li><strong>dod_palermo</strong> - Sicilian city</li>
<li><strong>dod_saints</strong> - Church district</li>
<li><strong>dod_sturm</strong> - Bunker assault</li>
<li><strong>dod_vicenza</strong> - Italian plaza</li>
<li><strong>dod_zalec</strong> - Eastern European town</li>
</ul>
<h2 id="related-mods">🔌 Related Mods & Plugins</h2>
<p>Popular server modifications compatible with Day of Defeat:</p>
<ul>
<li><a href="../amxmodx/">AMX Mod X</a> - Popular plugin platform for Half-Life engine games with admin commands, custom plugins, and gameplay modifications</li>
<li><a href="../metamodsource/">Metamod</a> - Core plugin loader for Source/GoldSrc engines</li>
<li><strong>DoD Stats:</strong> Player statistics and ranking systems</li>
<li><strong>Custom Maps:</strong> Thousands of community-created maps available</li>
</ul>
<h2>📚 Resources</h2>
<ul>
<li><strong>SteamCMD:</strong> <a href="https://developer.valvesoftware.com/wiki/SteamCMD" target="_blank">https://developer.valvesoftware.com/wiki/SteamCMD</a></li>
<li><strong>DoD Community:</strong> Forums and mapping communities</li>
<li><strong>Map Resources:</strong> GameBanana, DoD-Central</li>
<li><strong>RCON Tools:</strong> HLSW, SourceMod admin panels</li>
</ul>
<div class="warning-box">
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Important Notes</h3>
<ul style="color: #fef3c7; line-height: 1.8;">
<li>Always keep your server updated to the latest version</li>
<li>Make regular backups of your server configuration</li>
<li>Review and follow the game's End User License Agreement (EULA)</li>
<li>Day of Defeat runs on the <strong>GoldSrc engine</strong> (original Half-Life engine)</li>
<li>Maximum <strong>32 players</strong> supported per server</li>
<li>Regular updates via SteamCMD recommended for security patches</li>
<li><strong>Class limits</strong> should be configured to prevent team imbalance</li>
<li>Custom maps require clients to download .bsp and associated files</li>
<li>AMX Mod X provides extensive admin and gameplay features</li>
<li>Always secure your RCON password</li>
<li>World War 2 theme with historical Allied vs Axis combat</li>
<li>Territory control is the primary game mode</li>
<li>Server browser may take 5-10 minutes to update after changes</li>
</ul>
</div>

View file

@ -2,5 +2,5 @@
"description": "Setup and configuration guide for Day of Defeat game servers",
"name": "Day of Defeat",
"order": 66,
"category": "todo"
"category": "game"
}

View file

@ -3,66 +3,497 @@
* Day of Defeat Source Server Documentation
*/
?>
<h1>Day of Defeat Source Server Guide</h1>
<style>
.nav-menu {
background: #1a1a2e;
padding: 15px;
border-radius: 8px;
margin-bottom: 25px;
}
.nav-menu a {
color: #4a9eff;
text-decoration: none;
margin-right: 15px;
font-size: 14px;
}
.nav-menu a:hover {
color: #6bb3ff;
text-decoration: underline;
}
.info-box {
background: #1e3a5f;
padding: 20px;
border-left: 4px solid #3b82f6;
margin: 20px 0;
border-radius: 4px;
}
.warning-box {
background: #78350f;
padding: 20px;
border-left: 4px solid #f59e0b;
margin: 20px 0;
border-radius: 4px;
}
.code-block {
background: #0f172a;
padding: 15px;
border-radius: 4px;
margin: 15px 0;
overflow-x: auto;
}
.code-block code {
color: #a5b4fc;
font-family: 'Courier New', monospace;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
background: #1a1a2e;
}
table th {
background: #2a2a4e;
color: #ffffff;
padding: 12px;
text-align: left;
border: 1px solid #3a3a6e;
}
table td {
padding: 10px 12px;
border: 1px solid #3a3a6e;
color: #e5e7eb;
}
table tr:nth-child(even) {
background: #222244;
}
</style>
<h2>Overview</h2>
<p><strong>Day of Defeat Source</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your Day of Defeat Source server.</p>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Server Information</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">27015</code></li>
<li><strong style="color: #ffffff;">Protocol:</strong> UDP</li>
<li><strong style="color: #ffffff;">Additional Info:</strong> Query port also uses 27015 UDP</li>
</ul>
<p style="color: #e5e7eb; margin-top: 12px; font-size: 0.95em;">
<em>Note: When running on a VPS or dedicated server, you can use the default port or configure a custom port in your server configuration file.</em>
</p>
<div class="nav-menu">
<strong style="color: #ffffff;">Quick Navigation:</strong>
<a href="#quick-info">Quick Info</a> |
<a href="#ports">Ports</a> |
<a href="#installation">Installation</a> |
<a href="#configuration">Configuration</a> |
<a href="#parameters">Parameters</a> |
<a href="#troubleshooting">Troubleshooting</a> |
<a href="#game-modes">Game Modes</a> |
<a href="#maps">Maps</a> |
<a href="#related-mods">Mods</a>
</div>
<h2>Getting Started</h2>
<p>To create a Day of Defeat Source server:</p>
<h1>Day of Defeat: Source Server Guide</h1>
<h2 id="quick-info">📋 Quick Info</h2>
<div class="info-box">
<h3 style="color: #ffffff; margin-top: 0;">Server Specifications</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Game:</strong> Day of Defeat: Source (Source Engine)</li>
<li><strong style="color: #ffffff;">Platform:</strong> Windows, Linux</li>
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">27015/UDP</code></li>
<li><strong style="color: #ffffff;">Max Players:</strong> 32 (typical: 16-32)</li>
<li><strong style="color: #ffffff;">Control Protocol:</strong> RCON</li>
<li><strong style="color: #ffffff;">Server Binary:</strong> srcds_run (Linux), srcds.exe (Windows)</li>
<li><strong style="color: #ffffff;">App ID:</strong> 232290</li>
<li><strong style="color: #ffffff;">Special Features:</strong> Enhanced graphics, physics, class achievements</li>
</ul>
</div>
<h2 id="ports">🔌 Ports & Firewall Configuration</h2>
<p>Day of Defeat: Source servers require specific ports for proper operation:</p>
<table>
<thead>
<tr>
<th>Port</th>
<th>Protocol</th>
<th>Purpose</th>
<th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td>27015 (configurable)</td>
<td>UDP</td>
<td>Game port</td>
<td>Yes</td>
</tr>
<tr>
<td>27015 (same as game)</td>
<td>TCP</td>
<td>RCON/Source TV</td>
<td>Optional</td>
</tr>
<tr>
<td>27005</td>
<td>UDP</td>
<td>Client port</td>
<td>Yes</td>
</tr>
<tr>
<td>27020</td>
<td>UDP</td>
<td>SourceTV port</td>
<td>Optional</td>
</tr>
</tbody>
</table>
<h3>Firewall Examples</h3>
<p><strong>UFW (Ubuntu/Debian):</strong></p>
<div class="code-block">
<code>sudo ufw allow 27015/udp comment 'DoD:S Game Port'
sudo ufw allow 27015/tcp comment 'DoD:S RCON'
sudo ufw allow 27005/udp comment 'DoD:S Client Port'
sudo ufw allow 27020/udp comment 'DoD:S SourceTV'</code>
</div>
<p><strong>FirewallD (CentOS/RHEL):</strong></p>
<div class="code-block">
<code>sudo firewall-cmd --permanent --add-port=27015/udp
sudo firewall-cmd --permanent --add-port=27015/tcp
sudo firewall-cmd --permanent --add-port=27005/udp
sudo firewall-cmd --permanent --add-port=27020/udp
sudo firewall-cmd --reload</code>
</div>
<p><strong>iptables:</strong></p>
<div class="code-block">
<code>iptables -A INPUT -p udp --dport 27015 -j ACCEPT
iptables -A INPUT -p tcp --dport 27015 -j ACCEPT
iptables -A INPUT -p udp --dport 27005 -j ACCEPT
iptables -A INPUT -p udp --dport 27020 -j ACCEPT</code>
</div>
<h2 id="installation">⚙️ Installation & Setup</h2>
<h3>System Requirements</h3>
<ul>
<li><strong>OS:</strong> Linux (Ubuntu 18.04+, Debian 9+, CentOS 7+) or Windows Server 2012+</li>
<li><strong>CPU:</strong> 2+ cores @ 2.5GHz recommended</li>
<li><strong>RAM:</strong> 1GB minimum, 2GB+ recommended for 32 players</li>
<li><strong>Disk:</strong> 10GB for game files</li>
<li><strong>Network:</strong> Stable connection, 10Mbps+ bandwidth</li>
</ul>
<h3>Installation via SteamCMD (Linux)</h3>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>Day of Defeat Source</strong> in the list</li>
<li>Select your preferred configuration (slots, duration, etc.)</li>
<li>Add to cart and complete checkout</li>
<li>Your server will be automatically provisioned within minutes</li>
<li><strong>Install SteamCMD:</strong>
<div class="code-block"><code>sudo apt-get install steamcmd # Debian/Ubuntu
sudo yum install steamcmd # CentOS/RHEL</code></div>
</li>
<li><strong>Run SteamCMD and install DoD:S server:</strong>
<div class="code-block"><code>steamcmd +login anonymous +force_install_dir /home/steam/dods +app_update 232290 validate +quit</code></div>
</li>
<li><strong>Create server.cfg:</strong> Navigate to <code>/home/steam/dods/dod/cfg/</code> and create configuration file</li>
</ol>
<h2>Server Configuration</h2>
<p>After your server is created, you can configure it through the control panel:</p>
<h3>Installation via SteamCMD (Windows)</h3>
<ol>
<li>Download SteamCMD from Valve's website</li>
<li>Extract to <code>C:\steamcmd\</code></li>
<li>Run: <code>steamcmd +login anonymous +force_install_dir C:\dods +app_update 232290 validate +quit</code></li>
<li>Create <code>server.cfg</code> in <code>C:\dods\dod\cfg\</code></li>
</ol>
<h2 id="configuration">📝 Configuration</h2>
<h3>Basic server.cfg Example</h3>
<div class="code-block">
<code>// Server Name
hostname "My DoD:Source Server"
// RCON Password
rcon_password "your_secure_password"
// Server Password (leave blank for public)
sv_password ""
// Network Settings
sv_region 255 // 0=US East, 1=US West, 2=South America, 3=Europe, etc.
sv_contact "admin@example.com"
sv_tags "dods,nocrits,alltalk"
// Game Settings
mp_teamplay 1
mp_friendlyfire 0
mp_autokick 1
mp_autoteambalance 1
mp_limitteams 2 // Max player difference between teams
mp_teams_unbalance_limit 2
// Time Settings
mp_timelimit 30 // Minutes per map
mp_winlimit 0
mp_maxrounds 0
mp_roundtime 5 // Minutes per round
// Hit Registration & Rates
sv_maxrate 0 // 0=unlimited, recommended for good connections
sv_minrate 5000
sv_maxupdaterate 66
sv_minupdaterate 20
sv_maxcmdrate 66
sv_mincmdrate 20
// Server Performance
sv_maxspeed 320
fps_max 600
// Logging
log on
sv_logbans 1
sv_logecho 0
sv_logfile 1
sv_log_onefile 0
// Download Settings
sv_allowdownload 1
sv_allowupload 1
sv_downloadurl "" // FastDL URL if available
// Voice Chat
sv_voiceenable 1
sv_alltalk 0 // 0=team only, 1=everyone
// SourceTV (optional)
tv_enable 0
tv_name "DoD:Source TV"
tv_maxclients 4
tv_delay 30
// Map Cycle
mapcyclefile "mapcycle_default.txt"
// Execute additional configs
exec banned_user.cfg
exec banned_ip.cfg</code>
</div>
<h3>mapcycle_default.txt Example</h3>
<div class="code-block">
<code>dod_anzio
dod_avalanche
dod_colmar
dod_donner
dod_flash
dod_jagd
dod_kalt
dod_palermo</code>
</div>
<h2 id="parameters">🚀 Startup Parameters</h2>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>-game</td>
<td>Specify game (dod)</td>
<td>-game dod</td>
</tr>
<tr>
<td>-port</td>
<td>Server port</td>
<td>-port 27015</td>
</tr>
<tr>
<td>-maxplayers</td>
<td>Maximum player slots</td>
<td>-maxplayers 32</td>
</tr>
<tr>
<td>+map</td>
<td>Starting map</td>
<td>+map dod_avalanche</td>
</tr>
<tr>
<td>+exec</td>
<td>Execute config file on startup</td>
<td>+exec server.cfg</td>
</tr>
<tr>
<td>-ip</td>
<td>Bind to specific IP</td>
<td>-ip 192.168.1.100</td>
</tr>
<tr>
<td>-console</td>
<td>Enable console output (Windows)</td>
<td>-console</td>
</tr>
<tr>
<td>-tickrate</td>
<td>Server tickrate (default: 66)</td>
<td>-tickrate 100</td>
</tr>
<tr>
<td>+sv_pure</td>
<td>File consistency checking (0-2)</td>
<td>+sv_pure 1</td>
</tr>
</tbody>
</table>
<h3>Example Startup Command (Linux)</h3>
<div class="code-block">
<code>./srcds_run -game dod -port 27015 -maxplayers 32 +map dod_avalanche +exec server.cfg -tickrate 66</code>
</div>
<h3>Example Startup Command (Windows)</h3>
<div class="code-block">
<code>srcds.exe -game dod -port 27015 -maxplayers 32 +map dod_avalanche +exec server.cfg -console -tickrate 66</code>
</div>
<h3>Example Startup Script (Linux)</h3>
<div class="code-block">
<code>#!/bin/bash
cd /home/steam/dods
./srcds_run -game dod -port 27015 -maxplayers 32 +map dod_avalanche +exec server.cfg -tickrate 66</code>
</div>
<h2 id="troubleshooting">🔧 Troubleshooting</h2>
<h3>Server Not Appearing in Browser</h3>
<p><strong>Issue:</strong> Server not visible in the in-game server browser.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Server settings and parameters</li>
<li>Player slots and limits</li>
<li>RCON/remote control access</li>
<li>FTP file access</li>
<li>Verify UDP port 27015 is open in firewall</li>
<li>Ensure <code>sv_lan 0</code> is set (not LAN-only mode)</li>
<li>Check Steam master server is reachable</li>
<li>Try direct connect using IP:PORT to verify server is running</li>
<li>Validate game files via SteamCMD if corrupted</li>
</ul>
<h2>Common Tasks</h2>
<h3>Starting Your Server</h3>
<p>Servers are automatically started after creation. You can stop/start your server from the control panel.</p>
<h3>Connecting to Your Server</h3>
<p>Use your server's IP address and port to connect from the game client.</p>
<h3>Managing Files</h3>
<p>Access your server files via FTP using the credentials provided in your control panel.</p>
<h2>Support</h2>
<p>If you need assistance with your Day of Defeat Source server:</p>
<h3>Connection Issues</h3>
<p><strong>Issue:</strong> Players cannot connect or timeout.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check our <a href="/docs.php?action=view&doc=common-issues">Common Issues</a> guide</li>
<li>Contact support through your account dashboard</li>
<li>Visit the official Day of Defeat Source community for game-specific help</li>
<li>Verify firewall allows traffic on game port</li>
<li>Check server is not full (<code>maxplayers</code> limit)</li>
<li>Disable password if testing: <code>sv_password ""</code></li>
<li>Check <code>sv_pure</code> settings if custom content conflicts</li>
<li>Review server logs in <code>dod/logs/</code></li>
</ul>
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
<h3>High Ping/Lag Issues</h3>
<p><strong>Issue:</strong> Players experiencing high latency.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Set <code>sv_maxrate 0</code> for unlimited bandwidth</li>
<li>Increase tickrate if CPU can handle it: <code>-tickrate 100</code></li>
<li>Set <code>fps_max 600</code> or higher</li>
<li>Check server CPU usage (should be under 70%)</li>
<li>Verify network bandwidth is sufficient for player count</li>
</ul>
<h3>RCON Not Working</h3>
<p><strong>Issue:</strong> Cannot connect via RCON.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>rcon_password</code> is set in <code>server.cfg</code></li>
<li>Ensure TCP port (same as game port) is open</li>
<li>Use Source-compatible RCON tools</li>
<li>Test RCON from in-game console first</li>
</ul>
<h3>Server Crashes on Startup</h3>
<p><strong>Issue:</strong> Dedicated server crashes immediately.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check <code>dod/logs/</code> for error messages</li>
<li>Validate game files: <code>steamcmd +app_update 232290 validate +quit</code></li>
<li>Ensure <code>server.cfg</code> syntax is correct</li>
<li>Remove plugins temporarily (SourceMod/Metamod)</li>
<li>On Linux, install required 32-bit libraries</li>
</ul>
<h3>SourceMod/Metamod Issues</h3>
<p><strong>Issue:</strong> Plugins not loading or causing crashes.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Ensure Metamod:Source is installed before SourceMod</li>
<li>Verify plugin compatibility with DoD:S</li>
<li>Check <code>addons/sourcemod/logs/</code> for errors</li>
<li>Update SourceMod and Metamod to latest stable versions</li>
</ul>
<h2 id="game-modes">🎮 Game Modes</h2>
<p>Day of Defeat: Source features team-based World War 2 combat with objective gameplay:</p>
<ul>
<li><strong>Territory Control:</strong> Capture and hold flag points to win rounds</li>
<li><strong>Round-Based:</strong> Teams alternate attacking/defending objectives</li>
<li><strong>Achievements:</strong> In-game achievement system for players</li>
</ul>
<h3>Player Classes</h3>
<ul>
<li><strong>Rifleman:</strong> Versatile infantry with semi-automatic rifle</li>
<li><strong>Assault:</strong> Close-quarters specialist with SMG and grenades</li>
<li><strong>Support:</strong> Ammunition provider with automatic rifle</li>
<li><strong>Sniper:</strong> Long-range precision with scoped rifle</li>
<li><strong>Machine Gunner:</strong> Heavy suppression with MG42/BAR</li>
<li><strong>Rocket:</strong> Anti-tank specialist with Panzerschreck/Bazooka</li>
</ul>
<h2 id="maps">🗺️ Default Maps</h2>
<h3>Official Maps</h3>
<ul>
<li><strong>dod_anzio</strong> - Italian coastal assault (remake)</li>
<li><strong>dod_avalanche</strong> - Alpine village combat (remake)</li>
<li><strong>dod_colmar</strong> - French town battle</li>
<li><strong>dod_donner</strong> - Mountain pass (remake)</li>
<li><strong>dod_flash</strong> - Urban street fighting (remake)</li>
<li><strong>dod_jagd</strong> - Forest engagement</li>
<li><strong>dod_kalt</strong> - Winter village (remake)</li>
<li><strong>dod_palermo</strong> - Sicilian plaza (remake)</li>
</ul>
<h3>Map Features</h3>
<ul>
<li>Enhanced graphics and physics using Source Engine</li>
<li>Realistic lighting and particle effects</li>
<li>Destructible elements and dynamic objects</li>
<li>Improved audio design with positional sound</li>
</ul>
<h2 id="related-mods">🔌 Related Mods & Plugins</h2>
<p>Popular server modifications compatible with Day of Defeat: Source:</p>
<ul>
<li><a href="../metamodsource/">Metamod:Source</a> - Core plugin loader for Source engine games</li>
<li><strong>SourceMod:</strong> Popular admin and plugin platform for Source games</li>
<li><strong>Custom Maps:</strong> Extensive community map collection</li>
<li><strong>DoD:S Stats:</strong> Advanced player statistics and ranking</li>
</ul>
<h2>📚 Resources</h2>
<ul>
<li><strong>SteamCMD:</strong> <a href="https://developer.valvesoftware.com/wiki/SteamCMD" target="_blank">https://developer.valvesoftware.com/wiki/SteamCMD</a></li>
<li><strong>SourceMod:</strong> <a href="https://www.sourcemod.net/" target="_blank">https://www.sourcemod.net/</a></li>
<li><strong>Metamod:Source:</strong> <a href="https://www.sourcemm.net/" target="_blank">https://www.sourcemm.net/</a></li>
<li><strong>Map Resources:</strong> GameBanana, Steam Workshop (if supported)</li>
</ul>
<div class="warning-box">
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Important Notes</h3>
<ul style="color: #fef3c7; line-height: 1.8;">
<li>Always keep your server updated to the latest version</li>
<li>Make regular backups of your server configuration</li>
<li>Review and follow the game's End User License Agreement (EULA)</li>
<li>Day of Defeat: Source uses the <strong>Source Engine</strong> (enhanced graphics vs original)</li>
<li>Maximum <strong>32 players</strong> supported per server</li>
<li>Regular updates via SteamCMD recommended for security and bug fixes</li>
<li><strong>SourceMod and Metamod:Source</strong> provide extensive admin features</li>
<li>Higher system requirements than original DoD due to Source Engine</li>
<li>Tickrate affects server performance; 66 is standard, 100 requires more CPU</li>
<li>FastDL server recommended for custom content distribution</li>
<li>Always secure your RCON password</li>
<li>Achievement system requires VAC-secure server configuration</li>
<li>World War 2 theme with Allied (US) vs Axis (German) combat</li>
</ul>
</div>

View file

@ -2,5 +2,5 @@
"description": "Setup and configuration guide for Day of Defeat Source game servers",
"name": "Day of Defeat Source",
"order": 68,
"category": "todo"
"category": "game"
}

View file

@ -3,66 +3,527 @@
* Day of Infamy Server Documentation
*/
?>
<h1>Day of Infamy Server Guide</h1>
<style>
.nav-menu {
background: #1a1a2e;
padding: 15px;
border-radius: 8px;
margin-bottom: 25px;
}
.nav-menu a {
color: #4a9eff;
text-decoration: none;
margin-right: 15px;
font-size: 14px;
}
.nav-menu a:hover {
color: #6bb3ff;
text-decoration: underline;
}
.info-box {
background: #1e3a5f;
padding: 20px;
border-left: 4px solid #3b82f6;
margin: 20px 0;
border-radius: 4px;
}
.warning-box {
background: #78350f;
padding: 20px;
border-left: 4px solid #f59e0b;
margin: 20px 0;
border-radius: 4px;
}
.code-block {
background: #0f172a;
padding: 15px;
border-radius: 4px;
margin: 15px 0;
overflow-x: auto;
}
.code-block code {
color: #a5b4fc;
font-family: 'Courier New', monospace;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
background: #1a1a2e;
}
table th {
background: #2a2a4e;
color: #ffffff;
padding: 12px;
text-align: left;
border: 1px solid #3a3a6e;
}
table td {
padding: 10px 12px;
border: 1px solid #3a3a6e;
color: #e5e7eb;
}
table tr:nth-child(even) {
background: #222244;
}
</style>
<h2>Overview</h2>
<p><strong>Day of Infamy</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your Day of Infamy server.</p>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Server Information</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">27015</code></li>
<li><strong style="color: #ffffff;">Protocol:</strong> UDP</li>
<li><strong style="color: #ffffff;">Additional Info:</strong> Query port also uses 27015 UDP</li>
</ul>
<p style="color: #e5e7eb; margin-top: 12px; font-size: 0.95em;">
<em>Note: When running on a VPS or dedicated server, you can use the default port or configure a custom port in your server configuration file.</em>
</p>
<div class="nav-menu">
<strong style="color: #ffffff;">Quick Navigation:</strong>
<a href="#quick-info">Quick Info</a> |
<a href="#ports">Ports</a> |
<a href="#installation">Installation</a> |
<a href="#configuration">Configuration</a> |
<a href="#parameters">Parameters</a> |
<a href="#troubleshooting">Troubleshooting</a> |
<a href="#game-modes">Game Modes</a> |
<a href="#maps">Maps</a> |
<a href="#related-mods">Mods</a>
</div>
<h2>Getting Started</h2>
<p>To create a Day of Infamy server:</p>
<h1>Day of Infamy Server Guide</h1>
<h2 id="quick-info">📋 Quick Info</h2>
<div class="info-box">
<h3 style="color: #ffffff; margin-top: 0;">Server Specifications</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Game:</strong> Day of Infamy (Modified Source Engine)</li>
<li><strong style="color: #ffffff;">Platform:</strong> Windows, Linux</li>
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">27015/UDP</code></li>
<li><strong style="color: #ffffff;">Max Players:</strong> 32 (typical: 16-32)</li>
<li><strong style="color: #ffffff;">Control Protocol:</strong> RCON</li>
<li><strong style="color: #ffffff;">Server Binary:</strong> srcds_run (Linux), srcds.exe (Windows)</li>
<li><strong style="color: #ffffff;">App ID:</strong> 462310</li>
<li><strong style="color: #ffffff;">Special Features:</strong> Squad-based combat, class system, WW2 theaters</li>
</ul>
</div>
<h2 id="ports">🔌 Ports & Firewall Configuration</h2>
<p>Day of Infamy servers require specific ports for proper operation:</p>
<table>
<thead>
<tr>
<th>Port</th>
<th>Protocol</th>
<th>Purpose</th>
<th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td>27015 (configurable)</td>
<td>UDP</td>
<td>Game port</td>
<td>Yes</td>
</tr>
<tr>
<td>27015 (same as game)</td>
<td>TCP</td>
<td>RCON/Source TV</td>
<td>Optional</td>
</tr>
<tr>
<td>27005</td>
<td>UDP</td>
<td>Client port</td>
<td>Yes</td>
</tr>
<tr>
<td>27020</td>
<td>UDP</td>
<td>SourceTV port</td>
<td>Optional</td>
</tr>
</tbody>
</table>
<h3>Firewall Examples</h3>
<p><strong>UFW (Ubuntu/Debian):</strong></p>
<div class="code-block">
<code>sudo ufw allow 27015/udp comment 'DoI Game Port'
sudo ufw allow 27015/tcp comment 'DoI RCON'
sudo ufw allow 27005/udp comment 'DoI Client Port'
sudo ufw allow 27020/udp comment 'DoI SourceTV'</code>
</div>
<p><strong>FirewallD (CentOS/RHEL):</strong></p>
<div class="code-block">
<code>sudo firewall-cmd --permanent --add-port=27015/udp
sudo firewall-cmd --permanent --add-port=27015/tcp
sudo firewall-cmd --permanent --add-port=27005/udp
sudo firewall-cmd --permanent --add-port=27020/udp
sudo firewall-cmd --reload</code>
</div>
<p><strong>iptables:</strong></p>
<div class="code-block">
<code>iptables -A INPUT -p udp --dport 27015 -j ACCEPT
iptables -A INPUT -p tcp --dport 27015 -j ACCEPT
iptables -A INPUT -p udp --dport 27005 -j ACCEPT
iptables -A INPUT -p udp --dport 27020 -j ACCEPT</code>
</div>
<h2 id="installation">⚙️ Installation & Setup</h2>
<h3>System Requirements</h3>
<ul>
<li><strong>OS:</strong> Linux (Ubuntu 18.04+, Debian 9+, CentOS 7+) or Windows Server 2012+</li>
<li><strong>CPU:</strong> 2+ cores @ 2.5GHz recommended</li>
<li><strong>RAM:</strong> 2GB minimum, 4GB+ recommended for 32 players</li>
<li><strong>Disk:</strong> 15GB for game files</li>
<li><strong>Network:</strong> Stable connection, 10Mbps+ bandwidth</li>
</ul>
<h3>Installation via SteamCMD (Linux)</h3>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>Day of Infamy</strong> in the list</li>
<li>Select your preferred configuration (slots, duration, etc.)</li>
<li>Add to cart and complete checkout</li>
<li>Your server will be automatically provisioned within minutes</li>
<li><strong>Install SteamCMD:</strong>
<div class="code-block"><code>sudo apt-get install steamcmd # Debian/Ubuntu
sudo yum install steamcmd # CentOS/RHEL</code></div>
</li>
<li><strong>Run SteamCMD and install DoI server:</strong>
<div class="code-block"><code>steamcmd +login anonymous +force_install_dir /home/steam/doi +app_update 462310 validate +quit</code></div>
</li>
<li><strong>Create server.cfg:</strong> Navigate to <code>/home/steam/doi/doi/cfg/</code> and create configuration file</li>
</ol>
<h2>Server Configuration</h2>
<p>After your server is created, you can configure it through the control panel:</p>
<h3>Installation via SteamCMD (Windows)</h3>
<ol>
<li>Download SteamCMD from Valve's website</li>
<li>Extract to <code>C:\steamcmd\</code></li>
<li>Run: <code>steamcmd +login anonymous +force_install_dir C:\doi +app_update 462310 validate +quit</code></li>
<li>Create <code>server.cfg</code> in <code>C:\doi\doi\cfg\</code></li>
</ol>
<h2 id="configuration">📝 Configuration</h2>
<h3>Basic server.cfg Example</h3>
<div class="code-block">
<code>// Server Name
hostname "My Day of Infamy Server"
// RCON Password
rcon_password "your_secure_password"
// Server Password (leave blank for public)
sv_password ""
// Network Settings
sv_region 255 // 0=US East, 1=US West, 2=South America, 3=Europe, etc.
sv_contact "admin@example.com"
sv_tags "doi,hardcore,custom"
// Game Settings
mp_teamplay 1
mp_friendlyfire 1 // Friendly fire on (realistic)
mp_autokick 0
mp_autoteambalance 1
mp_limitteams 2
// Time Settings
mp_roundtime 10 // Minutes per round
mp_round_restart_delay 15 // Seconds between rounds
// Spawn Settings
mp_tkpunish 0 // Team kill punishment
mp_forcecamera 1 // Force spectator camera rules
// Hit Registration & Rates
sv_maxrate 0 // 0=unlimited
sv_minrate 20000
sv_maxupdaterate 66
sv_minupdaterate 20
sv_maxcmdrate 66
sv_mincmdrate 20
// Server Performance
sv_maxspeed 320
fps_max 300
// Logging
log on
sv_logbans 1
sv_logecho 0
sv_logfile 1
sv_log_onefile 0
// Download Settings
sv_allowdownload 1
sv_allowupload 1
sv_downloadurl "" // FastDL URL if available
// Voice Chat
sv_voiceenable 1
sv_alltalk 0 // Team-only voice
// Gameplay Settings
doi_coop_max_waves 10 // Co-op mode wave count
doi_squad_enabled 1 // Enable squad system
doi_squad_leadership_enabled 1 // Squad leader mechanics
// Theater-specific settings
mp_theater "default" // default, rifle_only, bolt_action, etc.
// SourceTV (optional)
tv_enable 0
tv_name "Day of Infamy TV"
tv_maxclients 4
tv_delay 30
// Map Cycle
mapcyclefile "mapcycle_default.txt"
// Execute additional configs
exec banned_user.cfg
exec banned_ip.cfg</code>
</div>
<h3>mapcycle_default.txt Example</h3>
<div class="code-block">
<code>bastogne
bocage
brenner
crete
dog_red
dunkirk
foy
ortona
salerno
sicily
stgilles</code>
</div>
<h2 id="parameters">🚀 Startup Parameters</h2>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>-game</td>
<td>Specify game (doi)</td>
<td>-game doi</td>
</tr>
<tr>
<td>-port</td>
<td>Server port</td>
<td>-port 27015</td>
</tr>
<tr>
<td>-maxplayers</td>
<td>Maximum player slots</td>
<td>-maxplayers 32</td>
</tr>
<tr>
<td>+map</td>
<td>Starting map</td>
<td>+map bastogne</td>
</tr>
<tr>
<td>+exec</td>
<td>Execute config file on startup</td>
<td>+exec server.cfg</td>
</tr>
<tr>
<td>-ip</td>
<td>Bind to specific IP</td>
<td>-ip 192.168.1.100</td>
</tr>
<tr>
<td>-console</td>
<td>Enable console output (Windows)</td>
<td>-console</td>
</tr>
<tr>
<td>-tickrate</td>
<td>Server tickrate (default: 66)</td>
<td>-tickrate 100</td>
</tr>
<tr>
<td>+sv_pure</td>
<td>File consistency checking (0-2)</td>
<td>+sv_pure 1</td>
</tr>
</tbody>
</table>
<h3>Example Startup Command (Linux)</h3>
<div class="code-block">
<code>./srcds_run -game doi -port 27015 -maxplayers 32 +map bastogne +exec server.cfg -tickrate 66</code>
</div>
<h3>Example Startup Command (Windows)</h3>
<div class="code-block">
<code>srcds.exe -game doi -port 27015 -maxplayers 32 +map bastogne +exec server.cfg -console -tickrate 66</code>
</div>
<h3>Example Startup Script (Linux)</h3>
<div class="code-block">
<code>#!/bin/bash
cd /home/steam/doi
./srcds_run -game doi -port 27015 -maxplayers 32 +map bastogne +exec server.cfg -tickrate 66</code>
</div>
<h2 id="troubleshooting">🔧 Troubleshooting</h2>
<h3>Server Not Appearing in Browser</h3>
<p><strong>Issue:</strong> Server not visible in the in-game server browser.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Server settings and parameters</li>
<li>Player slots and limits</li>
<li>RCON/remote control access</li>
<li>FTP file access</li>
<li>Verify UDP port 27015 is open in firewall</li>
<li>Ensure <code>sv_lan 0</code> is set</li>
<li>Check Steam master server connectivity</li>
<li>Try direct connect using IP:PORT</li>
<li>Validate game files via SteamCMD</li>
</ul>
<h2>Common Tasks</h2>
<h3>Starting Your Server</h3>
<p>Servers are automatically started after creation. You can stop/start your server from the control panel.</p>
<h3>Connecting to Your Server</h3>
<p>Use your server's IP address and port to connect from the game client.</p>
<h3>Managing Files</h3>
<p>Access your server files via FTP using the credentials provided in your control panel.</p>
<h2>Support</h2>
<p>If you need assistance with your Day of Infamy server:</p>
<h3>Connection Issues</h3>
<p><strong>Issue:</strong> Players cannot connect or timeout.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check our <a href="/docs.php?action=view&doc=common-issues">Common Issues</a> guide</li>
<li>Contact support through your account dashboard</li>
<li>Visit the official Day of Infamy community for game-specific help</li>
<li>Verify firewall allows traffic on game port</li>
<li>Check server is not full (<code>maxplayers</code> limit)</li>
<li>Disable password if testing: <code>sv_password ""</code></li>
<li>Check <code>sv_pure</code> settings for custom content</li>
<li>Review server logs in <code>doi/logs/</code></li>
</ul>
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
<h3>High Ping/Lag Issues</h3>
<p><strong>Issue:</strong> Players experiencing high latency.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Set <code>sv_maxrate 0</code> for unlimited bandwidth</li>
<li>Increase tickrate if CPU allows: <code>-tickrate 100</code></li>
<li>Set <code>fps_max 300</code> or higher</li>
<li>Check server CPU usage (under 70%)</li>
<li>Verify network bandwidth is sufficient</li>
</ul>
<h3>Squad System Issues</h3>
<p><strong>Issue:</strong> Squad mechanics not working properly.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>doi_squad_enabled 1</code> in server.cfg</li>
<li>Ensure <code>doi_squad_leadership_enabled 1</code> for squad leader features</li>
<li>Check player counts meet minimum for squad formation</li>
<li>Review squad-related console variables</li>
</ul>
<h3>Co-op Mode Problems</h3>
<p><strong>Issue:</strong> Co-op missions not functioning correctly.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Use co-op specific maps (prefix: <code>coop_</code>)</li>
<li>Set <code>doi_coop_max_waves</code> appropriately</li>
<li>Verify AI bot settings are configured</li>
<li>Check for conflicting plugins/mods</li>
</ul>
<h3>SourceMod/Metamod Issues</h3>
<p><strong>Issue:</strong> Plugins not loading or causing crashes.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Ensure Metamod:Source is installed before SourceMod</li>
<li>Verify plugin compatibility with Day of Infamy</li>
<li>Check <code>addons/sourcemod/logs/</code> for errors</li>
<li>Update SourceMod and Metamod to latest versions</li>
</ul>
<h2 id="game-modes">🎮 Game Modes</h2>
<p>Day of Infamy features multiple game modes with squad-based WW2 combat:</p>
<h3>Multiplayer Modes</h3>
<ul>
<li><strong>Liberation:</strong> Attack and defend objectives sequentially</li>
<li><strong>Offensive:</strong> One team attacks all objectives while defenders hold</li>
<li><strong>Entrenchment:</strong> Defend positions against enemy waves</li>
<li><strong>Stronghold:</strong> Capture and hold key positions</li>
</ul>
<h3>Co-op Modes</h3>
<ul>
<li><strong>Cooperative:</strong> Team vs AI bot waves</li>
<li><strong>Survival:</strong> Hold out against increasingly difficult bot attacks</li>
</ul>
<h3>Player Classes</h3>
<ul>
<li><strong>Rifleman:</strong> Standard infantry with semi-auto rifle</li>
<li><strong>Assault:</strong> Close-quarters with SMG and grenades</li>
<li><strong>Support:</strong> Ammunition and suppression fire</li>
<li><strong>Engineer:</strong> Repair and construction specialist</li>
<li><strong>Machine Gunner:</strong> Heavy suppression weapon</li>
<li><strong>Sniper:</strong> Long-range precision</li>
<li><strong>Radioman:</strong> Artillery and air support caller</li>
</ul>
<h2 id="maps">🗺️ Default Maps</h2>
<h3>Official Maps</h3>
<ul>
<li><strong>bastogne</strong> - Battle of the Bulge, Belgium</li>
<li><strong>bocage</strong> - French hedgerow country</li>
<li><strong>brenner</strong> - Alpine mountain pass</li>
<li><strong>crete</strong> - Greek island invasion</li>
<li><strong>dog_red</strong> - Omaha Beach landing</li>
<li><strong>dunkirk</strong> - British evacuation</li>
<li><strong>foy</strong> - Belgian village combat</li>
<li><strong>ortona</strong> - Italian city battle</li>
<li><strong>salerno</strong> - Italian coastal invasion</li>
<li><strong>sicily</strong> - Sicilian campaign</li>
<li><strong>stgilles</strong> - French town liberation</li>
</ul>
<h3>Co-op Maps</h3>
<ul>
<li><strong>coop_* variants</strong> - Co-op versions of multiplayer maps</li>
<li>Designed for players vs AI bots</li>
</ul>
<h3>Map Theaters</h3>
<ul>
<li><strong>Western Front:</strong> France, Belgium, Netherlands</li>
<li><strong>Mediterranean:</strong> Italy, Sicily, Greece, Crete</li>
<li><strong>Eastern Front:</strong> (Available in DLC/expansions)</li>
</ul>
<h2 id="related-mods">🔌 Related Mods & Plugins</h2>
<p>Popular server modifications compatible with Day of Infamy:</p>
<ul>
<li><a href="../metamodsource/">Metamod:Source</a> - Core plugin loader for Source engine games</li>
<li><strong>SourceMod:</strong> Admin and plugin platform for Source games</li>
<li><strong>Custom Maps:</strong> Community-created maps and theaters</li>
<li><strong>Custom Theaters:</strong> Weapon loadout modifications</li>
<li><strong>Bot Improvements:</strong> Enhanced AI behavior plugins</li>
</ul>
<h2>📚 Resources</h2>
<ul>
<li><strong>SteamCMD:</strong> <a href="https://developer.valvesoftware.com/wiki/SteamCMD" target="_blank">https://developer.valvesoftware.com/wiki/SteamCMD</a></li>
<li><strong>SourceMod:</strong> <a href="https://www.sourcemod.net/" target="_blank">https://www.sourcemod.net/</a></li>
<li><strong>Metamod:Source:</strong> <a href="https://www.sourcemm.net/" target="_blank">https://www.sourcemm.net/</a></li>
<li><strong>Steam Community:</strong> Workshop and guides</li>
<li><strong>Map Resources:</strong> Steam Workshop integration</li>
</ul>
<div class="warning-box">
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Important Notes</h3>
<ul style="color: #fef3c7; line-height: 1.8;">
<li>Always keep your server updated to the latest version</li>
<li>Make regular backups of your server configuration</li>
<li>Review and follow the game's End User License Agreement (EULA)</li>
<li>Day of Infamy uses a <strong>modified Source Engine</strong> (based on Insurgency)</li>
<li>Maximum <strong>32 players</strong> per server (16v16)</li>
<li><strong>Squad system</strong> is central to gameplay - configure appropriately</li>
<li><strong>Friendly fire</strong> is recommended for realistic gameplay</li>
<li>Co-op mode supports player vs AI bot gameplay</li>
<li><strong>Theater system</strong> allows custom weapon loadouts</li>
<li>Regular updates via SteamCMD recommended</li>
<li>Steam Workshop integration for custom content</li>
<li>Squad leaders can call artillery and air support</li>
<li>World War 2 setting across multiple theaters of war</li>
</ul>
</div>

View file

@ -2,5 +2,5 @@
"description": "Setup and configuration guide for Day of Infamy game servers",
"name": "Day of Infamy",
"order": 70,
"category": "todo"
"category": "game"
}

View file

@ -1,68 +1,558 @@
<?php
/**
* Dont Starve Together Server Documentation
* Don't Starve Together Server Documentation
*/
?>
<h1>Dont Starve Together Server Guide</h1>
<style>
.nav-menu {
background: #1a1a2e;
padding: 15px;
border-radius: 8px;
margin-bottom: 25px;
}
.nav-menu a {
color: #4a9eff;
text-decoration: none;
margin-right: 15px;
font-size: 14px;
}
.nav-menu a:hover {
color: #6bb3ff;
text-decoration: underline;
}
.info-box {
background: #1e3a5f;
padding: 20px;
border-left: 4px solid #3b82f6;
margin: 20px 0;
border-radius: 4px;
}
.warning-box {
background: #78350f;
padding: 20px;
border-left: 4px solid #f59e0b;
margin: 20px 0;
border-radius: 4px;
}
.code-block {
background: #0f172a;
padding: 15px;
border-radius: 4px;
margin: 15px 0;
overflow-x: auto;
}
.code-block code {
color: #a5b4fc;
font-family: 'Courier New', monospace;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
background: #1a1a2e;
}
table th {
background: #2a2a4e;
color: #ffffff;
padding: 12px;
text-align: left;
border: 1px solid #3a3a6e;
}
table td {
padding: 10px 12px;
border: 1px solid #3a3a6e;
color: #e5e7eb;
}
table tr:nth-child(even) {
background: #222244;
}
</style>
<h2>Overview</h2>
<p><strong>Dont Starve Together</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your Dont Starve Together server.</p>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Server Information</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">10999</code></li>
<li><strong style="color: #ffffff;">Protocol:</strong> UDP</li>
<li><strong style="color: #ffffff;">Additional Info:</strong> Master server uses 27016-27017 UDP</li>
</ul>
<p style="color: #e5e7eb; margin-top: 12px; font-size: 0.95em;">
<em>Note: When running on a VPS or dedicated server, you can use the default port or configure a custom port in your server configuration file.</em>
</p>
<div class="nav-menu">
<strong style="color: #ffffff;">Quick Navigation:</strong>
<a href="#quick-info">Quick Info</a> |
<a href="#ports">Ports</a> |
<a href="#installation">Installation</a> |
<a href="#configuration">Configuration</a> |
<a href="#parameters">Parameters</a> |
<a href="#troubleshooting">Troubleshooting</a> |
<a href="#game-modes">Game Modes</a> |
<a href="#worlds">Worlds</a> |
<a href="#related-mods">Mods</a>
</div>
<h2>Getting Started</h2>
<p>To create a Dont Starve Together server:</p>
<h1>Don't Starve Together Server Guide</h1>
<h2 id="quick-info">📋 Quick Info</h2>
<div class="info-box">
<h3 style="color: #ffffff; margin-top: 0;">Server Specifications</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Game:</strong> Don't Starve Together (Co-op Survival)</li>
<li><strong style="color: #ffffff;">Platform:</strong> Windows, Linux</li>
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">10999/UDP (game) + 10998/UDP (authentication)</code></li>
<li><strong style="color: #ffffff;">Max Players:</strong> 64 (typical: 4-16)</li>
<li><strong style="color: #ffffff;">Control Protocol:</strong> Console commands</li>
<li><strong style="color: #ffffff;">Server Binary:</strong> dontstarve_dedicated_server_nullrenderer</li>
<li><strong style="color: #ffffff;">App ID:</strong> 343050</li>
<li><strong style="color: #ffffff;">Special Features:</strong> Seasons, caves, mods, world regeneration</li>
</ul>
</div>
<h2 id="ports">🔌 Ports & Firewall Configuration</h2>
<p>Don't Starve Together servers require specific ports for proper operation:</p>
<table>
<thead>
<tr>
<th>Port</th>
<th>Protocol</th>
<th>Purpose</th>
<th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td>10999 (configurable)</td>
<td>UDP</td>
<td>Game port (server)</td>
<td>Yes</td>
</tr>
<tr>
<td>10998 (configurable)</td>
<td>UDP</td>
<td>Authentication/master server</td>
<td>Yes</td>
</tr>
<tr>
<td>10900 (configurable)</td>
<td>UDP</td>
<td>Cave/shard server (if using caves)</td>
<td>Optional</td>
</tr>
<tr>
<td>27016-27017</td>
<td>UDP</td>
<td>Steam master server queries</td>
<td>Optional</td>
</tr>
</tbody>
</table>
<h3>Firewall Examples</h3>
<p><strong>UFW (Ubuntu/Debian):</strong></p>
<div class="code-block">
<code>sudo ufw allow 10999/udp comment 'DST Game Port'
sudo ufw allow 10998/udp comment 'DST Auth Port'
sudo ufw allow 10900/udp comment 'DST Cave Port'
sudo ufw allow 27016:27017/udp comment 'DST Steam Query'</code>
</div>
<p><strong>FirewallD (CentOS/RHEL):</strong></p>
<div class="code-block">
<code>sudo firewall-cmd --permanent --add-port=10999/udp
sudo firewall-cmd --permanent --add-port=10998/udp
sudo firewall-cmd --permanent --add-port=10900/udp
sudo firewall-cmd --permanent --add-port=27016-27017/udp
sudo firewall-cmd --reload</code>
</div>
<p><strong>iptables:</strong></p>
<div class="code-block">
<code>iptables -A INPUT -p udp --dport 10999 -j ACCEPT
iptables -A INPUT -p udp --dport 10998 -j ACCEPT
iptables -A INPUT -p udp --dport 10900 -j ACCEPT
iptables -A INPUT -p udp -m multiport --dports 27016:27017 -j ACCEPT</code>
</div>
<h2 id="installation">⚙️ Installation & Setup</h2>
<h3>System Requirements</h3>
<ul>
<li><strong>OS:</strong> Linux (Ubuntu 18.04+, Debian 9+, CentOS 7+) or Windows Server 2012+</li>
<li><strong>CPU:</strong> 2+ cores @ 2.0GHz recommended</li>
<li><strong>RAM:</strong> 1GB minimum, 2GB+ recommended (4GB+ with caves)</li>
<li><strong>Disk:</strong> 2GB for game files, additional space for saves</li>
<li><strong>Network:</strong> Stable connection, 5Mbps+ bandwidth</li>
</ul>
<h3>Installation via SteamCMD (Linux)</h3>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>Dont Starve Together</strong> in the list</li>
<li>Select your preferred configuration (slots, duration, etc.)</li>
<li>Add to cart and complete checkout</li>
<li>Your server will be automatically provisioned within minutes</li>
<li><strong>Install SteamCMD:</strong>
<div class="code-block"><code>sudo apt-get install steamcmd # Debian/Ubuntu
sudo yum install steamcmd # CentOS/RHEL</code></div>
</li>
<li><strong>Run SteamCMD and install DST server:</strong>
<div class="code-block"><code>steamcmd +login anonymous +force_install_dir /home/steam/dst +app_update 343050 validate +quit</code></div>
</li>
<li><strong>Generate Server Token:</strong> Visit <a href="https://accounts.klei.com/account/game/servers?game=DontStarveTogether" target="_blank">Klei Account Portal</a> to create a server token</li>
<li><strong>Create cluster configuration:</strong> Navigate to <code>~/.klei/DoNotStarveTogether/</code> and create cluster folder</li>
</ol>
<h2>Server Configuration</h2>
<p>After your server is created, you can configure it through the control panel:</p>
<h3>Installation via SteamCMD (Windows)</h3>
<ol>
<li>Download SteamCMD from Valve's website</li>
<li>Extract to <code>C:\steamcmd\</code></li>
<li>Run: <code>steamcmd +login anonymous +force_install_dir C:\dst +app_update 343050 validate +quit</code></li>
<li>Generate server token from Klei portal</li>
<li>Create cluster in <code>%USERPROFILE%\Documents\Klei\DoNotStarveTogether\</code></li>
</ol>
<h2 id="configuration">📝 Configuration</h2>
<h3>Cluster Structure</h3>
<p>DST uses a cluster-based configuration system:</p>
<div class="code-block">
<code>~/.klei/DoNotStarveTogether/MyCluster/
├── cluster.ini # Main cluster config
├── cluster_token.txt # Server token from Klei
├── Master/ # Overworld shard
├── server.ini
├── worldgenoverride.lua
└── modoverrides.lua
└── Caves/ # Cave shard (optional)
├── server.ini
├── worldgenoverride.lua
└── modoverrides.lua</code>
</div>
<h3>cluster.ini Example</h3>
<div class="code-block">
<code>[GAMEPLAY]
game_mode = survival # survival, endless, or wilderness
max_players = 16
pvp = false
pause_when_empty = true
[NETWORK]
cluster_description = My Don't Starve Together Server
cluster_name = MyDSTServer
cluster_intention = cooperative # cooperative, competitive, social, or madness
cluster_password = # Leave blank for public
[MISC]
console_enabled = true
max_snapshots = 6 # Number of save backups
</code>
</div>
<h3>Master/server.ini Example (Overworld)</h3>
<div class="code-block">
<code>[NETWORK]
server_port = 10999
[SHARD]
is_master = true
name = Master
id = 1
[STEAM]
master_server_port = 27016
authentication_port = 10998
</code>
</div>
<h3>Caves/server.ini Example (Cave Shard)</h3>
<div class="code-block">
<code>[NETWORK]
server_port = 10900
[SHARD]
is_master = false
name = Caves
id = 2
master_ip = 127.0.0.1
master_port = 10999
[STEAM]
master_server_port = 27017
authentication_port = 10897
</code>
</div>
<h3>World Generation (worldgenoverride.lua)</h3>
<div class="code-block">
<code>return {
override_enabled = true,
preset = "SURVIVAL_TOGETHER", -- or SURVIVAL_TOGETHER_CLASSIC, SURVIVAL_DEFAULT_PLUS
overrides = {
-- World Size
world_size = "default", -- small, medium, default, huge
-- Season Settings
autumn = "default", -- noseason, veryshortseason, shortseason, default, longseason, verylongseason, random
winter = "default",
spring = "default",
summer = "default",
-- Resources
carrots = "default", -- never, rare, uncommon, default, often, mostly, always, insane
berrybush = "default",
grass = "default",
saplings = "default",
trees = "default",
-- Mobs
beefaloheat = "default",
beefalo = "default",
spiders = "default",
hounds = "default",
-- Difficulty
season_start = "default", -- autumn, winter, spring, summer
day = "default", -- default, longday, longdusk, longnight, noday, nodusk, nonight, onlyday, onlydusk, onlynight
-- Boss Locations
bearger = "default",
deerclops = "default",
goosemoose = "default",
dragonfly = "default",
-- Special Settings
specialevent = "default", -- none, default, auto
touchstone = "default",
-- Custom Settings
task_set = "default", -- default, classic
}
}</code>
</div>
<h3>Mod Configuration (modoverrides.lua)</h3>
<div class="code-block">
<code>return {
-- Example: Global Positions mod
["workshop-378160973"] = { enabled = true },
-- Example: Simple Health Bar
["workshop-1207269058"] = { enabled = true },
-- Mods use Workshop IDs from Steam Workshop
}</code>
</div>
<h2 id="parameters">🚀 Startup Parameters</h2>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>-console</td>
<td>Enable console commands</td>
<td>-console</td>
</tr>
<tr>
<td>-cluster</td>
<td>Specify cluster name/path</td>
<td>-cluster MyCluster</td>
</tr>
<tr>
<td>-shard</td>
<td>Specify which shard to run</td>
<td>-shard Master</td>
</tr>
<tr>
<td>-monitor_parent_process</td>
<td>Monitor parent and exit if it dies</td>
<td>-monitor_parent_process ####</td>
</tr>
<tr>
<td>-persistent_storage_root</td>
<td>Set save directory</td>
<td>-persistent_storage_root /path/to/saves</td>
</tr>
<tr>
<td>-conf_dir</td>
<td>Configuration directory</td>
<td>-conf_dir DoNotStarveTogether</td>
</tr>
</tbody>
</table>
<h3>Example Startup Command (Linux - Master/Overworld)</h3>
<div class="code-block">
<code>cd /home/steam/dst/bin
./dontstarve_dedicated_server_nullrenderer -console -cluster MyCluster -shard Master</code>
</div>
<h3>Example Startup Command (Linux - Caves)</h3>
<div class="code-block">
<code>cd /home/steam/dst/bin
./dontstarve_dedicated_server_nullrenderer -console -cluster MyCluster -shard Caves</code>
</div>
<h3>Example Startup Script (Linux - Both Shards)</h3>
<div class="code-block">
<code>#!/bin/bash
cd /home/steam/dst/bin
# Start Master (Overworld)
screen -dmS dst-master ./dontstarve_dedicated_server_nullrenderer -console -cluster MyCluster -shard Master
# Wait for master to initialize
sleep 10
# Start Caves
screen -dmS dst-caves ./dontstarve_dedicated_server_nullrenderer -console -cluster MyCluster -shard Caves</code>
</div>
<h2 id="troubleshooting">🔧 Troubleshooting</h2>
<h3>Server Not Appearing in Browser</h3>
<p><strong>Issue:</strong> Server not visible in game browser.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Server settings and parameters</li>
<li>Player slots and limits</li>
<li>RCON/remote control access</li>
<li>FTP file access</li>
<li>Verify <code>cluster_token.txt</code> contains valid token from Klei</li>
<li>Check UDP ports 10999 and 10998 are open</li>
<li>Ensure <code>cluster_intention</code> is set in cluster.ini</li>
<li>Try direct connect using IP:PORT</li>
<li>Check server logs in cluster folder</li>
</ul>
<h2>Common Tasks</h2>
<h3>Starting Your Server</h3>
<p>Servers are automatically started after creation. You can stop/start your server from the control panel.</p>
<h3>Connecting to Your Server</h3>
<p>Use your server's IP address and port to connect from the game client.</p>
<h3>Managing Files</h3>
<p>Access your server files via FTP using the credentials provided in your control panel.</p>
<h2>Support</h2>
<p>If you need assistance with your Dont Starve Together server:</p>
<h3>Cave Connection Issues</h3>
<p><strong>Issue:</strong> Players cannot travel to caves.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check our <a href="/docs.php?action=view&doc=common-issues">Common Issues</a> guide</li>
<li>Contact support through your account dashboard</li>
<li>Visit the official Dont Starve Together community for game-specific help</li>
<li>Verify both Master and Caves shards are running</li>
<li>Ensure <code>master_ip</code> and <code>master_port</code> are correct in Caves/server.ini</li>
<li>Check shard ports don't conflict</li>
<li>Review both shard logs for connection errors</li>
<li>Ensure firewall allows cave shard port (10900)</li>
</ul>
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
<h3>Server Crashes on Startup</h3>
<p><strong>Issue:</strong> Dedicated server crashes immediately.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check cluster/Master/server_log.txt for errors</li>
<li>Verify <code>cluster_token.txt</code> exists and has valid token</li>
<li>Ensure cluster.ini syntax is correct</li>
<li>Validate game files via SteamCMD</li>
<li>Check worldgenoverride.lua for syntax errors</li>
</ul>
<h3>Mod Loading Issues</h3>
<p><strong>Issue:</strong> Mods not loading or causing crashes.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify mod Workshop IDs are correct in modoverrides.lua</li>
<li>Ensure mods are server-compatible (not client-only)</li>
<li>Check <code>dedicated_server_mods_setup.lua</code> in <code>mods/</code> folder</li>
<li>Disable mods one at a time to identify conflicts</li>
<li>Update mods via SteamCMD</li>
</ul>
<h3>World Generation Fails</h3>
<p><strong>Issue:</strong> Server fails to generate world.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check worldgenoverride.lua syntax (Lua format required)</li>
<li>Verify override settings are valid values</li>
<li>Try removing worldgenoverride.lua for default generation</li>
<li>Increase server RAM if generation times out</li>
<li>Review server_log.txt for generation errors</li>
</ul>
<h3>High Memory Usage</h3>
<p><strong>Issue:</strong> Server using excessive memory.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Reduce <code>max_players</code> if server is overloaded</li>
<li>Disable caves if not needed (saves RAM)</li>
<li>Reduce <code>max_snapshots</code> to save disk space</li>
<li>Check for memory leaks from mods</li>
<li>Consider regenerating old worlds</li>
</ul>
<h2 id="game-modes">🎮 Game Modes & Features</h2>
<h3>Game Modes</h3>
<ul>
<li><strong>Survival:</strong> Players respawn at portal, world persists on death</li>
<li><strong>Endless:</strong> Easier mode with multiple respawns and resources</li>
<li><strong>Wilderness:</strong> Permadeath mode, world resets on TPK (total party kill)</li>
</ul>
<h3>Core Features</h3>
<ul>
<li><strong>Seasons:</strong> Autumn, Winter, Spring, Summer - each with unique challenges</li>
<li><strong>Caves:</strong> Underground shard with unique resources and dangers</li>
<li><strong>Character Selection:</strong> 20+ unique characters with different abilities</li>
<li><strong>Crafting System:</strong> Extensive crafting and building mechanics</li>
<li><strong>Sanity System:</strong> Mental health affects gameplay</li>
<li><strong>Hunger/Health:</strong> Survival resource management</li>
</ul>
<h3>Boss Monsters</h3>
<ul>
<li><strong>Deerclops:</strong> Winter boss</li>
<li><strong>Bearger:</strong> Autumn boss</li>
<li><strong>Moose/Goose:</strong> Spring boss</li>
<li><strong>Dragonfly:</strong> Summer boss</li>
<li><strong>Ancient Guardian:</strong> Cave boss</li>
<li><strong>Bee Queen:</strong> Late game boss</li>
<li><strong>Klaus:</strong> Winter event boss</li>
<li><strong>Ancient Fuelweaver:</strong> Endgame boss</li>
</ul>
<h2 id="worlds">🗺️ World Types & Biomes</h2>
<h3>Overworld Biomes</h3>
<ul>
<li><strong>Grasslands:</strong> Safe starting area with basic resources</li>
<li><strong>Forest:</strong> Dense trees and renewable resources</li>
<li><strong>Savanna:</strong> Beefalo herds and open spaces</li>
<li><strong>Marsh:</strong> Tentacles and spiders, dangerous</li>
<li><strong>Desert:</strong> Hot, limited resources, hounds</li>
<li><strong>Rockyland:</strong> Rocky terrain with gold and flint</li>
<li><strong>Mosaic:</strong> Mixed biome</li>
</ul>
<h3>Cave Biomes</h3>
<ul>
<li><strong>Mushtree Forest:</strong> Underground mushroom biome</li>
<li><strong>Rocky Plains:</strong> Cave spiders and minerals</li>
<li><strong>Sinkhole:</strong> Entry/exit points</li>
<li><strong>Ancient Ruins:</strong> Endgame area with Thulecite</li>
</ul>
<h2 id="related-mods">🔌 Related Mods & Plugins</h2>
<p>Popular mods for Don't Starve Together (via Steam Workshop):</p>
<ul>
<li><strong>Global Positions (378160973):</strong> Show player positions on map</li>
<li><strong>Simple Health Bar (1207269058):</strong> Health bars for mobs</li>
<li><strong>Combined Status (376333686):</strong> Enhanced HUD information</li>
<li><strong>Geometric Placement (351325790):</strong> Precise building placement</li>
<li><strong>Wormhole Marks (362175979):</strong> Mark wormhole destinations</li>
</ul>
<h2>📚 Resources</h2>
<ul>
<li><strong>SteamCMD:</strong> <a href="https://developer.valvesoftware.com/wiki/SteamCMD" target="_blank">https://developer.valvesoftware.com/wiki/SteamCMD</a></li>
<li><strong>Server Token:</strong> <a href="https://accounts.klei.com/account/game/servers?game=DontStarveTogether" target="_blank">Klei Account Portal</a></li>
<li><strong>Steam Workshop:</strong> Mods and custom content</li>
<li><strong>DST Wiki:</strong> Game mechanics and guides</li>
<li><strong>Klei Forums:</strong> Official community and support</li>
</ul>
<div class="warning-box">
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Important Notes</h3>
<ul style="color: #fef3c7; line-height: 1.8;">
<li>Always keep your server updated to the latest version</li>
<li>Make regular backups of your server configuration</li>
<li>Review and follow the game's End User License Agreement (EULA)</li>
<li><strong>Server token required:</strong> Must generate token from Klei account portal</li>
<li>Supports up to <strong>64 players</strong> but 4-16 recommended for performance</li>
<li><strong>Caves require separate shard</strong> running simultaneously with Master</li>
<li>World generation can be <strong>customized extensively</strong> via worldgenoverride.lua</li>
<li><strong>Seasons affect gameplay:</strong> Winter freezing, Summer overheating, etc.</li>
<li>Mods use <strong>Steam Workshop IDs</strong> (workshop-#########)</li>
<li>Server saves automatically and on shutdown</li>
<li><strong>Regular backups recommended</strong> - world corruption possible</li>
<li>Console commands available for admin tasks</li>
<li>Co-op survival game with permadeath potential depending on game mode</li>
</ul>
</div>

View file

@ -2,5 +2,5 @@
"description": "Setup and configuration guide for Dont Starve Together game servers",
"name": "Dont Starve Together",
"order": 72,
"category": "todo"
"category": "game"
}

View file

@ -1,68 +1,553 @@
<?php
/**
* factorio Server Documentation
* Factorio Server Documentation
*/
?>
<h1>factorio Server Guide</h1>
<style>
.nav-menu {
background: #1a1a2e;
padding: 15px;
border-radius: 8px;
margin-bottom: 25px;
}
.nav-menu a {
color: #4a9eff;
text-decoration: none;
margin-right: 15px;
font-size: 14px;
}
.nav-menu a:hover {
color: #6bb3ff;
text-decoration: underline;
}
.info-box {
background: #1e3a5f;
padding: 20px;
border-left: 4px solid #3b82f6;
margin: 20px 0;
border-radius: 4px;
}
.warning-box {
background: #78350f;
padding: 20px;
border-left: 4px solid #f59e0b;
margin: 20px 0;
border-radius: 4px;
}
.code-block {
background: #0f172a;
padding: 15px;
border-radius: 4px;
margin: 15px 0;
overflow-x: auto;
}
.code-block code {
color: #a5b4fc;
font-family: 'Courier New', monospace;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
background: #1a1a2e;
}
table th {
background: #2a2a4e;
color: #ffffff;
padding: 12px;
text-align: left;
border: 1px solid #3a3a6e;
}
table td {
padding: 10px 12px;
border: 1px solid #3a3a6e;
color: #e5e7eb;
}
table tr:nth-child(even) {
background: #222244;
}
</style>
<h2>Overview</h2>
<p><strong>factorio</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your factorio server.</p>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Server Information</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">34197</code></li>
<li><strong style="color: #ffffff;">Protocol:</strong> UDP</li>
<li><strong style="color: #ffffff;">Additional Info:</strong> Default game port</li>
</ul>
<p style="color: #e5e7eb; margin-top: 12px; font-size: 0.95em;">
<em>Note: When running on a VPS or dedicated server, you can use the default port or configure a custom port in your server configuration file.</em>
</p>
<div class="nav-menu">
<strong style="color: #ffffff;">Quick Navigation:</strong>
<a href="#quick-info">Quick Info</a> |
<a href="#ports">Ports</a> |
<a href="#installation">Installation</a> |
<a href="#configuration">Configuration</a> |
<a href="#parameters">Parameters</a> |
<a href="#troubleshooting">Troubleshooting</a> |
<a href="#game-modes">Game Modes</a> |
<a href="#mods">Mods</a> |
<a href="#admin">Admin</a>
</div>
<h2>Getting Started</h2>
<p>To create a factorio server:</p>
<h1>Factorio Server Guide</h1>
<h2 id="quick-info">📋 Quick Info</h2>
<div class="info-box">
<h3 style="color: #ffffff; margin-top: 0;">Server Specifications</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Game:</strong> Factorio (Automation/Factory Building)</li>
<li><strong style="color: #ffffff;">Platform:</strong> Windows, Linux, macOS</li>
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">34197/UDP</code></li>
<li><strong style="color: #ffffff;">Max Players:</strong> Unlimited (practical: 10-50 depending on hardware)</li>
<li><strong style="color: #ffffff;">Control Protocol:</strong> RCON</li>
<li><strong style="color: #ffffff;">Server Binary:</strong> factorio (headless)</li>
<li><strong style="color: #ffffff;">Special Features:</strong> Mods, blueprints, trains, logistics, multiplayer scenarios</li>
</ul>
</div>
<h2 id="ports">🔌 Ports & Firewall Configuration</h2>
<p>Factorio servers require specific ports for proper operation:</p>
<table>
<thead>
<tr>
<th>Port</th>
<th>Protocol</th>
<th>Purpose</th>
<th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td>34197 (configurable)</td>
<td>UDP</td>
<td>Game port</td>
<td>Yes</td>
</tr>
<tr>
<td>27015</td>
<td>TCP</td>
<td>RCON (if enabled)</td>
<td>Optional</td>
</tr>
</tbody>
</table>
<h3>Firewall Examples</h3>
<p><strong>UFW (Ubuntu/Debian):</strong></p>
<div class="code-block">
<code>sudo ufw allow 34197/udp comment 'Factorio Game Port'
sudo ufw allow 27015/tcp comment 'Factorio RCON'</code>
</div>
<p><strong>FirewallD (CentOS/RHEL):</strong></p>
<div class="code-block">
<code>sudo firewall-cmd --permanent --add-port=34197/udp
sudo firewall-cmd --permanent --add-port=27015/tcp
sudo firewall-cmd --reload</code>
</div>
<p><strong>iptables:</strong></p>
<div class="code-block">
<code>iptables -A INPUT -p udp --dport 34197 -j ACCEPT
iptables -A INPUT -p tcp --dport 27015 -j ACCEPT</code>
</div>
<h2 id="installation">⚙️ Installation & Setup</h2>
<h3>System Requirements</h3>
<ul>
<li><strong>OS:</strong> Linux (Ubuntu 18.04+, Debian 9+, CentOS 7+), Windows Server 2012+</li>
<li><strong>CPU:</strong> 2+ cores @ 3.0GHz recommended (single-threaded performance critical)</li>
<li><strong>RAM:</strong> 2GB minimum, 4GB+ recommended, 8GB+ for large multiplayer games</li>
<li><strong>Disk:</strong> 2GB for base game, additional space for saves and mods</li>
<li><strong>Network:</strong> Stable connection, 1Mbps+ per player</li>
</ul>
<h3>Installation (Linux - Manual Download)</h3>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>factorio</strong> in the list</li>
<li>Select your preferred configuration (slots, duration, etc.)</li>
<li>Add to cart and complete checkout</li>
<li>Your server will be automatically provisioned within minutes</li>
<li><strong>Download Factorio headless server:</strong>
<div class="code-block"><code>cd /home/factorio
wget -O factorio.tar.xz https://www.factorio.com/get-download/latest/headless/linux64
tar -xf factorio.tar.xz</code></div>
</li>
<li><strong>Create data directory:</strong>
<div class="code-block"><code>mkdir -p ~/.factorio
cd factorio</code></div>
</li>
<li><strong>Generate new map (optional):</strong>
<div class="code-block"><code>./bin/x64/factorio --create my-save</code></div>
</li>
</ol>
<h2>Server Configuration</h2>
<p>After your server is created, you can configure it through the control panel:</p>
<h3>Installation (Windows)</h3>
<ol>
<li>Download headless server from <a href="https://www.factorio.com/download" target="_blank">factorio.com/download</a></li>
<li>Extract to <code>C:\factorio\</code></li>
<li>Run <code>factorio.exe --create my-save</code> to generate map</li>
</ol>
<h2 id="configuration">📝 Configuration</h2>
<h3>Directory Structure</h3>
<div class="code-block">
<code>~/.factorio/ # Config directory (Linux)
%APPDATA%\Factorio\ # Config directory (Windows)
├── saves/ # Save games
├── mods/ # Installed mods
├── config/
├── server-settings.json
├── server-whitelist.json
├── server-banlist.json
└── server-adminlist.json
└── script-output/ # Script output files</code>
</div>
<h3>server-settings.json Example</h3>
<div class="code-block">
<code>{
"name": "My Factorio Server",
"description": "Vanilla cooperative factory building",
"tags": ["game", "tags"],
"_comment_max_players": "Maximum number of players allowed",
"max_players": 0,
"_comment_visibility": "public: Game will be published on the official Factorio matching server",
"visibility": {
"public": true,
"lan": true
},
"username": "",
"password": "",
"token": "",
"game_password": "",
"require_user_verification": true,
"max_upload_in_kilobytes_per_second": 0,
"max_upload_slots": 5,
"minimum_latency_in_ticks": 0,
"ignore_player_limit_for_returning_players": false,
"allow_commands": "admins-only",
"autosave_interval": 10,
"autosave_slots": 5,
"afk_autokick_interval": 0,
"auto_pause": true,
"only_admins_can_pause_the_game": true,
"autosave_only_on_server": true,
"non_blocking_saving": false,
"_comment_admins": "List of case insensitive usernames, that will be admins on the server",
"admins": []
}</code>
</div>
<h3>server-whitelist.json Example</h3>
<div class="code-block">
<code>[
"player1",
"player2",
"player3"
]</code>
</div>
<h3>server-adminlist.json Example</h3>
<div class="code-block">
<code>[
"admin1",
"admin2"
]</code>
</div>
<h3>Map Generation Settings (map-gen-settings.json)</h3>
<div class="code-block">
<code>{
"terrain_segmentation": "normal",
"water": "normal",
"width": 0,
"height": 0,
"starting_area": "normal",
"peaceful_mode": false,
"autoplace_controls": {
"coal": {
"frequency": "normal",
"size": "normal",
"richness": "normal"
},
"iron-ore": { "frequency": "normal", "size": "normal", "richness": "normal" },
"copper-ore": { "frequency": "normal", "size": "normal", "richness": "normal" },
"stone": { "frequency": "normal", "size": "normal", "richness": "normal" },
"crude-oil": { "frequency": "normal", "size": "normal", "richness": "normal" },
"uranium-ore": { "frequency": "normal", "size": "normal", "richness": "normal" },
"trees": { "frequency": "normal", "size": "normal", "richness": "normal" },
"enemy-base": { "frequency": "normal", "size": "normal", "richness": "normal" }
},
"cliff_settings": {
"name": "cliff",
"cliff_elevation_0": 10,
"cliff_elevation_interval": 40,
"richness": "normal"
},
"property_expression_names": {},
"starting_points": [ { "x": 0, "y": 0 } ],
"seed": null
}</code>
</div>
<h2 id="parameters">🚀 Startup Parameters</h2>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>--start-server</td>
<td>Start multiplayer server with save file</td>
<td>--start-server my-save</td>
</tr>
<tr>
<td>--create</td>
<td>Create new map/save</td>
<td>--create my-save</td>
</tr>
<tr>
<td>--port</td>
<td>Network port to use</td>
<td>--port 34197</td>
</tr>
<tr>
<td>--bind</td>
<td>IP address to bind to</td>
<td>--bind 0.0.0.0</td>
</tr>
<tr>
<td>--server-settings</td>
<td>Path to server settings JSON</td>
<td>--server-settings settings.json</td>
</tr>
<tr>
<td>--server-whitelist</td>
<td>Path to whitelist JSON</td>
<td>--server-whitelist whitelist.json</td>
</tr>
<tr>
<td>--server-adminlist</td>
<td>Path to admin list JSON</td>
<td>--server-adminlist adminlist.json</td>
</tr>
<tr>
<td>--rcon-port</td>
<td>RCON port (requires password)</td>
<td>--rcon-port 27015</td>
</tr>
<tr>
<td>--rcon-password</td>
<td>RCON password</td>
<td>--rcon-password secret</td>
</tr>
<tr>
<td>--map-gen-settings</td>
<td>Map generation settings JSON</td>
<td>--map-gen-settings mapgen.json</td>
</tr>
<tr>
<td>--console-log</td>
<td>Path to write console log</td>
<td>--console-log server.log</td>
</tr>
</tbody>
</table>
<h3>Example Startup Command (Linux)</h3>
<div class="code-block">
<code>./bin/x64/factorio --start-server my-save --port 34197 --server-settings server-settings.json</code>
</div>
<h3>Example Startup Command (Windows)</h3>
<div class="code-block">
<code>factorio.exe --start-server my-save --port 34197 --server-settings server-settings.json</code>
</div>
<h3>Example Startup Script (Linux with RCON)</h3>
<div class="code-block">
<code>#!/bin/bash
cd /home/factorio/factorio
./bin/x64/factorio \
--start-server saves/my-save.zip \
--port 34197 \
--server-settings config/server-settings.json \
--server-adminlist config/server-adminlist.json \
--rcon-port 27015 \
--rcon-password "your_secure_password" \
--console-log /var/log/factorio/server.log</code>
</div>
<h2 id="troubleshooting">🔧 Troubleshooting</h2>
<h3>Server Not Appearing in Browser</h3>
<p><strong>Issue:</strong> Server not visible in public game list.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Server settings and parameters</li>
<li>Player slots and limits</li>
<li>RCON/remote control access</li>
<li>FTP file access</li>
<li>Verify UDP port 34197 is open in firewall</li>
<li>Ensure <code>"visibility": {"public": true}</code> in server-settings.json</li>
<li>Check that <code>username</code> and <code>token</code> are set (for public listing)</li>
<li>Try direct connect using IP:PORT</li>
<li>Review server console logs for matching server errors</li>
</ul>
<h2>Common Tasks</h2>
<h3>Starting Your Server</h3>
<p>Servers are automatically started after creation. You can stop/start your server from the control panel.</p>
<h3>Connecting to Your Server</h3>
<p>Use your server's IP address and port to connect from the game client.</p>
<h3>Managing Files</h3>
<p>Access your server files via FTP using the credentials provided in your control panel.</p>
<h2>Support</h2>
<p>If you need assistance with your factorio server:</p>
<h3>Connection Issues</h3>
<p><strong>Issue:</strong> Players cannot connect or timeout.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check our <a href="/docs.php?action=view&doc=common-issues">Common Issues</a> guide</li>
<li>Contact support through your account dashboard</li>
<li>Visit the official factorio community for game-specific help</li>
<li>Verify firewall allows UDP traffic on game port</li>
<li>Check <code>game_password</code> if server is password protected</li>
<li>Ensure server and clients are same Factorio version</li>
<li>Verify <code>max_players</code> is not exceeded (0 = unlimited)</li>
<li>Check whitelist if <code>server-whitelist.json</code> is used</li>
</ul>
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
<h3>High Latency/Desync Issues</h3>
<p><strong>Issue:</strong> Players experiencing lag or desyncs.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Increase <code>minimum_latency_in_ticks</code> for high-latency players</li>
<li>Reduce <code>max_upload_slots</code> if bandwidth limited</li>
<li>Enable <code>non_blocking_saving</code> to prevent save-related lag spikes</li>
<li>Check server CPU usage (Factorio is CPU-intensive)</li>
<li>Remove mods that cause performance issues</li>
</ul>
<h3>Save File Corruption</h3>
<p><strong>Issue:</strong> Save file won't load or crashes.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Try loading older autosave (<code>autosave_slots</code> keeps multiple backups)</li>
<li>Use <code>--check-save</code> parameter to validate save integrity</li>
<li>Disable problematic mods one at a time</li>
<li>Regular backups of <code>saves/</code> directory recommended</li>
</ul>
<h3>Mod Loading Issues</h3>
<p><strong>Issue:</strong> Mods not loading or causing crashes.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Ensure all players have same mod versions</li>
<li>Check <code>mods/</code> directory for corrupted downloads</li>
<li>Verify mod compatibility with Factorio version</li>
<li>Use <code>mod-list.json</code> to enable/disable mods</li>
<li>Check factorio-current.log for mod errors</li>
</ul>
<h3>Server Performance Issues</h3>
<p><strong>Issue:</strong> Server running slowly with many players.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Optimize factory design (reduce entity count)</li>
<li>Use more efficient designs (direct insertion vs belts)</li>
<li>Reduce <code>autosave_interval</code> frequency</li>
<li>Upgrade to faster CPU (single-thread performance matters)</li>
<li>Monitor UPS (updates per second) in game</li>
</ul>
<h2 id="game-modes">🎮 Game Modes & Features</h2>
<h3>Multiplayer Modes</h3>
<ul>
<li><strong>Cooperative:</strong> All players work together on one factory</li>
<li><strong>PvP:</strong> Players can attack each other (requires mods/scenarios)</li>
<li><strong>Scenario-based:</strong> Custom scenarios with specific objectives</li>
</ul>
<h3>Core Features</h3>
<ul>
<li><strong>Automation:</strong> Build and optimize production lines</li>
<li><strong>Research:</strong> Technology tree with hundreds of upgrades</li>
<li><strong>Logistics:</strong> Trains, belts, robots, and logistics networks</li>
<li><strong>Combat:</strong> Defend against alien biters with turrets and walls</li>
<li><strong>Blueprints:</strong> Copy and paste factory designs</li>
<li><strong>Multiplayer:</strong> Cooperative building with friends</li>
</ul>
<h3>Map Settings</h3>
<ul>
<li><strong>Peaceful Mode:</strong> Biters don't attack unless provoked</li>
<li><strong>Resource Settings:</strong> Adjust frequency, size, and richness of ores</li>
<li><strong>Enemy Settings:</strong> Configure biter evolution and expansion</li>
<li><strong>Starting Area:</strong> Size of safe starting zone</li>
</ul>
<h2 id="mods">🔌 Mods & Mod Portal</h2>
<p>Factorio has extensive mod support via the official Mod Portal:</p>
<h3>Popular Mods</h3>
<ul>
<li><strong>Bob's Mods:</strong> Adds complexity with new tiers of machines</li>
<li><strong>Angel's Mods:</strong> Complete overhaul of production chains</li>
<li><strong>Krastorio 2:</strong> Major gameplay overhaul and extension</li>
<li><strong>Space Exploration:</strong> Adds space travel and new planets</li>
<li><strong>Factorissimo:</strong> Allows building factories inside buildings</li>
<li><strong>Quality of Life mods:</strong> Improved UI, automation helpers</li>
</ul>
<h3>Mod Installation</h3>
<ol>
<li>Download mods from <a href="https://mods.factorio.com/" target="_blank">mods.factorio.com</a></li>
<li>Place .zip files in <code>~/.factorio/mods/</code></li>
<li>Edit <code>mod-list.json</code> to enable/disable mods</li>
<li>Restart server with <code>--mod-directory</code> parameter if needed</li>
</ol>
<h3>Mod Synchronization</h3>
<ul>
<li>All players must have identical mod versions</li>
<li>Server can provide <code>mod-list.json</code> for easy sync</li>
<li>In-game mod portal downloads mods automatically</li>
</ul>
<h2 id="admin">👤 Admin Commands</h2>
<h3>In-Game Commands</h3>
<div class="code-block">
<code>/admin # Open admin menu
/ban [player] # Ban a player
/unban [player] # Unban a player
/kick [player] [reason] # Kick a player
/promote [player] # Promote player to admin
/demote [player] # Demote player from admin
/mute [player] # Mute player's chat
/unmute [player] # Unmute player
/whitelist add [player] # Add to whitelist
/whitelist remove [player]# Remove from whitelist
/save # Manually save game</code>
</div>
<h3>RCON Commands (via External Tools)</h3>
<p>Use RCON to send console commands remotely when <code>--rcon-port</code> and <code>--rcon-password</code> are configured.</p>
<h2>📚 Resources</h2>
<ul>
<li><strong>Official Website:</strong> <a href="https://www.factorio.com/" target="_blank">https://www.factorio.com/</a></li>
<li><strong>Mod Portal:</strong> <a href="https://mods.factorio.com/" target="_blank">https://mods.factorio.com/</a></li>
<li><strong>Wiki:</strong> <a href="https://wiki.factorio.com/" target="_blank">https://wiki.factorio.com/</a></li>
<li><strong>Reddit:</strong> r/factorio community</li>
<li><strong>Forums:</strong> Official Factorio forums</li>
</ul>
<div class="warning-box">
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Important Notes</h3>
<ul style="color: #fef3c7; line-height: 1.8;">
<li>Always keep your server updated to the latest version</li>
<li>Make regular backups of your server configuration</li>
<li>Review and follow the game's End User License Agreement (EULA)</li>
<li>Factorio is <strong>CPU-intensive</strong> - single-thread performance is critical</li>
<li><strong>Unlimited players</strong> supported but practical limit depends on factory size and CPU</li>
<li>All players must have <strong>identical mod versions</strong> for multiplayer compatibility</li>
<li><strong>Autosaves</strong> create regular backups - configure frequency and slot count</li>
<li>Use <strong>RCON</strong> for remote server administration</li>
<li><strong>Token required</strong> for public server listing (free from factorio.com account)</li>
<li>Map generation is <strong>highly customizable</strong> - adjust resources and enemies</li>
<li><strong>Regular backups</strong> of saves/ directory strongly recommended</li>
<li>Cooperative factory building with <strong>real-time shared control</strong></li>
<li>The factory must grow!</li>
</ul>
</div>

View file

@ -2,5 +2,5 @@
"description": "Setup and configuration guide for factorio game servers",
"name": "factorio",
"order": 78,
"category": "todo"
"category": "game"
}

View file

@ -3,66 +3,603 @@
* Fistful of Frags Server Documentation
*/
?>
<h1>Fistful of Frags Server Guide</h1>
<style>
.nav-menu {
background: #1a1a2e;
padding: 15px;
border-radius: 8px;
margin-bottom: 25px;
}
.nav-menu a {
color: #4a9eff;
text-decoration: none;
margin-right: 15px;
font-size: 14px;
}
.nav-menu a:hover {
color: #6bb3ff;
text-decoration: underline;
}
.info-box {
background: #1e3a5f;
padding: 20px;
border-left: 4px solid #3b82f6;
margin: 20px 0;
border-radius: 4px;
}
.warning-box {
background: #78350f;
padding: 20px;
border-left: 4px solid #f59e0b;
margin: 20px 0;
border-radius: 4px;
}
.code-block {
background: #0f172a;
padding: 15px;
border-radius: 4px;
margin: 15px 0;
overflow-x: auto;
}
.code-block code {
color: #a5b4fc;
font-family: 'Courier New', monospace;
}
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
background: #1a1a2e;
}
table th {
background: #2a2a4e;
color: #ffffff;
padding: 12px;
text-align: left;
border: 1px solid #3a3a6e;
}
table td {
padding: 10px 12px;
border: 1px solid #3a3a6e;
color: #e5e7eb;
}
table tr:nth-child(even) {
background: #222244;
}
</style>
<h2>Overview</h2>
<p><strong>Fistful of Frags</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your Fistful of Frags server.</p>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">Server Information</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">27015</code></li>
<li><strong style="color: #ffffff;">Protocol:</strong> UDP</li>
<li><strong style="color: #ffffff;">Additional Info:</strong> Query port also uses 27015 UDP</li>
</ul>
<p style="color: #e5e7eb; margin-top: 12px; font-size: 0.95em;">
<em>Note: When running on a VPS or dedicated server, you can use the default port or configure a custom port in your server configuration file.</em>
</p>
<div class="nav-menu">
<strong style="color: #ffffff;">Quick Navigation:</strong>
<a href="#quick-info">Quick Info</a> |
<a href="#ports">Ports</a> |
<a href="#installation">Installation</a> |
<a href="#configuration">Configuration</a> |
<a href="#parameters">Parameters</a> |
<a href="#troubleshooting">Troubleshooting</a> |
<a href="#game-modes">Game Modes</a> |
<a href="#maps">Maps</a> |
<a href="#mods">Mods</a>
</div>
<h2>Getting Started</h2>
<p>To create a Fistful of Frags server:</p>
<h1>Fistful of Frags Server Guide</h1>
<h2 id="quick-info">📋 Quick Info</h2>
<div class="info-box">
<h3 style="color: #ffffff; margin-top: 0;">Server Specifications</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Game:</strong> Fistful of Frags (Wild West FPS)</li>
<li><strong style="color: #ffffff;">Platform:</strong> Source Engine (Free-to-Play on Steam)</li>
<li><strong style="color: #ffffff;">Default Port:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">27015/UDP</code></li>
<li><strong style="color: #ffffff;">Max Players:</strong> 32 (default 16)</li>
<li><strong style="color: #ffffff;">Control Protocol:</strong> RCON</li>
<li><strong style="color: #ffffff;">Server Binary:</strong> srcds_run (Linux), srcds.exe (Windows)</li>
<li><strong style="color: #ffffff;">App ID:</strong> 295230 (server: 295240)</li>
<li><strong style="color: #ffffff;">Special Features:</strong> Wild West weapons, unique damage model, whiskey power-ups, team elimination</li>
</ul>
</div>
<h2 id="ports">🔌 Ports & Firewall Configuration</h2>
<p>Fistful of Frags servers require specific ports for proper operation:</p>
<table>
<thead>
<tr>
<th>Port</th>
<th>Protocol</th>
<th>Purpose</th>
<th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td>27015 (configurable)</td>
<td>UDP</td>
<td>Game port</td>
<td>Yes</td>
</tr>
<tr>
<td>27015 (same as game port)</td>
<td>UDP</td>
<td>Query/RCON port</td>
<td>Yes</td>
</tr>
<tr>
<td>27005</td>
<td>UDP</td>
<td>Client port (if hosting from client)</td>
<td>No</td>
</tr>
<tr>
<td>26900</td>
<td>UDP</td>
<td>Steam master server updater port</td>
<td>No</td>
</tr>
<tr>
<td>27020</td>
<td>UDP</td>
<td>SourceTV port (if enabled)</td>
<td>No</td>
</tr>
</tbody>
</table>
<h3>Firewall Examples</h3>
<p><strong>UFW (Ubuntu/Debian):</strong></p>
<div class="code-block">
<code>sudo ufw allow 27015/udp comment 'FoF Game/Query Port'
sudo ufw allow 27020/udp comment 'FoF SourceTV'
sudo ufw allow 26900/udp comment 'Steam Master Server'</code>
</div>
<p><strong>FirewallD (CentOS/RHEL):</strong></p>
<div class="code-block">
<code>sudo firewall-cmd --permanent --add-port=27015/udp
sudo firewall-cmd --permanent --add-port=27020/udp
sudo firewall-cmd --permanent --add-port=26900/udp
sudo firewall-cmd --reload</code>
</div>
<p><strong>iptables:</strong></p>
<div class="code-block">
<code>iptables -A INPUT -p udp --dport 27015 -j ACCEPT
iptables -A INPUT -p udp --dport 27020 -j ACCEPT
iptables -A INPUT -p udp --dport 26900 -j ACCEPT</code>
</div>
<h2 id="installation">⚙️ Installation & Setup</h2>
<h3>System Requirements</h3>
<ul>
<li><strong>OS:</strong> Linux (Ubuntu 18.04+, Debian 9+, CentOS 7+), Windows Server 2012+</li>
<li><strong>CPU:</strong> 2.0+ GHz processor</li>
<li><strong>RAM:</strong> 2GB minimum, 4GB recommended</li>
<li><strong>Disk:</strong> 8GB for base installation</li>
<li><strong>Network:</strong> Stable broadband connection</li>
</ul>
<h3>Installation via SteamCMD (Linux)</h3>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>Fistful of Frags</strong> in the list</li>
<li>Select your preferred configuration (slots, duration, etc.)</li>
<li>Add to cart and complete checkout</li>
<li>Your server will be automatically provisioned within minutes</li>
<li><strong>Install SteamCMD:</strong>
<div class="code-block"><code>sudo apt update
sudo apt install lib32gcc1 steamcmd # Debian/Ubuntu
# OR for manual install:
mkdir ~/steamcmd && cd ~/steamcmd
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xvzf steamcmd_linux.tar.gz</code></div>
</li>
<li><strong>Download Fistful of Frags Server:</strong>
<div class="code-block"><code>./steamcmd.sh
login anonymous
force_install_dir ./fof-server
app_update 295240 validate
quit</code></div>
</li>
<li><strong>Navigate to server directory:</strong>
<div class="code-block"><code>cd fof-server</code></div>
</li>
</ol>
<h2>Server Configuration</h2>
<p>After your server is created, you can configure it through the control panel:</p>
<h3>Installation via SteamCMD (Windows)</h3>
<ol>
<li>Download SteamCMD from <a href="https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip" target="_blank">Valve's website</a></li>
<li>Extract to <code>C:\steamcmd\</code></li>
<li>Run <code>steamcmd.exe</code> and execute:
<div class="code-block"><code>login anonymous
force_install_dir C:\fof-server
app_update 295240 validate
quit</code></div>
</li>
</ol>
<h2 id="configuration">📝 Configuration</h2>
<h3>server.cfg Example</h3>
<p>Create or edit <code>fof/cfg/server.cfg</code>:</p>
<div class="code-block">
<code>// Server Identity
hostname "Wild West Showdown - FoF Server"
sv_password "" // Leave blank for public server
// Server Rates
sv_minrate 10000
sv_maxrate 30000
sv_minupdaterate 20
sv_maxupdaterate 66
sv_mincmdrate 20
sv_maxcmdrate 66
// Server Region (see Region Codes below)
sv_region 1 // 1 = East Coast USA
// Server Visibility
sv_lan 0 // 1 for LAN only, 0 for internet
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0
// RCON (Remote Console)
rcon_password "your_secure_password"
sv_rcon_banpenalty 0
sv_rcon_maxfailures 5
// Contact & Tags
sv_contact "admin@example.com"
sv_tags "teamplay,nocrits,norespawntime"
// Gameplay Settings
fof_sv_maxteams 2 // Number of teams
fof_sv_adminslots 0 // Reserved admin slots
fof_sv_playerrespawn 1 // Respawn players (0 = round-based)
fof_sv_currentmode 0 // Game mode (0=Teamplay, 1=BreakBad, etc)
// Round Settings
mp_roundtime 10 // Round time in minutes
mp_timelimit 30 // Map time limit
mp_fraglimit 0 // Frag limit (0 = disabled)
// Team Balance
mp_autoteambalance 1
mp_limitteams 1
// Voice Chat
sv_alltalk 0 // 0 = team only, 1 = everyone
sv_voiceenable 1
// Download Settings
sv_allowdownload 1
sv_allowupload 1
sv_downloadurl "" // FastDL URL (optional)
// Performance
sv_maxcmdrate 66
sv_maxupdaterate 66
fps_max 300
// Server Protection
sv_pure 0 // File consistency checking (0=off, 1=on)
sv_consistency 0
// Exec ban files and additional configs
exec banned_user.cfg
exec banned_ip.cfg</code>
</div>
<h3>mapcycle.txt Example</h3>
<p>Create <code>fof/cfg/mapcycle.txt</code> with your map rotation:</p>
<div class="code-block">
<code>fof_depot
fof_desperados
fof_fistful
fof_mesa
fof_depot2
fof_arena
fof_falls
fof_duelfv2</code>
</div>
<h3>Region Codes</h3>
<ul>
<li>Server settings and parameters</li>
<li>Player slots and limits</li>
<li>RCON/remote control access</li>
<li>FTP file access</li>
<li><strong>0:</strong> East Coast USA</li>
<li><strong>1:</strong> West Coast USA</li>
<li><strong>2:</strong> South America</li>
<li><strong>3:</strong> Europe</li>
<li><strong>4:</strong> Asia</li>
<li><strong>5:</strong> Australia</li>
<li><strong>6:</strong> Middle East</li>
<li><strong>7:</strong> Africa</li>
<li><strong>255:</strong> World (no specific region)</li>
</ul>
<h2>Common Tasks</h2>
<h2 id="parameters">🚀 Startup Parameters</h2>
<h3>Starting Your Server</h3>
<p>Servers are automatically started after creation. You can stop/start your server from the control panel.</p>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>-game</td>
<td>Game directory name</td>
<td>-game fof</td>
</tr>
<tr>
<td>-console</td>
<td>Enable console output</td>
<td>-console</td>
</tr>
<tr>
<td>-port</td>
<td>Server port</td>
<td>-port 27015</td>
</tr>
<tr>
<td>-maxplayers</td>
<td>Maximum players</td>
<td>-maxplayers 16</td>
</tr>
<tr>
<td>+map</td>
<td>Starting map</td>
<td>+map fof_fistful</td>
</tr>
<tr>
<td>+exec</td>
<td>Execute config file</td>
<td>+exec server.cfg</td>
</tr>
<tr>
<td>-tickrate</td>
<td>Server tickrate (default 66)</td>
<td>-tickrate 100</td>
</tr>
<tr>
<td>-ip</td>
<td>Bind to specific IP</td>
<td>-ip 192.168.1.100</td>
</tr>
<tr>
<td>+tv_enable</td>
<td>Enable SourceTV</td>
<td>+tv_enable 1</td>
</tr>
<tr>
<td>+sv_lan</td>
<td>LAN server mode</td>
<td>+sv_lan 0</td>
</tr>
</tbody>
</table>
<h3>Connecting to Your Server</h3>
<p>Use your server's IP address and port to connect from the game client.</p>
<h3>Example Startup Command (Linux)</h3>
<div class="code-block">
<code>./srcds_run -game fof -console -port 27015 -maxplayers 16 +map fof_fistful +exec server.cfg -tickrate 66</code>
</div>
<h3>Managing Files</h3>
<p>Access your server files via FTP using the credentials provided in your control panel.</p>
<h3>Example Startup Command (Windows)</h3>
<div class="code-block">
<code>srcds.exe -game fof -console -port 27015 -maxplayers 16 +map fof_fistful +exec server.cfg -tickrate 66</code>
</div>
<h2>Support</h2>
<p>If you need assistance with your Fistful of Frags server:</p>
<h3>Example Startup Script (Linux with Screen)</h3>
<div class="code-block">
<code>#!/bin/bash
cd /home/fof/fof-server
screen -dmS fof-server ./srcds_run \
-game fof \
-console \
-port 27015 \
-maxplayers 16 \
+map fof_fistful \
+exec server.cfg \
-tickrate 66</code>
</div>
<h2 id="troubleshooting">🔧 Troubleshooting</h2>
<h3>Server Not Appearing in Browser</h3>
<p><strong>Issue:</strong> Server not visible in game server browser.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Check our <a href="/docs.php?action=view&doc=common-issues">Common Issues</a> guide</li>
<li>Contact support through your account dashboard</li>
<li>Visit the official Fistful of Frags community for game-specific help</li>
<li>Verify UDP port 27015 is open in firewall</li>
<li>Ensure <code>sv_lan 0</code> in server.cfg</li>
<li>Check that server has started successfully (no startup errors)</li>
<li>Verify Steam Master Server port 26900 is accessible</li>
<li>Try direct connect using IP:PORT</li>
</ul>
<div style="background: #78350f; padding: 20px; border-left: 4px solid #f59e0b; margin: 20px 0; border-radius: 4px;">
<h3>Connection Failed/Timeout</h3>
<p><strong>Issue:</strong> Players cannot connect to server.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify firewall allows UDP traffic on game port</li>
<li>Check <code>sv_password</code> if server is password protected</li>
<li>Ensure server and clients are same game version</li>
<li>Verify <code>maxplayers</code> limit not reached</li>
<li>Check server logs for connection errors</li>
</ul>
<h3>High Ping/Lag Issues</h3>
<p><strong>Issue:</strong> Players experiencing latency or rubber-banding.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Adjust <code>sv_maxrate</code> to match server bandwidth</li>
<li>Set appropriate <code>sv_maxupdaterate</code> (66 recommended)</li>
<li>Lower tickrate if server CPU can't handle it</li>
<li>Check server CPU usage and network utilization</li>
<li>Consider server location relative to players</li>
</ul>
<h3>Map Change Failures</h3>
<p><strong>Issue:</strong> Server crashes or hangs on map change.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify all maps in <code>mapcycle.txt</code> are installed</li>
<li>Check for corrupted map files (revalidate with SteamCMD)</li>
<li>Ensure sufficient server RAM available</li>
<li>Review server logs for specific errors</li>
</ul>
<h3>SourceMod/MetaMod Issues</h3>
<p><strong>Issue:</strong> Plugins not loading or causing crashes.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Ensure SourceMod and MetaMod:Source are up to date</li>
<li>Check plugin compatibility with FoF version</li>
<li>Review <code>addons/sourcemod/logs</code> for errors</li>
<li>Test plugins individually to isolate issues</li>
</ul>
<h3>Custom Content Download Problems</h3>
<p><strong>Issue:</strong> Players can't download custom maps/content.</p>
<p><strong>Solutions:</strong></p>
<ul>
<li>Verify <code>sv_allowdownload 1</code> in server.cfg</li>
<li>Set up FastDL with <code>sv_downloadurl</code> for large files</li>
<li>Ensure custom content is in correct directories</li>
<li>Check file sizes (Steam limits direct downloads)</li>
</ul>
<h2 id="game-modes">🎮 Game Modes</h2>
<h3>Teamplay</h3>
<p>Classic team deathmatch with Wild West weapons. Two teams compete to eliminate opponents.</p>
<ul>
<li><strong>Teams:</strong> 2 (Desperados vs Vigilantes)</li>
<li><strong>Objective:</strong> Eliminate enemy team members</li>
<li><strong>Respawn:</strong> Configurable (instant or round-based)</li>
</ul>
<h3>Shootout (Team Elimination)</h3>
<p>Round-based elimination where dead players spectate until round ends.</p>
<ul>
<li><strong>Teams:</strong> 2</li>
<li><strong>Objective:</strong> Eliminate all enemy players to win round</li>
<li><strong>Respawn:</strong> Next round only</li>
</ul>
<h3>Break Bad</h3>
<p>Free-for-all deathmatch mode. Every player for themselves.</p>
<ul>
<li><strong>Teams:</strong> None (FFA)</li>
<li><strong>Objective:</strong> Get most kills</li>
<li><strong>Respawn:</strong> Instant</li>
</ul>
<h3>Elimination</h3>
<p>One life per round, team-based tactical gameplay.</p>
<ul>
<li><strong>Teams:</strong> 2</li>
<li><strong>Objective:</strong> Survive and eliminate opponents</li>
<li><strong>Respawn:</strong> Next round</li>
</ul>
<h3>King of the Hill</h3>
<p>Control designated area to score points for your team.</p>
<ul>
<li><strong>Teams:</strong> 2</li>
<li><strong>Objective:</strong> Control the hill area</li>
<li><strong>Respawn:</strong> Instant</li>
</ul>
<h2 id="maps">🗺️ Official Maps</h2>
<h3>Default Maps</h3>
<ul>
<li><strong>fof_depot:</strong> Train depot with multiple buildings and cover</li>
<li><strong>fof_desperados:</strong> Classic Western town setting</li>
<li><strong>fof_fistful:</strong> Small arena-style map for fast action</li>
<li><strong>fof_mesa:</strong> Desert canyon environment</li>
<li><strong>fof_depot2:</strong> Redesigned depot with improved flow</li>
<li><strong>fof_arena:</strong> Circular arena for elimination matches</li>
<li><strong>fof_falls:</strong> Waterfall and bridge map</li>
<li><strong>fof_duelfv2:</strong> Duel arena for 1v1 matches</li>
<li><strong>fof_coyote:</strong> Ghost town with saloon</li>
<li><strong>fof_tuscany:</strong> Italian villa setting</li>
<li><strong>fof_blanco:</strong> White-washed Spanish fort</li>
<li><strong>fof_campo:</strong> Desert camp with tents</li>
</ul>
<h3>Community Maps</h3>
<p>Install custom maps to <code>fof/maps/</code> directory and add to <code>mapcycle.txt</code>.</p>
<h2 id="mods">🔌 Mods & Plugins</h2>
<p>Fistful of Frags uses Source engine modding:</p>
<h3>SourceMod</h3>
<p>Required for most server plugins and administration tools.</p>
<ul>
<li><strong>Download:</strong> <a href="https://www.sourcemod.net/" target="_blank">sourcemod.net</a></li>
<li><strong>Installation:</strong> Extract to server root directory</li>
<li><strong>Popular Plugins:</strong> Admin management, voting systems, stats tracking</li>
</ul>
<h3>MetaMod:Source</h3>
<p>Required by SourceMod - install first.</p>
<ul>
<li><strong>Download:</strong> <a href="https://www.sourcemm.net/" target="_blank">sourcemm.net</a></li>
<li><strong>Installation:</strong> Extract to server root directory</li>
</ul>
<h3>Related Game Documentation</h3>
<ul>
<li><a href="../csgo/">Counter-Strike: Global Offensive</a> (Source engine gameplay)</li>
<li><a href="../tf2/">Team Fortress 2</a> (Source engine modding)</li>
<li><a href="../dods/">Day of Defeat: Source</a> (Similar era, Source engine)</li>
</ul>
<h2>👤 Admin Commands</h2>
<h3>Basic Console Commands</h3>
<div class="code-block">
<code>status # Show players and server info
kick [name/userid] # Kick player
kickid [userid] # Kick by UserID
banid [minutes] [userid]# Ban player
addip [minutes] [ip] # Ban IP address
writeid # Save bans to banned_user.cfg
writeip # Save IP bans to banned_ip.cfg
changelevel [map] # Change map immediately
map [map] # Load specific map
mp_restartgame [delay] # Restart game after delay</code>
</div>
<h3>RCON Commands (Remote)</h3>
<p>Connect via RCON tool using password set in <code>rcon_password</code>:</p>
<div class="code-block">
<code>rcon_password [password] # Authenticate
rcon [command] # Execute command remotely</code>
</div>
<h2>📚 Resources</h2>
<ul>
<li><strong>Official Website:</strong> <a href="http://www.fistful-of-frags.com/" target="_blank">fistful-of-frags.com</a></li>
<li><strong>Steam Page:</strong> <a href="https://store.steampowered.com/app/265630/" target="_blank">Free-to-Play on Steam</a></li>
<li><strong>Wiki:</strong> Community wikis and guides</li>
<li><strong>Forums:</strong> Steam Community forums</li>
<li><strong>SourceMod:</strong> <a href="https://www.sourcemod.net/" target="_blank">sourcemod.net</a></li>
</ul>
<div class="warning-box">
<h3 style="color: #ffffff; margin-top: 0;"><i class="fas fa-exclamation-triangle" style="color: #fbbf24; margin-right: 8px;"></i>Important Notes</h3>
<ul style="color: #fef3c7; line-height: 1.8;">
<li>Always keep your server updated to the latest version</li>
<li>Make regular backups of your server configuration</li>
<li>Review and follow the game's End User License Agreement (EULA)</li>
<li>Fistful of Frags is a <strong>free-to-play</strong> Wild West FPS on Source engine</li>
<li>Uses <strong>unique damage model</strong> - headshots and limb damage matter</li>
<li><strong>Whiskey power-up</strong> provides temporary advantages (health/damage/speed)</li>
<li>Server requires <strong>App ID 295240</strong> (different from client 295230)</li>
<li>Compatible with <strong>SourceMod/MetaMod</strong> for plugins and admin tools</li>
<li><strong>Multiple game modes</strong> available (Teamplay, Shootout, Break Bad, etc.)</li>
<li>Supports <strong>custom maps and content</strong> via workshop or manual installation</li>
<li><strong>Tickrate</strong> configurable (66 default, 100 for competitive)</li>
<li>Uses <strong>period-authentic weapons</strong> (revolvers, rifles, shotguns)</li>
<li>May the fastest draw win!</li>
</ul>
</div>

View file

@ -2,5 +2,5 @@
"description": "Setup and configuration guide for Fistful of Frags game servers",
"name": "Fistful of Frags",
"order": 82,
"category": "todo"
"category": "game"
}

View file

@ -2,5 +2,5 @@
"description": "Learn how to use the game server panel and manage your servers",
"name": "Getting Started",
"order": 1,
"category": "todo"
"category": "site"
}