Add comprehensive game server documentation for Minecraft and CS:GO

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-11-08 16:26:43 +00:00
parent f5d1586119
commit 625182ec3a
4 changed files with 1239 additions and 106 deletions

View file

@ -1,67 +1,584 @@
<?php
/**
* Counter Strike Global Offensive 128tick Server Documentation
* Counter-Strike: Global Offensive / CS2 Server Documentation
* Comprehensive game server hosting guide
*/
?>
<h1>Counter Strike Global Offensive 128tick Server Guide</h1>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">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="#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;">Parameters</a>
<a href="#plugins-mods" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">Plugins & Mods</a>
<a href="#troubleshooting" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">Troubleshooting</a>
<a href="#gamemodes" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">Game Modes</a>
</div>
</div>
<h1>Counter-Strike: Global Offensive & CS2 Server Hosting Guide</h1>
<h2>Overview</h2>
<p><strong>Counter Strike Global Offensive 128tick</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your Counter Strike Global Offensive 128tick server.</p>
<p>Counter-Strike: Global Offensive (CS:GO) and Counter-Strike 2 (CS2) are competitive tactical first-person shooters. This guide covers everything needed to host a dedicated CS:GO or CS2 server on Linux or Windows.</p>
<p><strong>Note:</strong> CS2 replaced CS:GO in September 2023. Most concepts apply to both, but CS2 uses Source 2 engine with some differences. This guide covers both versions.</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;">
<h3 style="color: #ffffff; margin-top: 0;">Quick Info</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Game Key:</strong> </li>
<li><strong style="color: #ffffff;">Startup Command:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">Not specified</code></li>
<li><strong style="color: #ffffff;">Log File:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">Not specified</code></li>
<li><strong style="color: #ffffff;">Default Port:</strong> Not specified</li>
<li><strong style="color: #ffffff;">Max Players:</strong> Not specified</li>
<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;">27015</code> (UDP)</li>
<li><strong style="color: #ffffff;">Additional Ports:</strong> 27015 (TCP), 27020 (UDP), 27005 (UDP) for SourceTV</li>
<li><strong style="color: #ffffff;">Protocol:</strong> UDP (primary), TCP (RCON)</li>
<li><strong style="color: #ffffff;">Minimum RAM:</strong> 2GB (CS:GO), 4GB (CS2)</li>
<li><strong style="color: #ffffff;">Recommended RAM:</strong> 4GB+ (CS:GO), 8GB+ (CS2)</li>
<li><strong style="color: #ffffff;">CPU:</strong> High single-thread performance critical</li>
<li><strong style="color: #ffffff;">App ID:</strong> 740 (CS:GO), 730 (CS2)</li>
<li><strong style="color: #ffffff;">SteamCMD App:</strong> 740 (dedicated server)</li>
<li><strong style="color: #ffffff;">Log Files:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">csgo/logs/</code> or <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">cs2/logs/</code></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;">Server Launcher:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">srcds_run</code> (Linux) or <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">srcds.exe</code> (Windows)</li>
</ul>
</div>
<h2>Getting Started</h2>
<p>To create a Counter Strike Global Offensive 128tick server:</p>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>Counter Strike Global Offensive 128tick</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 id="installation">Installation & Setup</h2>
<h2>Server Configuration</h2>
<p>After your server is created, you can configure it through the control panel:</p>
<h3>System Requirements</h3>
<h4>CS:GO</h4>
<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 (Ubuntu 18.04+, Debian 9+) or Windows Server 2012+</li>
<li><strong>CPU:</strong> Dual-core 3GHz+ (quad-core recommended)</li>
<li><strong>RAM:</strong> 2GB minimum, 4GB+ recommended</li>
<li><strong>Storage:</strong> 30GB+</li>
<li><strong>Bandwidth:</strong> 100Mbps+ for competitive play</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 Counter Strike Global Offensive 128tick server:</p>
<h4>CS2</h4>
<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 Counter Strike Global Offensive 128tick community for game-specific help</li>
<li><strong>OS:</strong> Linux (Ubuntu 20.04+) or Windows Server 2019+</li>
<li><strong>CPU:</strong> Quad-core 3.5GHz+ recommended</li>
<li><strong>RAM:</strong> 4GB minimum, 8GB+ recommended</li>
<li><strong>Storage:</strong> 40GB+</li>
<li><strong>Network:</strong> 1Gbps connection recommended</li>
</ul>
<h3>Installing SteamCMD</h3>
<h4>Linux Installation</h4>
<pre><code># Install dependencies (Ubuntu/Debian)
sudo apt update
sudo apt install lib32gcc-s1 lib32stdc++6 steamcmd
# Or 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></pre>
<h4>Windows Installation</h4>
<p>Download SteamCMD from: <a href="https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip" target="_blank">SteamCMD for Windows</a></p>
<h3>Installing CS:GO/CS2 Server</h3>
<h4>CS:GO Server</h4>
<pre><code># Run SteamCMD
./steamcmd.sh
# Login anonymously
login anonymous
# Set install directory
force_install_dir ./csgo-server
# Install CS:GO dedicated server
app_update 740 validate
# Exit
quit
</code></pre>
<h4>CS2 Server</h4>
<pre><code># Run SteamCMD
./steamcmd.sh
# Login (may require Steam account with CS2)
login anonymous
# Set install directory
force_install_dir ./cs2-server
# Install CS2 dedicated server
app_update 730 validate
# Exit
quit
</code></pre>
<h2 id="configuration">Server Configuration</h2>
<h3>server.cfg - Essential Settings</h3>
<p>Create <code>csgo/cfg/server.cfg</code> or <code>cs2/cfg/server.cfg</code>:</p>
<pre><code>// Server Information
hostname "My CS:GO/CS2 Server"
sv_password "" // Server password (leave blank for public)
sv_region "1" // 0=US East, 1=US West, 2=South America, 3=Europe, etc.
// RCON Configuration
rcon_password "YourSecurePassword"
sv_rcon_banpenalty 0
sv_rcon_maxfailures 5
// Server Settings
sv_cheats 0
sv_lan 0
sv_pure 1 // File consistency checking (0=off, 1=on, 2=strict)
sv_pure_kick_clients 1
sv_minrate 128000
sv_maxrate 0 // 0=unlimited
// Game Settings
mp_autoteambalance 1
mp_limitteams 1
mp_teamcashawards 1
mp_playercashawards 1
mp_maxmoney 16000
mp_startmoney 800
mp_buytime 90
mp_buy_anywhere 0
mp_freezetime 15
mp_friendlyfire 0
mp_c4timer 40
mp_roundtime 5
mp_roundtime_defuse 1.92
mp_maxrounds 30
mp_overtime_enable 1
mp_overtime_maxrounds 6
mp_overtime_startmoney 10000
// Competitive Settings (5v5)
mp_match_end_restart 1
mp_halftime 1
mp_warmuptime 30
mp_do_warmup_period 1
mp_warmup_pausetimer 1
// Communication
sv_alltalk 0
sv_deadtalk 0
sv_full_alltalk 0
sv_talk_enemy_dead 1
sv_talk_enemy_living 0
// Voting
sv_vote_issue_kick_allowed 0
sv_vote_issue_changelevel_allowed 0
sv_vote_issue_nextlevel_allowed 0
// SourceTV (GOTV)
tv_enable 1
tv_delay 90
tv_advertise_watchable 1
tv_name "GOTV"
tv_title "Source TV"
tv_autorecord 1
tv_allow_camera_man 1
// Logging
log on
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0
// Execute additional configs
exec banned_user.cfg
exec banned_ip.cfg
</code></pre>
<h3>Game Mode Configuration Files</h3>
<h4>gamemode_competitive.cfg (5v5 Competitive)</h4>
<pre><code>mp_maxrounds 30
mp_roundtime 1.92
mp_roundtime_defuse 1.92
mp_freezetime 15
mp_buytime 90
mp_startmoney 800
mp_maxmoney 16000
mp_timelimit 0
sv_alltalk 0
sv_talk_enemy_dead 1
sv_deadtalk 0
</code></pre>
<h4>gamemode_casual.cfg (10v10 Casual)</h4>
<pre><code>mp_maxrounds 15
mp_roundtime 3
mp_roundtime_defuse 3
mp_freezetime 15
mp_buytime 90
mp_startmoney 1000
mp_maxmoney 16000
sv_alltalk 0
mp_autoteambalance 1
mp_limitteams 2
</code></pre>
<h3>mapcycle.txt</h3>
<p>List maps to rotate through:</p>
<pre><code>de_dust2
de_mirage
de_inferno
de_nuke
de_overpass
de_vertigo
de_ancient
de_anubis
</code></pre>
<h2 id="parameters">Startup Parameters</h2>
<h3>Basic Linux Startup (CS:GO)</h3>
<pre><code>#!/bin/bash
cd /path/to/csgo-server
./srcds_run -game csgo \
-console \
-usercon \
+ip 0.0.0.0 \
+game_type 0 \
+game_mode 1 \
+mapgroup mg_active \
+map de_dust2 \
-port 27015 \
+tv_port 27020 \
-tickrate 128 \
+maxplayers 10 \
+sv_setsteamaccount YOUR_GSLT_TOKEN
</code></pre>
<h3>Basic Linux Startup (CS2)</h3>
<pre><code>#!/bin/bash
cd /path/to/cs2-server
./game/bin/linuxsteamrt64/cs2 \
-dedicated \
-console \
+ip 0.0.0.0 \
+map de_dust2 \
-port 27015 \
+maxplayers 10 \
+sv_setsteamaccount YOUR_GSLT_TOKEN \
+game_type 0 \
+game_mode 1
</code></pre>
<h3>Windows Startup (CS:GO)</h3>
<pre><code>@echo off
cd C:\csgo-server
srcds.exe -game csgo -console -usercon +ip 0.0.0.0 +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2 -port 27015 -tickrate 128 +maxplayers 10 +sv_setsteamaccount YOUR_GSLT_TOKEN
pause
</code></pre>
<h3>Parameter Breakdown</h3>
<ul>
<li><code>-game csgo</code> - Specify game (CS:GO only, not needed for CS2)</li>
<li><code>-console</code> - Enable server console</li>
<li><code>-usercon</code> - Enable user console input</li>
<li><code>+ip 0.0.0.0</code> - Bind to all network interfaces</li>
<li><code>+game_type 0</code> - Classic game type</li>
<li><code>+game_mode 1</code> - Competitive mode (0=casual, 1=competitive, 2=wingman)</li>
<li><code>+mapgroup mg_active</code> - Map group (active duty maps)</li>
<li><code>+map de_dust2</code> - Starting map</li>
<li><code>-port 27015</code> - Server port</li>
<li><code>-tickrate 128</code> - Server tickrate (64 or 128, CS:GO only)</li>
<li><code>+maxplayers 10</code> - Maximum players</li>
<li><code>+sv_setsteamaccount TOKEN</code> - Game Server Login Token (GSLT)</li>
</ul>
<h3>Game Server Login Token (GSLT)</h3>
<p><strong>Required for public servers to appear in server browser!</strong></p>
<ol>
<li>Go to <a href="https://steamcommunity.com/dev/managegameservers" target="_blank">Steam Game Server Account Management</a></li>
<li>Login with your Steam account</li>
<li>Click "Create New Game Server Account"</li>
<li>App ID: 730 (CS:GO) or 730 (CS2)</li>
<li>Memo: Your server name/description</li>
<li>Copy the generated token</li>
<li>Use in +sv_setsteamaccount parameter</li>
</ol>
<h2 id="plugins-mods">Plugins & Mods</h2>
<h3>SourceMod & MetaMod:Source</h3>
<p>The standard plugin framework for Source engine servers.</p>
<h4>Installation</h4>
<ol>
<li><strong>Download MetaMod:Source:</strong> <a href="https://www.sourcemm.net/downloads.php?branch=stable" target="_blank">SourceMM.net</a></li>
<li><strong>Download SourceMod:</strong> <a href="https://www.sourcemod.net/downloads.php?branch=stable" target="_blank">SourceMod.net</a></li>
<li><strong>Extract to server directory:</strong>
<pre><code># Both extract to csgo/ or cs2/ folder
cd /path/to/csgo-server/csgo
wget https://mms.alliedmods.net/mmsdrop/...
tar -xzf mmsource-...tar.gz
wget https://sm.alliedmods.net/smdrop/...
tar -xzf sourcemod-...tar.gz
</code></pre>
</li>
<li><strong>Restart server</strong></li>
<li><strong>Add yourself as admin:</strong>
<pre><code># Edit addons/sourcemod/configs/admins_simple.ini
"STEAM_0:1:12345678" "99:z" // Your Steam ID
</code></pre>
</li>
</ol>
<h3>Essential Plugins</h3>
<h4>Practice Mode</h4>
<p>For practicing smokes, flashes, and aim.</p>
<ul>
<li>Download: <a href="https://github.com/splewis/csgo-practice-mode" target="_blank">CS:GO Practice Mode</a></li>
<li>Features: Noclip, infinite ammo, grenade trajectory, bot spawning</li>
</ul>
<h4>Get5</h4>
<p>Competitive match plugin with knife rounds, veto, and more.</p>
<ul>
<li>Download: <a href="https://github.com/splewis/get5" target="_blank">Get5 on GitHub</a></li>
<li>Features: Automated match setup, team management, stats</li>
</ul>
<h4>RetakesPlugin</h4>
<p>Retake game mode - defenders defend bombsite, attackers retake.</p>
<ul>
<li>Download: <a href="https://github.com/b3none/retakes-plugin" target="_blank">Retakes Plugin</a></li>
</ul>
<h4>RankMe</h4>
<p>Player ranking and statistics system.</p>
<ul>
<li>Download: <a href="https://forums.alliedmods.net/showthread.php?t=290063" target="_blank">RankMe</a></li>
</ul>
<h4>In-Game Admin Menu</h4>
<p>Built into SourceMod. Access with <code>!admin</code> or <code>sm_admin</code> in chat.</p>
<h3>Workshop Maps & Collections</h3>
<pre><code># In server.cfg or startup parameters
host_workshop_collection 123456789 // Workshop collection ID
workshop_start_map 123456789 // Workshop map ID
</code></pre>
<h2 id="troubleshooting">Troubleshooting</h2>
<h3>Server Won't Start</h3>
<h4>Missing Libraries (Linux)</h4>
<pre><code># Install 32-bit libraries
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install lib32gcc-s1 lib32stdc++6
# CS:GO specific
sudo apt install libsdl2-2.0-0:i386
# CS2 specific
sudo apt install libtinfo5:i386
</code></pre>
<h4>Port Already in Use</h4>
<pre><code># Check what's using port 27015
sudo netstat -tulpn | grep 27015
sudo lsof -i :27015
# Kill existing process or change port
./srcds_run -game csgo -port 27016 ...
</code></pre>
<h3>Server Not in Browser</h3>
<ol>
<li><strong>Check GSLT is set:</strong> <code>+sv_setsteamaccount YOUR_TOKEN</code></li>
<li><strong>Verify sv_lan is 0:</strong> <code>sv_lan 0</code> in server.cfg</li>
<li><strong>Check firewall allows UDP 27015:</strong>
<pre><code>sudo ufw allow 27015/udp
sudo ufw allow 27015/tcp
sudo ufw allow 27020/udp # SourceTV
</code></pre>
</li>
<li><strong>Wait 5-10 minutes:</strong> Can take time to appear in browser</li>
<li><strong>Direct connect test:</strong> In CS:GO/CS2 console: <code>connect your.server.ip:27015</code></li>
</ol>
<h3>High Ping / Lag</h3>
<h4>Server-Side</h4>
<ol>
<li><strong>Check server load:</strong> <code>top</code> or <code>htop</code></li>
<li><strong>Increase rates:</strong>
<pre><code>sv_minrate 128000
sv_maxrate 0 // unlimited
</code></pre>
</li>
<li><strong>Enable multi-core (CS:GO):</strong>
<pre><code>host_thread_mode 2
</code></pre>
</li>
<li><strong>Reduce bots if present</strong></li>
<li><strong>Check network saturation</strong></li>
</ol>
<h4>Client-Side</h4>
<pre><code>// Player client commands
rate 786432
cl_interp 0
cl_interp_ratio 1
cl_updaterate 128
cl_cmdrate 128
</code></pre>
<h3>VAC Authentication Error</h3>
<ol>
<li><strong>Ensure sv_lan 0</strong></li>
<li><strong>Verify GSLT is valid and not banned</strong></li>
<li><strong>Check server files integrity:</strong>
<pre><code>./steamcmd.sh
login anonymous
force_install_dir /path/to/csgo-server
app_update 740 validate
quit
</code></pre>
</li>
<li><strong>Restart server after updates</strong></li>
</ol>
<h3>Can't Hear Voice Chat</h3>
<ol>
<li><strong>Check voice settings in server.cfg:</strong>
<pre><code>sv_use_steam_voice 1
sv_voiceenable 1
</code></pre>
</li>
<li><strong>Verify UDP ports open:</strong> 27015, 27020</li>
<li><strong>Test with different voice_loopback values:</strong>
<pre><code>voice_loopback 1 // Hear yourself (testing)
</code></pre>
</li>
</ol>
<h2 id="gamemodes">Game Modes Configuration</h2>
<h3>Competitive 5v5 (128 tick)</h3>
<pre><code>+game_type 0 +game_mode 1 -tickrate 128 +maxplayers 10
exec gamemode_competitive.cfg
</code></pre>
<h3>Casual 10v10</h3>
<pre><code>+game_type 0 +game_mode 0 +maxplayers 20
exec gamemode_casual.cfg
</code></pre>
<h3>Deathmatch</h3>
<pre><code>+game_type 1 +game_mode 2 +maxplayers 20
mp_respawn_on_death_t 1
mp_respawn_on_death_ct 1
mp_respawnwavetime 3
mp_timelimit 10
mp_dm_bonus_length_max 30
</code></pre>
<h3>Arms Race</h3>
<pre><code>+game_type 1 +game_mode 0 +maxplayers 12
mp_ggprogressive_round_restart_delay 3
mp_timelimit 20
mp_maxrounds 3
</code></pre>
<h3>Wingman 2v2</h3>
<pre><code>+game_type 0 +game_mode 2 +maxplayers 4
exec gamemode_competitive.cfg
mp_maxrounds 16
mp_overtime_maxrounds 4
</code></pre>
<h3>Custom Modes</h3>
<h4>Surf</h4>
<p>Download surf maps and configure:</p>
<pre><code>sv_airaccelerate 150
sv_staminajumpcost 0
sv_staminalandcost 0
sv_accelerate 10
sv_friction 4
</code></pre>
<h4>Bunny Hop</h4>
<pre><code>sv_enablebunnyhopping 1
sv_autobunnyhopping 1
sv_airaccelerate 1000
sv_staminajumpcost 0
sv_staminalandcost 0
</code></pre>
<h4>1v1 Arena</h4>
<p>Use arena plugin and configure multiple arenas on one map.</p>
<h2>Performance Optimization</h2>
<h3>CPU Affinity (Linux)</h3>
<pre><code># Bind server to specific CPU cores
taskset -c 0,1,2,3 ./srcds_run -game csgo ...
</code></pre>
<h3>Process Priority</h3>
<pre><code># Run with higher priority
nice -n -10 ./srcds_run -game csgo ...
</code></pre>
<h3>Network Optimization</h3>
<pre><code># Increase network buffers (Linux)
sudo sysctl -w net.core.rmem_max=16777216
sudo sysctl -w net.core.wmem_max=16777216
sudo sysctl -w net.ipv4.tcp_rmem="4096 87380 16777216"
sudo sysctl -w net.ipv4.tcp_wmem="4096 65536 16777216"
</code></pre>
<h3>Automate Updates</h3>
<pre><code>#!/bin/bash
# update_csgo.sh
cd /home/steam/steamcmd
./steamcmd.sh +login anonymous +force_install_dir /path/to/csgo-server +app_update 740 validate +quit
# Kill and restart server
killall -9 srcds_linux
sleep 5
cd /path/to/csgo-server
./srcds_run -game csgo +map de_dust2 ...
</code></pre>
<h2>Additional Resources</h2>
<ul>
<li><a href="https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers" target="_blank">Valve Developer Wiki - CS:GO Dedicated Servers</a></li>
<li><a href="https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers" target="_blank">Valve Developer Wiki - CS2 Dedicated Servers</a></li>
<li><a href="https://www.sourcemod.net/" target="_blank">SourceMod Official Site</a></li>
<li><a href="https://forums.alliedmods.net/" target="_blank">AlliedModders Forums</a></li>
<li><a href="https://steamcommunity.com/dev/managegameservers" target="_blank">Steam GSLT Management</a></li>
<li><a href="https://github.com/GameServerManagers/LinuxGSM" target="_blank">LinuxGSM - Game Server Management</a></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 style="color: #fef3c7; line-height: 1.8; margin: 0;">
<li>Always obtain and use a valid Game Server Login Token (GSLT)</li>
<li>Keep server files updated via SteamCMD</li>
<li>Monitor server resources (CPU, RAM, network)</li>
<li>Use strong RCON password</li>
<li>Configure firewall properly for security</li>
<li>Join CS:GO/CS2 server admin communities for support</li>
</ul>
</div>
</div>
<p style="text-align: center; margin-top: 30px; color: #666;">
<em>Last updated: November 2024 | Covers CS:GO & CS2</em>
</p>

