diff --git a/modules/billing/docs/csgo/index.php b/modules/billing/docs/csgo/index.php index f5481420..5ed2fa09 100644 --- a/modules/billing/docs/csgo/index.php +++ b/modules/billing/docs/csgo/index.php @@ -1,67 +1,584 @@ -
Counter Strike Global Offensive 128tick is available for hosting on our platform. This guide covers the basics of setting up and managing your Counter Strike Global Offensive 128tick server.
+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.
+Note: 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.
+ +Not specifiedNot specified27015 (UDP)csgo/logs/ or cs2/logs/server.cfgsrcds_run (Linux) or srcds.exe (Windows)To create a Counter Strike Global Offensive 128tick server:
-After your server is created, you can configure it through the control panel:
+Servers are automatically started after creation. You can stop/start your server from the control panel.
- -Use your server's IP address and port to connect from the game client.
- -Access your server files via FTP using the credentials provided in your control panel.
- -If you need assistance with your Counter Strike Global Offensive 128tick server:
+# 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
+
+
+Download SteamCMD from: SteamCMD for Windows
+ +# 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
+
+
+# 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
+
+
+Create csgo/cfg/server.cfg or cs2/cfg/server.cfg:
// 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
+
+
+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
+
+
+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
+
+
+List maps to rotate through:
+de_dust2
+de_mirage
+de_inferno
+de_nuke
+de_overpass
+de_vertigo
+de_ancient
+de_anubis
+
+
+#!/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
+
+
+#!/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
+
+
+@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
+
+
+-game csgo - Specify game (CS:GO only, not needed for CS2)-console - Enable server console-usercon - Enable user console input+ip 0.0.0.0 - Bind to all network interfaces+game_type 0 - Classic game type+game_mode 1 - Competitive mode (0=casual, 1=competitive, 2=wingman)+mapgroup mg_active - Map group (active duty maps)+map de_dust2 - Starting map-port 27015 - Server port-tickrate 128 - Server tickrate (64 or 128, CS:GO only)+maxplayers 10 - Maximum players+sv_setsteamaccount TOKEN - Game Server Login Token (GSLT)Required for public servers to appear in server browser!
+The standard plugin framework for Source engine servers.
+ +# 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
+
+ # Edit addons/sourcemod/configs/admins_simple.ini
+"STEAM_0:1:12345678" "99:z" // Your Steam ID
+
+ For practicing smokes, flashes, and aim.
+Competitive match plugin with knife rounds, veto, and more.
+Retake game mode - defenders defend bombsite, attackers retake.
+Player ranking and statistics system.
+Built into SourceMod. Access with !admin or sm_admin in chat.
# In server.cfg or startup parameters
+host_workshop_collection 123456789 // Workshop collection ID
+workshop_start_map 123456789 // Workshop map ID
+
+
+# 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
+
+
+# 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 ...
+
+
++sv_setsteamaccount YOUR_TOKENsv_lan 0 in server.cfgsudo ufw allow 27015/udp
+sudo ufw allow 27015/tcp
+sudo ufw allow 27020/udp # SourceTV
+
+ connect your.server.ip:27015top or htopsv_minrate 128000
+sv_maxrate 0 // unlimited
+
+ host_thread_mode 2
+
+ // Player client commands
+rate 786432
+cl_interp 0
+cl_interp_ratio 1
+cl_updaterate 128
+cl_cmdrate 128
+
+
+./steamcmd.sh
+login anonymous
+force_install_dir /path/to/csgo-server
+app_update 740 validate
+quit
+
+ sv_use_steam_voice 1
+sv_voiceenable 1
+
+ voice_loopback 1 // Hear yourself (testing)
+
+ +game_type 0 +game_mode 1 -tickrate 128 +maxplayers 10
+exec gamemode_competitive.cfg
+
+
++game_type 0 +game_mode 0 +maxplayers 20
+exec gamemode_casual.cfg
+
+
++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
+
+
++game_type 1 +game_mode 0 +maxplayers 12
+mp_ggprogressive_round_restart_delay 3
+mp_timelimit 20
+mp_maxrounds 3
+
+
++game_type 0 +game_mode 2 +maxplayers 4
+exec gamemode_competitive.cfg
+mp_maxrounds 16
+mp_overtime_maxrounds 4
+
+
+Download surf maps and configure:
+sv_airaccelerate 150
+sv_staminajumpcost 0
+sv_staminalandcost 0
+sv_accelerate 10
+sv_friction 4
+
+
+sv_enablebunnyhopping 1
+sv_autobunnyhopping 1
+sv_airaccelerate 1000
+sv_staminajumpcost 0
+sv_staminalandcost 0
+
+
+Use arena plugin and configure multiple arenas on one map.
+ +# Bind server to specific CPU cores
+taskset -c 0,1,2,3 ./srcds_run -game csgo ...
+
+
+# Run with higher priority
+nice -n -10 ./srcds_run -game csgo ...
+
+
+# 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"
+
+
+#!/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 ...
+
+
++ Last updated: November 2024 | Covers CS:GO & CS2 +
diff --git a/modules/billing/docs/csgo/index_old.php b/modules/billing/docs/csgo/index_old.php new file mode 100644 index 00000000..f5481420 --- /dev/null +++ b/modules/billing/docs/csgo/index_old.php @@ -0,0 +1,67 @@ + +Counter Strike Global Offensive 128tick is available for hosting on our platform. This guide covers the basics of setting up and managing your Counter Strike Global Offensive 128tick server.
+ +Not specifiedNot specifiedTo create a Counter Strike Global Offensive 128tick server:
+After your server is created, you can configure it through the control panel:
+Servers are automatically started after creation. You can stop/start your server from the control panel.
+ +Use your server's IP address and port to connect from the game client.
+ +Access your server files via FTP using the credentials provided in your control panel.
+ +If you need assistance with your Counter Strike Global Offensive 128tick server:
+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.
+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.
-Once your Minecraft server is provisioned, you can connect to it using the server IP and port provided in your account dashboard.
+25565 (TCP)logs/latest.logserver.propertieseula.txt (must set eula=true)You can customize your server using the server.properties file. Common settings include:
Minecraft requires Java to run. Install the appropriate version:
+# Ubuntu/Debian - Java 17 (for MC 1.17+)
+sudo apt update
+sudo apt install openjdk-17-jre-headless
-Server Properties
-# 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
-Installing Plugins
-To add plugins to your server, you'll need to use a modified server like Spigot or Paper:
+Downloading Server Files
+Download the official Minecraft server from Minecraft.net:
+# 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
+
+
+First-Time Setup
+# 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
+
+
+Server Configuration
+
+server.properties - Essential Settings
+The server.properties file controls all server behavior:
+# 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=
+
+
+ops.json - Server Operators
+Grant admin privileges to players:
+[
+ {
+ "uuid": "player-uuid-here",
+ "name": "PlayerName",
+ "level": 4,
+ "bypassesPlayerLimit": true
+ }
+]
+
+Permission levels: 1 (bypass spawn protection), 2 (use cheat commands), 3 (kick/ban), 4 (full control)
+
+whitelist.json - Whitelist
+When white-list=true in server.properties:
+[
+ {
+ "uuid": "player-uuid-here",
+ "name": "PlayerName"
+ }
+]
+
+
+Startup Parameters & JVM Arguments
+
+Basic Startup Command
+java -Xmx4G -Xms4G -jar minecraft_server.jar nogui
+
+
+Recommended JVM Arguments (Aikar's Flags)
+Optimized for Minecraft server performance:
+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
+
+
+Parameter Breakdown
+
+ -Xms4G - Initial heap size (4GB)
+ -Xmx4G - Maximum heap size (4GB) - should match Xms
+ -XX:+UseG1GC - Use G1 Garbage Collector (best for MC)
+ -XX:+ParallelRefProcEnabled - Parallel reference processing
+ -XX:MaxGCPauseMillis=200 - Target max GC pause time
+ -XX:+UnlockExperimentalVMOptions - Enable experimental JVM options
+ -XX:+AlwaysPreTouch - Pre-touch memory pages on startup
+ nogui - Disable graphical interface (better performance)
+
+
+Creating a Start Script
+Linux (start.sh):
+#!/bin/bash
+java -Xms4G -Xmx4G -XX:+UseG1GC -jar minecraft_server.jar nogui
+
+chmod +x start.sh
+./start.sh
+
+
+Windows (start.bat):
+@echo off
+java -Xms4G -Xmx4G -XX:+UseG1GC -jar minecraft_server.jar nogui
+pause
+
+
+Plugins, Mods & Server Software
+
+Server Software Options
+
+1. Vanilla
+
+ - Official Mojang server
+ - No plugin/mod support
+ - Best for pure vanilla experience
+ - Download: Minecraft.net
+
+
+2. Spigot
+
+ - Popular plugin platform
+ - Better performance than vanilla
+ - Large plugin ecosystem
+ - Download: SpigotMC.org
+ - Build with BuildTools or download pre-built
+
+
+3. Paper (Recommended)
+
+ - Fork of Spigot with major performance improvements
+ - Compatible with most Spigot plugins
+ - Additional bug fixes and features
+ - Download: PaperMC.io
+
+
+4. Forge
+
+ - Mod platform (not plugins)
+ - Required for most mods
+ - Download: MinecraftForge.net
+
+
+5. Fabric
+
+ - Lightweight mod platform
+ - Faster updates than Forge
+ - Download: FabricMC.net
+
+
+Essential Plugins (Spigot/Paper)
+
+EssentialsX
+Core commands and utilities for server management.
+
+ - Download: EssentialsX.net
+ - Features: /home, /spawn, /tpa, kits, warps, economy
+
+
+LuckPerms
+Advanced permission management system.
+
+ - Download: LuckPerms.net
+ - Features: Groups, permissions, prefixes, web editor
+
+
+WorldEdit & WorldGuard
+In-game world editing and region protection.
+
+ - Download: EngineHub.org
+ - WorldEdit: Bulk editing, schematics
+ - WorldGuard: Region protection, flags
+
+
+Vault
+Economy and permission API bridge.
+
+ - Required by many plugins for economy/permissions
+ - Download: SpigotMC
+
+
+Installing Plugins
+# 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
+
+
+Popular Mods (Forge/Fabric)
+
+ - OptiFine: Graphics and performance optimization
+ - JourneyMap: In-game mapping
+ - Biomes O' Plenty: New biomes
+ - Applied Energistics 2: Storage and automation
+ - Tinkers' Construct: Tool customization
+
+
+Troubleshooting
+
+Server Won't Start
+
+Java Not Found
+# Check if Java is installed
+java -version
+
+# If not installed, install Java (Ubuntu/Debian)
+sudo apt update
+sudo apt install openjdk-17-jre-headless
+
+
+EULA Not Accepted
+# You must agree to Minecraft EULA
+echo "eula=true" > eula.txt
+
+
+Port Already in Use
+# Check what's using port 25565
+sudo lsof -i :25565
+sudo netstat -tulpn | grep 25565
+
+# Kill process or change server-port in server.properties
+
+
+Out of Memory
+# 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
+
+
+Connection Issues
+
+Can't Connect to Server
- - Download plugins from SpigotMC or Hangar
- - Upload the
.jar files to your server's plugins folder via FTP
- - Restart your server
- - Configure plugins in their respective config files in
plugins/[PluginName]/
+ - Check server is running:
ps aux | grep java
+ - Verify port is listening:
netstat -an | grep 25565
+ - Check firewall:
+
# 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
+
+
+ - Verify server IP: Use external IP, not 127.0.0.1
+ - Check online-mode: If cracked clients, set
online-mode=false
-Common Issues
-
-Players Can't Connect
+Connection Timed Out
- - Verify the server is running in your control panel
- - Check that you're using the correct IP address and port
- - Ensure your firewall allows Minecraft traffic on port 25565
+ - Router/NAT: Forward port 25565 to server
+ - Cloud provider: Add inbound rule for port 25565
+ - Server IP: Ensure
server-ip= is blank or 0.0.0.0
-Server Lag
-
- - Reduce view distance in
server.properties
- - Limit entity spawning with plugins like ClearLagg
- - Upgrade to a server with more RAM if needed
- - Use performance-optimized server software like Paper
-
+Performance Issues
+
+Server Lag/TPS Drop
+
+ - Check TPS:
/tps or use Spark profiler
+ - Reduce view distance: Set
view-distance=6-8
+ - Reduce simulation distance:
simulation-distance=4-6
+ - Limit entities:
+
# spigot.yml or paper.yml
+entity-activation-range:
+ animals: 16
+ monsters: 24
+ misc: 8
+
+
+ - Use Paper: Better performance than Spigot/Vanilla
+ - Pregenerate world: Use Chunky plugin to pre-generate chunks
+
+
+Memory Leaks
+# 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
+
World Corruption
+
+ - Stop server immediately
+ - Backup world folder:
cp -r world/ world_backup/
+ - Use MCEdit or Amulet to repair: AmuletMC.com
+ - Restore from backup if needed
+ - Prevention: Always stop server properly, use backup plugins
+
+
+Plugin Conflicts
+
+ - Check console for errors
+ - Disable plugins one-by-one to isolate issue
+ - Update all plugins to latest versions
+ - Check plugin compatibility with server version
+
+
+Performance Optimization
+
+Server Configuration
+# server.properties
+view-distance=8
+simulation-distance=6
+network-compression-threshold=256
+entity-broadcast-range-percentage=100
+
+
+Paper Configuration
+Create/edit paper.yml or config/paper-global.yml:
+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
+
+
+Pregenerate World
+Use Chunky plugin to pre-generate chunks:
+# Install Chunky plugin
+# In-game or console:
+/chunky radius 5000
+/chunky world world
+/chunky start
+
+# Let it complete before opening server to players
+
+
+Backup Strategy
+#!/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
+
+
+Security Best Practices
+
+Firewall Configuration
+# 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
+
+
+Whitelist
+# Enable whitelist in server.properties
+white-list=true
+
+# Add players in-game or console
+/whitelist add PlayerName
+/whitelist on
+
+
+RCON Security
+# 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
+
+
+Regular Updates
- - Always make regular backups of your world folder
- - Stop the server properly before making changes
- - Use world management plugins to prevent corruption
+ - Keep server software updated
+ - Update plugins regularly
+ - Monitor security advisories
+ - Test updates on staging server first
-Recommended Plugins
+DDoS Protection
- - EssentialsX - Core commands and features
- - WorldEdit - In-game world editing
- - LuckPerms - Advanced permission management
- - Vault - Economy and permissions API
- - WorldGuard - Region protection
+ - Use TCP SYN cookies:
echo 1 > /proc/sys/net/ipv4/tcp_syncookies
+ - Consider DDoS protection service (Cloudflare Spectrum, OVH Game, etc.)
+ - Use BungeeCord/Velocity proxy for multiple servers
+ - Implement rate limiting with iptables/fail2ban
-Further Resources
+Additional Resources
- - Minecraft Wiki - Server Properties
- - SpigotMC Community
- - PaperMC Official Site
+ - Minecraft Wiki - Server.properties
+ - SpigotMC Forums & Resources
+ - Paper Downloads & Documentation
+ - Aikar's JVM Flags
+ - Paper Documentation
+ - Minecraft Server Optimization Guide
+
+
+ Important Notes
+
+ - Always accept Mojang's EULA before running a server
+ - Make regular backups of your world data
+ - Keep server software and plugins updated
+ - Monitor server resources (CPU, RAM, disk)
+ - Join Minecraft server admin communities for support
+
+
+
+
+ Last updated: November 2024 | For Minecraft Java Edition 1.20+
+
diff --git a/modules/billing/docs/minecraft/index_old.php b/modules/billing/docs/minecraft/index_old.php
new file mode 100644
index 00000000..a409f087
--- /dev/null
+++ b/modules/billing/docs/minecraft/index_old.php
@@ -0,0 +1,91 @@
+
+Minecraft Server Guide
+
+Overview
+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.
+
+Getting Started
+Once your Minecraft server is provisioned, you can connect to it using the server IP and port provided in your account dashboard.
+
+Server Details
+
+ - Default Port: 25565
+ - Protocol: TCP/UDP
+ - Supported Versions: 1.8 - Latest
+
+
+Configuration
+You can customize your server using the server.properties file. Common settings include:
+
+Server Properties
+# 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
+
+
+Installing Plugins
+To add plugins to your server, you'll need to use a modified server like Spigot or Paper:
+
+ - Download plugins from SpigotMC or Hangar
+ - Upload the
.jar files to your server's plugins folder via FTP
+ - Restart your server
+ - Configure plugins in their respective config files in
plugins/[PluginName]/
+
+
+Common Issues
+
+Players Can't Connect
+
+ - Verify the server is running in your control panel
+ - Check that you're using the correct IP address and port
+ - Ensure your firewall allows Minecraft traffic on port 25565
+
+
+Server Lag
+
+ - Reduce view distance in
server.properties
+ - Limit entity spawning with plugins like ClearLagg
+ - Upgrade to a server with more RAM if needed
+ - Use performance-optimized server software like Paper
+
+
+World Corruption
+
+ - Always make regular backups of your world folder
+ - Stop the server properly before making changes
+ - Use world management plugins to prevent corruption
+
+
+Recommended Plugins
+
+ - EssentialsX - Core commands and features
+ - WorldEdit - In-game world editing
+ - LuckPerms - Advanced permission management
+ - Vault - Economy and permissions API
+ - WorldGuard - Region protection
+
+
+Further Resources
+