From 4235b6c9ee64ac2312e985aa5f39d2078567b610 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 9 Nov 2025 21:01:31 +0000 Subject: [PATCH] Enhanced documentation for Valheim and ARK servers with comprehensive guides Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com> --- modules/billing/docs/arkse/index.php | 326 +++++++++++++++++++---- modules/billing/docs/valheim/index.php | 348 +++++++++++++++++++++---- 2 files changed, 584 insertions(+), 90 deletions(-) diff --git a/modules/billing/docs/arkse/index.php b/modules/billing/docs/arkse/index.php index fb39a264..7ea7292c 100644 --- a/modules/billing/docs/arkse/index.php +++ b/modules/billing/docs/arkse/index.php @@ -1,68 +1,304 @@ -
ARK:SE is available for hosting on our platform. This guide covers the basics of setting up and managing your ARK:SE server.
-7777- 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. -
+To create a ARK:SE server:
-After your server is created, you can configure it through the control panel:
+ARK: Survival Evolved is a survival game where players must survive being stranded on an island filled with dinosaurs and other prehistoric animals, natural hazards, and potentially hostile human players. This comprehensive guide covers hosting an ARK: Survival Evolved dedicated server on a VPS or dedicated server.
+ +7777 (UDP)7778 (UDP)27015 (UDP)27020 (TCP, optional)# Install SteamCMD first
+# Windows: Download from https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
+# Linux:
+sudo apt update
+sudo apt install lib32gcc1 steamcmd
-Starting Your Server
-Servers are automatically started after creation. You can stop/start your server from the control panel.
+# Create server directory
+mkdir -p ~/arkserver
+cd ~/arkserver
-Connecting to Your Server
-Use your server's IP address and port to connect from the game client.
+# Download server files
+steamcmd +login anonymous +force_install_dir ~/arkserver +app_update 346110 validate +exit
-Managing Files
-Access your server files via FTP using the credentials provided in your control panel.
+# This will download approximately 20GB of files
+
-If you need assistance with your ARK:SE server:
+Create ServerStart.bat in ShooterGame\Binaries\Win64\:
@echo off
+start ShooterGameServer.exe "TheIsland?SessionName=MyARKServer?QueryPort=27015?ServerPassword=YOURPASSWORD?ServerAdminPassword=ADMINPASS?listen?Port=7777?MaxPlayers=20"
+exit
+
+
+#!/bin/bash
+cd ~/arkserver/ShooterGame/Binaries/Linux
+./ShooterGameServer TheIsland?listen?SessionName=MyARKServer?ServerPassword=YOURPASSWORD?ServerAdminPassword=ADMINPASS?QueryPort=27015?Port=7777?MaxPlayers=20 > ~/arkserver.log 2>&1 &
+
+
+Windows:
+ShooterGame\Saved\Config\WindowsServer\GameUserSettings.ini
+ShooterGame\Saved\Config\WindowsServer\Game.ini
+
+
+Linux:
+ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini
+ShooterGame/Saved/Config/LinuxServer/Game.ini
+
+
+[ServerSettings]
+ServerPassword=YourServerPassword
+ServerAdminPassword=YourAdminPassword
+ServerName=My ARK Server
+MaxPlayers=20
+DifficultyOffset=1.0
+ServerPVE=False
+AllowThirdPersonPlayer=True
+ShowMapPlayerLocation=True
+EnablePVPGamma=True
+ServerCrosshair=True
+RCONEnabled=True
+RCONPort=27020
+TheMaxStructuresInRange=10500
+
+# XP and Progression
+XPMultiplier=1.5
+TamingSpeedMultiplier=3.0
+HarvestAmountMultiplier=2.0
+HarvestHealthMultiplier=1.5
+ResourcesRespawnPeriodMultiplier=0.5
+
+# Player Stats
+PlayerCharacterWaterDrainMultiplier=1.0
+PlayerCharacterFoodDrainMultiplier=1.0
+PlayerCharacterStaminaDrainMultiplier=1.0
+PlayerCharacterHealthRecoveryMultiplier=1.0
+PlayerDamageMultiplier=1.0
+PlayerResistanceMultiplier=1.0
+
+# Dino Settings
+DinoCharacterFoodDrainMultiplier=1.0
+DinoCharacterStaminaDrainMultiplier=1.0
+DinoCharacterHealthRecoveryMultiplier=1.0
+DinoCountMultiplier=1.0
+DinoResistanceMultiplier=1.0
+DinoDamageMultiplier=1.0
+
+
+Replace the map name in your startup command:
TheIsland - Original ARK mapTheCenter - Free expansion mapRagnarok - Free expansion mapValguero - Free expansion mapCrystalIsles - Free expansion mapScorchedEarth_P - Paid DLCAberration_P - Paid DLCExtinction - Paid DLCGenesis - Paid DLC| Parameter | +Description | +
|---|---|
?SessionName=NAME |
+ Server name displayed in browser | +
?Port=7777 |
+ Game port (default 7777) | +
?QueryPort=27015 |
+ Steam query port | +
?ServerPassword=PASS |
+ Password to join server | +
?ServerAdminPassword=PASS |
+ Admin password for console | +
?MaxPlayers=20 |
+ Maximum player slots | +
?ServerPVE=true |
+ Enable PVE mode | +
?AllowThirdPersonPlayer=true |
+ Allow third-person view | +
?listen |
+ Required for dedicated server | +
# Forward these ports on your router/firewall:
+UDP 7777 - Game Client Port
+UDP 7778 - Raw UDP Socket
+UDP 27015 - Steam Query Port
+TCP 27020 - RCON (if enabled)
+
+# Linux firewall (UFW):
+sudo ufw allow 7777:7778/udp
+sudo ufw allow 27015/udp
+sudo ufw allow 27020/tcp
+sudo ufw reload
+
+
+Problem: Server fails to start or crashes immediately.
+Solutions:
+ShooterGame/Saved/Logs/steamcmd +login anonymous +app_update 346110 validate +exitchmod +x on server executable)Problem: Players cannot connect or server not visible in browser.
+Solutions:
+Problem: Server uses excessive resources or experiences lag.
+Solutions:
+Problem: Mods not loading or causing crashes.
+Solutions:
+ActiveMods=modid1,modid2Enable admin: Press TAB, type enablecheats ADMINPASSWORD
SaveWorld - Force save the gameDestroyWildDinos - Respawn all wild dinosaursSetTimeOfDay HH:MM:SS - Set time of dayadmincheat KillPlayer PLAYERNAME - Kill a playeradmincheat BanPlayer PLAYERNAME - Ban a playeradmincheat Broadcast MESSAGE - Server-wide message# Backup save files regularly
+# Location: ShooterGame/Saved/SavedArks/
+
+# Linux backup script:
+#!/bin/bash
+BACKUP_DIR="/path/to/backups"
+DATE=$(date +%Y%m%d_%H%M%S)
+cd ~/arkserver/ShooterGame/Saved
+tar -czf $BACKUP_DIR/ark_backup_$DATE.tar.gz SavedArks/
+# Keep only last 7 days
+find $BACKUP_DIR -name "ark_backup_*.tar.gz" -mtime +7 -delete
+
+
+Valheim is available for hosting on our platform. This guide covers the basics of setting up and managing your Valheim server.
-2456- 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. -
+To create a Valheim server:
-After your server is created, you can configure it through the control panel:
+Valheim is a brutal survival and exploration game for 1-10 players set in a procedurally-generated purgatory inspired by Viking culture. This comprehensive guide covers everything you need to know about hosting a Valheim dedicated server on a VPS or dedicated server.
+ +2456-2458 (UDP)1. Open Steam and go to your Library
+2. Use the dropdown menu and check "Tools"
+3. Locate "Valheim Dedicated Server" in the list
+4. Click "Install" and choose installation directory
+5. Wait for download to complete
+
-Servers are automatically started after creation. You can stop/start your server from the control panel.
+# Install SteamCMD first (if not already installed)
+# Ubuntu/Debian:
+sudo apt update
+sudo apt install steamcmd
-Connecting to Your Server
-Use your server's IP address and port to connect from the game client.
+# Create server directory
+mkdir -p ~/valheim-server
+cd ~/valheim-server
-Managing Files
-Access your server files via FTP using the credentials provided in your control panel.
+# Download server files
+steamcmd +login anonymous +force_install_dir ~/valheim-server +app_update 896660 validate +exit
-Support
-If you need assistance with your Valheim server:
+# The server files will be downloaded to your specified directory
+
+
+Before starting your server for the first time, you'll need to configure the startup parameters.
+ +Valheim uses startup scripts to configure the server. Edit the appropriate file for your OS:
+ +@echo off
+set SteamAppId=892970
+valheim_server.exe -nographics -batchmode ^
+ -name "MyValheimServer" ^
+ -port 2456 ^
+ -world "MyWorld" ^
+ -password "MyPassword123" ^
+ -public 1
+
+
+#!/bin/bash
+export SteamAppId=892970
+
+./valheim_server.x86_64 -nographics -batchmode \
+ -name "MyValheimServer" \
+ -port 2456 \
+ -world "MyWorld" \
+ -password "MyPassword123" \
+ -public 1 \
+ -logfile /path/to/valheim.log
+
+
+Create these files in the server directory to manage administrators, bans, and whitelists:
+ +# Add Steam64 IDs (one per line)
+76561198012345678
+76561198087654321
+
+
+# Add Steam64 IDs of banned players
+76561198099999999
+
+
+# For whitelist mode - only these IDs can join
+76561198012345678
+76561198087654321
+
+
+| Parameter | +Description | +Example | +
|---|---|---|
-name |
+ Server name (appears in browser) | +"My Valheim Server" | +
-port |
+ Server port (default 2456) | +2456 | +
-world |
+ World/save name | +"Midgard" | +
-password |
+ Server password (required) | +"SecurePass123" | +
-public |
+ 1=Public listing, 0=Private | +1 | +
-savedir |
+ Custom save directory path | +"/path/to/saves" | +
-logfile |
+ Path to log file | +"/var/log/valheim.log" | +
-nographics |
+ Run headless (no GUI) | +Required for dedicated servers | +
-batchmode |
+ Run in batch mode | +Required for dedicated servers | +
You must forward/open the following ports on your firewall:
# Allow Valheim ports
+sudo ufw allow 2456:2458/udp
+sudo ufw reload
+
+
+# Open Windows Defender Firewall with Advanced Security
+# Create new Inbound Rules for UDP ports 2456-2458
+# Or use PowerShell:
+New-NetFirewallRule -DisplayName "Valheim Server" -Direction Inbound -Protocol UDP -LocalPort 2456-2458 -Action Allow
+
+
+Problem: Server fails to start or crashes immediately.
+Solutions:
+chmod +x start_server.sh)Problem: Server doesn't show up in the in-game server list.
+Solutions:
+-public 1 is set in startup parametersProblem: Players cannot connect to the server.
+Solutions:
+Problem: Server experiences lag, stuttering, or poor performance.
+Solutions:
+Problem: World save is corrupted or progress is lost.
+Solutions:
+# Linux backup script example
+#!/bin/bash
+WORLD_NAME="MyWorld"
+BACKUP_DIR="/path/to/backups"
+DATE=$(date +%Y%m%d_%H%M%S)
+
+# Create backup
+cp ~/.config/unity3d/IronGate/Valheim/worlds/$WORLD_NAME.* $BACKUP_DIR/
+
+# Keep only last 7 days of backups
+find $BACKUP_DIR -name "*.fwl" -mtime +7 -delete
+find $BACKUP_DIR -name "*.db" -mtime +7 -delete
+
+
+Set up daily restarts to clear memory and apply updates:
+# Linux crontab entry for 4 AM restart
+0 4 * * * /path/to/restart_valheim.sh
+
+# restart_valheim.sh:
+#!/bin/bash
+pkill -9 valheim_server
+sleep 10
+cd /home/valheim/server
+./start_server.sh &
+
+
+Enable console with -console parameter, press F5 in-game:
devcommands - Enable admin commandskick [player name] - Kick a playerban [player name] - Ban a playerunban [player name] - Unban a playersave - Force save the worldresetskill [skill] - Reset player skill level