View file

@ -0,0 +1,67 @@
<?php
/**
* Counter Strike Global Offensive 128tick Server Documentation
*/
?>
<h1>Counter Strike Global Offensive 128tick Server Guide</h1>
<h2>Overview</h2>
<p><strong>Counter Strike Global Offensive 128tick</strong> is available for hosting on our platform. This guide covers the basics of setting up and managing your Counter Strike Global Offensive 128tick 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;">Quick Info</h3>
<ul style="color: #e5e7eb; line-height: 1.8;">
<li><strong style="color: #ffffff;">Game Key:</strong> </li>
<li><strong style="color: #ffffff;">Startup Command:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">Not specified</code></li>
<li><strong style="color: #ffffff;">Log File:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">Not specified</code></li>
<li><strong style="color: #ffffff;">Default Port:</strong> Not specified</li>
<li><strong style="color: #ffffff;">Max Players:</strong> Not specified</li>
</ul>
</div>
<h2>Getting Started</h2>
<p>To create a Counter Strike Global Offensive 128tick server:</p>
<ol>
<li>Navigate to the <a href="/serverlist.php">Game Servers</a> page</li>
<li>Find <strong>Counter Strike Global Offensive 128tick</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 Counter Strike Global Offensive 128tick 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 Counter Strike Global Offensive 128tick 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,91 +1,549 @@
<?php
/**
* Minecraft Server Documentation
* Minecraft Server Documentation - Comprehensive Guide
* General game server hosting information (not platform-specific)
*/
?>
<h1>Minecraft Server Guide</h1>
<div style="background: #1e3a5f; padding: 20px; border-left: 4px solid #3b82f6; margin: 20px 0; border-radius: 4px;">
<h3 style="color: #ffffff; margin-top: 0;">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="#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;">Parameters</a>
<a href="#plugins-mods" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">Plugins & Mods</a>
<a href="#troubleshooting" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">Troubleshooting</a>
<a href="#performance" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">Performance</a>
<a href="#security" style="background: #0f172a; padding: 8px 16px; border-radius: 4px; color: #a5b4fc; text-decoration: none;">Security</a>
</div>
</div>
<h1>Minecraft Java Edition Server Hosting Guide</h1>
<h2>Overview</h2>
<p>Minecraft is one of the most popular sandbox games in the world. This guide will help you set up and manage your Minecraft Java Edition server.</p>
<p>Minecraft Java Edition is one of the most popular sandbox games worldwide, supporting extensive multiplayer capabilities. This comprehensive guide covers everything you need to know about hosting a Minecraft server on a VPS or dedicated server.</p>
<h2>Getting Started</h2>
<p>Once your Minecraft server is provisioned, you can connect to it using the server IP and port provided in your account dashboard.</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;">25565</code> (TCP)</li>
<li><strong style="color: #ffffff;">Protocol:</strong> TCP (Query on UDP 25565 if enabled)</li>
<li><strong style="color: #ffffff;">Minimum RAM:</strong> 2GB (Vanilla), 4GB+ (Modded)</li>
<li><strong style="color: #ffffff;">Recommended RAM:</strong> 1GB per 5-10 players + 2GB base</li>
<li><strong style="color: #ffffff;">Java Version:</strong> Java 17+ (Minecraft 1.17+), Java 8+ (older versions)</li>
<li><strong style="color: #ffffff;">Server Software:</strong> Vanilla, Spigot, Paper, Forge, Fabric</li>
<li><strong style="color: #ffffff;">Log File:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">logs/latest.log</code></li>
<li><strong style="color: #ffffff;">Main Config:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">server.properties</code></li>
<li><strong style="color: #ffffff;">EULA:</strong> <code style="background: #0f172a; padding: 2px 6px; border-radius: 3px; color: #a5b4fc;">eula.txt</code> (must set eula=true)</li>
</ul>
</div>
<h3>Server Details</h3>
<h2 id="installation">Installation & Setup</h2>
<h3>System Requirements</h3>
<ul>
<li><strong>Default Port:</strong> 25565</li>
<li><strong>Protocol:</strong> TCP/UDP</li>
<li><strong>Supported Versions:</strong> 1.8 - Latest</li>
<li><strong>OS:</strong> Linux (Ubuntu/Debian recommended), Windows Server, or any Java-compatible OS</li>
<li><strong>CPU:</strong> 2+ cores (single-threaded performance is critical)</li>
<li><strong>RAM:</strong> Minimum 2GB, 4GB+ recommended for 10+ players</li>
<li><strong>Storage:</strong> 1GB+ for server files, additional for worlds (can grow to 10GB+)</li>
<li><strong>Bandwidth:</strong> ~1Mbps per player</li>
</ul>
<h2>Configuration</h2>
<p>You can customize your server using the <code>server.properties</code> file. Common settings include:</p>
<h3>Installing Java</h3>
<p>Minecraft requires Java to run. Install the appropriate version:</p>
<pre><code># Ubuntu/Debian - Java 17 (for MC 1.17+)
sudo apt update
sudo apt install openjdk-17-jre-headless
<h3>Server Properties</h3>
<pre><code># Server name
motd=Welcome to My Minecraft Server
# Check Java version
java -version
# Game mode (survival, creative, adventure, spectator)
gamemode=survival
# Difficulty (peaceful, easy, normal, hard)
difficulty=normal
# Maximum players
max-players=20
# Enable PvP
pvp=true
# View distance (in chunks)
view-distance=10
# Set Java 17 as default if multiple versions installed
sudo update-alternatives --config java
</code></pre>
<h2>Installing Plugins</h2>
<p>To add plugins to your server, you'll need to use a modified server like Spigot or Paper:</p>
<h3>Downloading Server Files</h3>
<p>Download the official Minecraft server from <a href="https://www.minecraft.net/en-us/download/server" target="_blank">Minecraft.net</a>:</p>
<pre><code># Create server directory
mkdir minecraft-server
cd minecraft-server
# Download server jar (replace version number with desired version)
wget https://piston-data.mojang.com/v1/objects/[hash]/server.jar -O minecraft_server.jar
# Or use curl
curl -o minecraft_server.jar https://piston-data.mojang.com/v1/objects/[hash]/server.jar
</code></pre>
<h3>First-Time Setup</h3>
<pre><code># Run server once to generate files
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
# Accept EULA
echo "eula=true" > eula.txt
# Start server
java -Xmx2048M -Xms2048M -jar minecraft_server.jar nogui
</code></pre>
<h2 id="configuration">Server Configuration</h2>
<h3>server.properties - Essential Settings</h3>
<p>The <code>server.properties</code> file controls all server behavior:</p>
<pre><code># Server identification
server-name=My Minecraft Server
motd=Welcome to My Server!
server-port=25565
server-ip=0.0.0.0
# Gameplay settings
gamemode=survival
difficulty=normal
hardcore=false
pvp=true
enable-command-block=false
# World settings
level-name=world
level-seed=
level-type=default
generate-structures=true
spawn-protection=16
max-build-height=256
view-distance=10
simulation-distance=10
# Player limits
max-players=20
white-list=false
online-mode=true
# Performance & resource settings
max-tick-time=60000
max-world-size=29999984
network-compression-threshold=256
spawn-npcs=true
spawn-animals=true
spawn-monsters=true
# Query & RCON
enable-query=true
query.port=25565
enable-rcon=false
rcon.port=25575
rcon.password=changeme
# Misc
allow-flight=false
enforce-whitelist=false
resource-pack=
resource-pack-sha1=
</code></pre>
<h3>ops.json - Server Operators</h3>
<p>Grant admin privileges to players:</p>
<pre><code>[
{
"uuid": "player-uuid-here",
"name": "PlayerName",
"level": 4,
"bypassesPlayerLimit": true
}
]
</code></pre>
<p>Permission levels: 1 (bypass spawn protection), 2 (use cheat commands), 3 (kick/ban), 4 (full control)</p>
<h3>whitelist.json - Whitelist</h3>
<p>When <code>white-list=true</code> in server.properties:</p>
<pre><code>[
{
"uuid": "player-uuid-here",
"name": "PlayerName"
}
]
</code></pre>
<h2 id="parameters">Startup Parameters & JVM Arguments</h2>
<h3>Basic Startup Command</h3>
<pre><code>java -Xmx4G -Xms4G -jar minecraft_server.jar nogui
</code></pre>
<h3>Recommended JVM Arguments (Aikar's Flags)</h3>
<p>Optimized for Minecraft server performance:</p>
<pre><code>java -Xms4G -Xmx4G -XX:+UseG1GC -XX:+ParallelRefProcEnabled \
-XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions \
-XX:+DisableExplicitGC -XX:+AlwaysPreTouch \
-XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 \
-XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 \
-XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 \
-XX:InitiatingHeapOccupancyPercent=15 \
-XX:G1MixedGCLiveThresholdPercent=90 \
-XX:G1RSetUpdatingPauseTimePercent=5 \
-XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem \
-XX:MaxTenuringThreshold=1 \
-Dusing.aikars.flags=https://mcflags.emc.gs \
-Daikars.new.flags=true \
-jar minecraft_server.jar nogui
</code></pre>
<h3>Parameter Breakdown</h3>
<ul>
<li><code>-Xms4G</code> - Initial heap size (4GB)</li>
<li><code>-Xmx4G</code> - Maximum heap size (4GB) - should match Xms</li>
<li><code>-XX:+UseG1GC</code> - Use G1 Garbage Collector (best for MC)</li>
<li><code>-XX:+ParallelRefProcEnabled</code> - Parallel reference processing</li>
<li><code>-XX:MaxGCPauseMillis=200</code> - Target max GC pause time</li>
<li><code>-XX:+UnlockExperimentalVMOptions</code> - Enable experimental JVM options</li>
<li><code>-XX:+AlwaysPreTouch</code> - Pre-touch memory pages on startup</li>
<li><code>nogui</code> - Disable graphical interface (better performance)</li>
</ul>
<h3>Creating a Start Script</h3>
<p><strong>Linux (start.sh):</strong></p>
<pre><code>#!/bin/bash
java -Xms4G -Xmx4G -XX:+UseG1GC -jar minecraft_server.jar nogui
</code></pre>
<pre><code>chmod +x start.sh
./start.sh
</code></pre>
<p><strong>Windows (start.bat):</strong></p>
<pre><code>@echo off
java -Xms4G -Xmx4G -XX:+UseG1GC -jar minecraft_server.jar nogui
pause
</code></pre>
<h2 id="plugins-mods">Plugins, Mods & Server Software</h2>
<h3>Server Software Options</h3>
<h4>1. Vanilla</h4>
<ul>
<li>Official Mojang server</li>
<li>No plugin/mod support</li>
<li>Best for pure vanilla experience</li>
<li>Download: <a href="https://www.minecraft.net/en-us/download/server" target="_blank">Minecraft.net</a></li>
</ul>
<h4>2. Spigot</h4>
<ul>
<li>Popular plugin platform</li>
<li>Better performance than vanilla</li>
<li>Large plugin ecosystem</li>
<li>Download: <a href="https://www.spigotmc.org/" target="_blank">SpigotMC.org</a></li>
<li>Build with BuildTools or download pre-built</li>
</ul>
<h4>3. Paper (Recommended)</h4>
<ul>
<li>Fork of Spigot with major performance improvements</li>
<li>Compatible with most Spigot plugins</li>
<li>Additional bug fixes and features</li>
<li>Download: <a href="https://papermc.io/" target="_blank">PaperMC.io</a></li>
</ul>
<h4>4. Forge</h4>
<ul>
<li>Mod platform (not plugins)</li>
<li>Required for most mods</li>
<li>Download: <a href="https://files.minecraftforge.net/" target="_blank">MinecraftForge.net</a></li>
</ul>
<h4>5. Fabric</h4>
<ul>
<li>Lightweight mod platform</li>
<li>Faster updates than Forge</li>
<li>Download: <a href="https://fabricmc.net/" target="_blank">FabricMC.net</a></li>
</ul>
<h3>Essential Plugins (Spigot/Paper)</h3>
<h4>EssentialsX</h4>
<p>Core commands and utilities for server management.</p>
<ul>
<li>Download: <a href="https://essentialsx.net/" target="_blank">EssentialsX.net</a></li>
<li>Features: /home, /spawn, /tpa, kits, warps, economy</li>
</ul>
<h4>LuckPerms</h4>
<p>Advanced permission management system.</p>
<ul>
<li>Download: <a href="https://luckperms.net/" target="_blank">LuckPerms.net</a></li>
<li>Features: Groups, permissions, prefixes, web editor</li>
</ul>
<h4>WorldEdit & WorldGuard</h4>
<p>In-game world editing and region protection.</p>
<ul>
<li>Download: <a href="https://enginehub.org/" target="_blank">EngineHub.org</a></li>
<li>WorldEdit: Bulk editing, schematics</li>
<li>WorldGuard: Region protection, flags</li>
</ul>
<h4>Vault</h4>
<p>Economy and permission API bridge.</p>
<ul>
<li>Required by many plugins for economy/permissions</li>
<li>Download: <a href="https://www.spigotmc.org/resources/vault.34315/" target="_blank">SpigotMC</a></li>
</ul>
<h3>Installing Plugins</h3>
<pre><code># 1. Stop server
# 2. Download plugin .jar file
# 3. Place in plugins/ directory
cd plugins/
wget https://example.com/plugin.jar
# 4. Start server
# 5. Configure in plugins/PluginName/config.yml
</code></pre>
<h3>Popular Mods (Forge/Fabric)</h3>
<ul>
<li><strong>OptiFine:</strong> Graphics and performance optimization</li>
<li><strong>JourneyMap:</strong> In-game mapping</li>
<li><strong>Biomes O' Plenty:</strong> New biomes</li>
<li><strong>Applied Energistics 2:</strong> Storage and automation</li>
<li><strong>Tinkers' Construct:</strong> Tool customization</li>
</ul>
<h2 id="troubleshooting">Troubleshooting</h2>
<h3>Server Won't Start</h3>
<h4>Java Not Found</h4>
<pre><code># Check if Java is installed
java -version
# If not installed, install Java (Ubuntu/Debian)
sudo apt update
sudo apt install openjdk-17-jre-headless
</code></pre>
<h4>EULA Not Accepted</h4>
<pre><code># You must agree to Minecraft EULA
echo "eula=true" > eula.txt
</code></pre>
<h4>Port Already in Use</h4>
<pre><code># Check what's using port 25565
sudo lsof -i :25565
sudo netstat -tulpn | grep 25565
# Kill process or change server-port in server.properties
</code></pre>
<h4>Out of Memory</h4>
<pre><code># Increase allocated RAM
java -Xms4G -Xmx4G -jar minecraft_server.jar nogui
# Or reduce if system has limited RAM
java -Xms2G -Xmx2G -jar minecraft_server.jar nogui
</code></pre>
<h3>Connection Issues</h3>
<h4>Can't Connect to Server</h4>
<ol>
<li>Download plugins from <a href="https://www.spigotmc.org/resources/" target="_blank">SpigotMC</a> or <a href="https://hangar.papermc.io/" target="_blank">Hangar</a></li>
<li>Upload the <code>.jar</code> files to your server's <code>plugins</code> folder via FTP</li>
<li>Restart your server</li>
<li>Configure plugins in their respective config files in <code>plugins/[PluginName]/</code></li>
<li><strong>Check server is running:</strong> <code>ps aux | grep java</code></li>
<li><strong>Verify port is listening:</strong> <code>netstat -an | grep 25565</code></li>
<li><strong>Check firewall:</strong>
<pre><code># Ubuntu/Debian (UFW)
sudo ufw allow 25565/tcp
sudo ufw reload
# CentOS/RHEL (firewalld)
sudo firewall-cmd --permanent --add-port=25565/tcp
sudo firewall-cmd --reload
</code></pre>
</li>
<li><strong>Verify server IP:</strong> Use external IP, not 127.0.0.1</li>
<li><strong>Check online-mode:</strong> If cracked clients, set <code>online-mode=false</code></li>
</ol>
<h2>Common Issues</h2>
<h3>Players Can't Connect</h3>
<h4>Connection Timed Out</h4>
<ul>
<li>Verify the server is running in your control panel</li>
<li>Check that you're using the correct IP address and port</li>
<li>Ensure your firewall allows Minecraft traffic on port 25565</li>
<li>Router/NAT: Forward port 25565 to server</li>
<li>Cloud provider: Add inbound rule for port 25565</li>
<li>Server IP: Ensure <code>server-ip=</code> is blank or <code>0.0.0.0</code></li>
</ul>
<h3>Server Lag</h3>
<ul>
<li>Reduce view distance in <code>server.properties</code></li>
<li>Limit entity spawning with plugins like ClearLagg</li>
<li>Upgrade to a server with more RAM if needed</li>
<li>Use performance-optimized server software like Paper</li>
</ul>
<h3>Performance Issues</h3>
<h4>Server Lag/TPS Drop</h4>
<ol>
<li><strong>Check TPS:</strong> <code>/tps</code> or use Spark profiler</li>
<li><strong>Reduce view distance:</strong> Set <code>view-distance=6-8</code></li>
<li><strong>Reduce simulation distance:</strong> <code>simulation-distance=4-6</code></li>
<li><strong>Limit entities:</strong>
<pre><code># spigot.yml or paper.yml
entity-activation-range:
animals: 16
monsters: 24
misc: 8
</code></pre>
</li>
<li><strong>Use Paper:</strong> Better performance than Spigot/Vanilla</li>
<li><strong>Pregenerate world:</strong> Use Chunky plugin to pre-generate chunks</li>
</ol>
<h4>Memory Leaks</h4>
<pre><code># Monitor memory usage
free -h
top -p $(pgrep -f minecraft_server)
# Restart server regularly (daily/weekly) via cron
0 4 * * * /path/to/restart-script.sh
</code></pre>
<h3>World Corruption</h3>
<ol>
<li><strong>Stop server immediately</strong></li>
<li><strong>Backup world folder:</strong> <code>cp -r world/ world_backup/</code></li>
<li><strong>Use MCEdit or Amulet to repair:</strong> <a href="https://www.amuletmc.com/" target="_blank">AmuletMC.com</a></li>
<li><strong>Restore from backup if needed</strong></li>
<li><strong>Prevention:</strong> Always stop server properly, use backup plugins</li>
</ol>
<h3>Plugin Conflicts</h3>
<ol>
<li><strong>Check console for errors</strong></li>
<li><strong>Disable plugins one-by-one to isolate issue</strong></li>
<li><strong>Update all plugins to latest versions</strong></li>
<li><strong>Check plugin compatibility with server version</strong></li>
</ol>
<h2 id="performance">Performance Optimization</h2>
<h3>Server Configuration</h3>
<pre><code># server.properties
view-distance=8
simulation-distance=6
network-compression-threshold=256
entity-broadcast-range-percentage=100
</code></pre>
<h3>Paper Configuration</h3>
<p>Create/edit <code>paper.yml</code> or <code>config/paper-global.yml</code>:</p>
<pre><code>chunk-loading:
target-chunk-send-rate: 100.0
max-concurrent-sends: 2
async-chunks:
enable: true
threads: -1
entity-activation-range:
animals: 16
monsters: 24
raiders: 48
misc: 8
water: 8
villagers: 16
flying-monsters: 48
tick-rates:
sensor:
villager:
secondarypoisensor: 80
behavior:
villager:
validatenearbypoi: 60
</code></pre>
<h3>Pregenerate World</h3>
<p>Use Chunky plugin to pre-generate chunks:</p>
<pre><code># Install Chunky plugin
# In-game or console:
/chunky radius 5000
/chunky world world
/chunky start
# Let it complete before opening server to players
</code></pre>
<h3>Backup Strategy</h3>
<pre><code>#!/bin/bash
# backup.sh - Run via cron
DATE=$(date +%Y%m%d_%H%M%S)
BACKUP_DIR="/backups/minecraft"
SERVER_DIR="/home/minecraft/server"
# Create backup
tar -czf $BACKUP_DIR/world_$DATE.tar.gz -C $SERVER_DIR world/
# Keep only last 7 days
find $BACKUP_DIR -name "world_*.tar.gz" -mtime +7 -delete
</code></pre>
<h2 id="security">Security Best Practices</h2>
<h3>Firewall Configuration</h3>
<pre><code># Only allow Minecraft port
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow 25565/tcp
sudo ufw allow 22/tcp # SSH
sudo ufw enable
</code></pre>
<h3>Whitelist</h3>
<pre><code># Enable whitelist in server.properties
white-list=true
# Add players in-game or console
/whitelist add PlayerName
/whitelist on
</code></pre>
<h3>RCON Security</h3>
<pre><code># If using RCON, use strong password
enable-rcon=true
rcon.password=Use_A_Very_Strong_Random_Password_Here
rcon.port=25575
# Bind to localhost only if possible
rcon.ip=127.0.0.1
</code></pre>
<h3>Regular Updates</h3>
<ul>
<li>Always make regular backups of your world folder</li>
<li>Stop the server properly before making changes</li>
<li>Use world management plugins to prevent corruption</li>
<li>Keep server software updated</li>
<li>Update plugins regularly</li>
<li>Monitor security advisories</li>
<li>Test updates on staging server first</li>
</ul>
<h2>Recommended Plugins</h2>
<h3>DDoS Protection</h3>
<ul>
<li><strong>EssentialsX</strong> - Core commands and features</li>
<li><strong>WorldEdit</strong> - In-game world editing</li>
<li><strong>LuckPerms</strong> - Advanced permission management</li>
<li><strong>Vault</strong> - Economy and permissions API</li>
<li><strong>WorldGuard</strong> - Region protection</li>
<li>Use TCP SYN cookies: <code>echo 1 > /proc/sys/net/ipv4/tcp_syncookies</code></li>
<li>Consider DDoS protection service (Cloudflare Spectrum, OVH Game, etc.)</li>
<li>Use BungeeCord/Velocity proxy for multiple servers</li>
<li>Implement rate limiting with iptables/fail2ban</li>
</ul>
<h2>Further Resources</h2>
<h2>Additional Resources</h2>
<ul>
<li><a href="https://minecraft.fandom.com/wiki/Server.properties" target="_blank">Minecraft Wiki - Server Properties</a></li>
<li><a href="https://www.spigotmc.org/" target="_blank">SpigotMC Community</a></li>
<li><a href="https://papermc.io/" target="_blank">PaperMC Official Site</a></li>
<li><a href="https://minecraft.fandom.com/wiki/Server.properties" target="_blank">Minecraft Wiki - Server.properties</a></li>
<li><a href="https://www.spigotmc.org/" target="_blank">SpigotMC Forums & Resources</a></li>
<li><a href="https://papermc.io/downloads" target="_blank">Paper Downloads & Documentation</a></li>
<li><a href="https://aikar.co/mcflags.html" target="_blank">Aikar's JVM Flags</a></li>
<li><a href="https://docs.papermc.io/" target="_blank">Paper Documentation</a></li>
<li><a href="https://github.com/YouHaveTrouble/minecraft-optimization" target="_blank">Minecraft Server Optimization Guide</a></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; margin: 0;">
<li>Always accept Mojang's EULA before running a server</li>
<li>Make regular backups of your world data</li>
<li>Keep server software and plugins updated</li>
<li>Monitor server resources (CPU, RAM, disk)</li>
<li>Join Minecraft server admin communities for support</li>
</ul>
</div>
<p style="text-align: center; margin-top: 30px; color: #666;">
<em>Last updated: November 2024 | For Minecraft Java Edition 1.20+</em>
</p>

View file

@ -0,0 +1,91 @@
<?php
/**
* Minecraft Server Documentation
*/
?>
<h1>Minecraft Server Guide</h1>
<h2>Overview</h2>
<p>Minecraft is one of the most popular sandbox games in the world. This guide will help you set up and manage your Minecraft Java Edition server.</p>
<h2>Getting Started</h2>
<p>Once your Minecraft server is provisioned, you can connect to it using the server IP and port provided in your account dashboard.</p>
<h3>Server Details</h3>
<ul>
<li><strong>Default Port:</strong> 25565</li>
<li><strong>Protocol:</strong> TCP/UDP</li>
<li><strong>Supported Versions:</strong> 1.8 - Latest</li>
</ul>
<h2>Configuration</h2>
<p>You can customize your server using the <code>server.properties</code> file. Common settings include:</p>
<h3>Server Properties</h3>
<pre><code># Server name
motd=Welcome to My Minecraft Server
# Game mode (survival, creative, adventure, spectator)
gamemode=survival
# Difficulty (peaceful, easy, normal, hard)
difficulty=normal
# Maximum players
max-players=20
# Enable PvP
pvp=true
# View distance (in chunks)
view-distance=10
</code></pre>
<h2>Installing Plugins</h2>
<p>To add plugins to your server, you'll need to use a modified server like Spigot or Paper:</p>
<ol>
<li>Download plugins from <a href="https://www.spigotmc.org/resources/" target="_blank">SpigotMC</a> or <a href="https://hangar.papermc.io/" target="_blank">Hangar</a></li>
<li>Upload the <code>.jar</code> files to your server's <code>plugins</code> folder via FTP</li>
<li>Restart your server</li>
<li>Configure plugins in their respective config files in <code>plugins/[PluginName]/</code></li>
</ol>
<h2>Common Issues</h2>
<h3>Players Can't Connect</h3>
<ul>
<li>Verify the server is running in your control panel</li>
<li>Check that you're using the correct IP address and port</li>
<li>Ensure your firewall allows Minecraft traffic on port 25565</li>
</ul>
<h3>Server Lag</h3>
<ul>
<li>Reduce view distance in <code>server.properties</code></li>
<li>Limit entity spawning with plugins like ClearLagg</li>
<li>Upgrade to a server with more RAM if needed</li>
<li>Use performance-optimized server software like Paper</li>
</ul>
<h3>World Corruption</h3>
<ul>
<li>Always make regular backups of your world folder</li>
<li>Stop the server properly before making changes</li>
<li>Use world management plugins to prevent corruption</li>
</ul>
<h2>Recommended Plugins</h2>
<ul>
<li><strong>EssentialsX</strong> - Core commands and features</li>
<li><strong>WorldEdit</strong> - In-game world editing</li>
<li><strong>LuckPerms</strong> - Advanced permission management</li>
<li><strong>Vault</strong> - Economy and permissions API</li>
<li><strong>WorldGuard</strong> - Region protection</li>
</ul>
<h2>Further Resources</h2>
<ul>
<li><a href="https://minecraft.fandom.com/wiki/Server.properties" target="_blank">Minecraft Wiki - Server Properties</a></li>
<li><a href="https://www.spigotmc.org/" target="_blank">SpigotMC Community</a></li>
<li><a href="https://papermc.io/" target="_blank">PaperMC Official Site</a></li>
</ul>