As a man or woman stranded, naked, freezing, and starving on the unforgiving shores of a mysterious island called ARK, use your skill and cunning to kill or tame and ride the plethora of leviathan dinosaurs and other primeval creatures roaming the land. Hunt, harvest resources, craft items, grow crops, research technologies, and build shelters to withstand the elements and store valuables, all while teaming up with (or preying upon) hundreds of other players to survive, dominate... and escape! — Gamepedia: ARK
Steam Description : As a man or woman stranded naked, freezing and starving on the shores of a mysterious island called ARK, you must hunt, harvest resources, craft items, grow crops, research technologies, and build shelters to withstand the elements. Use your cunning and resources to kill or tame & breed the leviathan dinosaurs and other primeval creatures roaming the land, and team up with or prey on hundreds of other players to survive, dominate... and escape!
This server requires about 4096M to run with no players on a default map. Although it is recommended to run 6144M by the ARK creators, specific DLC maps will increase this requirement, such as Genesis 2 requiring over 13,440M to start.
See the following - https://ark.gamepedia.com/Dedicated_Server_Setup#Hardware
The server requires a local RCON connection to function. You will see RCON connection refused messages until the server has successfully started and connects to the RCON, which can take anywhere from 10 to 20 minutes. The RCON Port is only required for external RCON connections.
Port | Default |
---|---|
Game | 7777 |
Raw UDP | 7778 |
Query | 27015 |
RCON (optional) | 27020 |
Name | Tag |
---|---|
ghcr.io/ptero-eggs/games:source | ghcr.io/ptero-eggs/games:source |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Server Password | If specified, players must provide this password to join the server. | ARK_PASSWORD | Yes | Yes | |
Admin Password | If specified, players must provide this password (via the in-game console) to gain access to administrator commands on the server. | ARK_ADMIN_PASSWORD | PleaseChangeMe | Yes | Yes |
Server Map | Available Maps: TheIsland, TheCenter, Ragnarok, ScorchedEarth_P, Aberration_P, Extinction, Valguero_P, Genesis, CrystalIsles, Gen2, Fjordur | SERVER_MAP | TheIsland | Yes | Yes |
Server Name | ARK server name | SESSION_NAME | A Pterodactyl Hosted ARK Server | Yes | Yes |
Rcon Port | ARK rcon port used by rcon tools. | RCON_PORT | 27020 | Yes | Yes |
Query Port | ARK query port used by steam server browser and ark client server browser. | QUERY_PORT | 27015 | Yes | Yes |
Auto-update server | This is to enable auto-updating for servers. Default is 0. Set to 1 to update | AUTO_UPDATE | 0 | Yes | Yes |
Battle Eye | Enable BattleEye 0 to disable 1 to enable default="1" | BATTLE_EYE | 1 | Yes | Yes |
App ID | ARK steam app id for auto updates. Leave blank to avoid auto update. | SRCDS_APPID | 376030 | Yes | No |
Additional Arguments | Specify additional launch parameters such as -crossplay. You must include a dash - and separate each parameter with space: -crossplay -exclusivejoin | ARGS | Yes | Yes | |
Mods | Specifies the order and which mods are loaded. ModIDs need to be comma-separated such as: ModID1,ModID2 | MOD_ID | Yes | Yes | |
Max Players | Specifies the maximum amount of players able to join the server. | MAX_PLAYERS | 12 | Yes | Yes |
#!/bin/bash
# steamcmd Base Installation Script
#
# Server Files: /mnt/server
# Image to install with is 'ubuntu:18.04'
apt -y update
apt -y --no-install-recommends --no-install-suggests install curl lib32gcc-s1 ca-certificates
## just in case someone removed the defaults.
if [ "${STEAM_USER}" == "" ]; then
STEAM_USER=anonymous
STEAM_PASS=""
STEAM_AUTH=""
fi
## download and install steamcmd
cd /tmp
mkdir -p /mnt/server/steamcmd
curl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
mkdir -p /mnt/server/Engine/Binaries/ThirdParty/SteamCMD/Linux
tar -xzvf steamcmd.tar.gz -C /mnt/server/Engine/Binaries/ThirdParty/SteamCMD/Linux
mkdir -p /mnt/server/steamapps # Fix steamcmd disk write error when this folder is missing
cd /mnt/server/steamcmd
# SteamCMD fails otherwise for some reason, even running as root.
# This is changed at the end of the install process anyways.
chown -R root:root /mnt
export HOME=/mnt/server
## install game using steamcmd
./steamcmd.sh +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} +force_install_dir /mnt/server +app_update ${SRCDS_APPID} ${EXTRA_FLAGS} +quit ## other flags may be needed depending on install. looking at you cs 1.6
## set up 32 bit libraries
mkdir -p /mnt/server/.steam/sdk32
cp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so
## set up 64 bit libraries
mkdir -p /mnt/server/.steam/sdk64
cp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so
## create a symbolic link for loading mods
cd /mnt/server/Engine/Binaries/ThirdParty/SteamCMD/Linux
ln -sf ../../../../../Steam/steamapps steamapps
cd /mnt/server