Back to Templates
Pterodactyl EggSurvival

Ark: Survival Evolved

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...

v1
1/13/2026

Startup Command

#!/bin/bashBash shell with full features

Default

Default startup command from Pterodactyl egg

Default
rmv() { echo "stopping server"; rcon -t rcon -a 127.0.0.1:${RCON_PORT} -p ${ARK_ADMIN_PASSWORD} saveworld &&rcon -t rcon -a 127.0.0.1:${RCON_PORT} -p ${ARK_ADMIN_PASSWORD} DoExit && wait ${ARK_PID}; echo "Server Closed"; exit; }; trap rmv 15 2; cd ShooterGame/Binaries/Linux && ./ShooterGameServer ${SERVER_MAP}?listen?SessionName="${SESSION_NAME}"?ServerPassword=${ARK_PASSWORD}?ServerAdminPassword=${ARK_ADMIN_PASSWORD}?Port=${PORT}?RCONPort=${RCON_PORT}?QueryPort=${QUERY_PORT}?RCONEnabled=True?MaxPlayers=${MAX_PLAYERS}?GameModIds="${MOD_ID}"$( [ "${BATTLE_EYE}" == "1" ] || printf %s ' -NoBattlEye' ) -server -automanagedmods ${ARGS} -log & ARK_PID=$! ; until echo "waiting for rcon connection..."; (rcon -t rcon -a 127.0.0.1:${RCON_PORT} -p ${ARK_ADMIN_PASSWORD})<&0 & wait $!; do sleep 5; done

Environment Variables

ARK_PASSWORD

Server Password

If specified, players must provide this password to join the server.

Default
(empty)

ARK_ADMIN_PASSWORD

Required

Admin Password

If specified, players must provide this password (via the in-game console) to gain access to administrator commands on the server.

Default
PleaseChangeMe

SERVER_MAP

Required

Server Map

Available Maps: TheIsland, TheCenter, Ragnarok, ScorchedEarth_P, Aberration_P, Extinction, Valguero_P, Genesis, CrystalIsles, Gen2, Fjordur

Default
TheIsland

SESSION_NAME

Required

Server Name

ARK server name

Default
A Pterodactyl Hosted ARK Server

RCON_PORT

Required

Rcon Port

ARK rcon port used by rcon tools.

Default
27020

AUTO_UPDATE

Required

Auto-update server

Enable auto-updating from steam

Default
1

BATTLE_EYE

Required

Battle Eye

Enable BattleEye

Default
1

SRCDS_APPID

Read Only

App ID

ARK steam app id for auto updates. Leave blank to avoid auto update.

Default
376030

ARGS

Additional Arguments

Specify additional launch parameters such as -crossplay. You must include a dash - and separate each parameter with space: -crossplay -exclusivejoin

Default
(empty)

MOD_ID

Mods

Specifies the order and which mods are loaded. ModIDs need to be comma-separated such as: ModID1,ModID2

Default
(empty)

MAX_PLAYERS

Max Players

Specifies the maximum amount of players able to join the server.

Default
12

SRCDS_BETAID

Beta Branch

Installs beta branch if specified.

Default
(empty)

STEAM_USER

Required

Steam Username

Steam username for authentication (required for Steam games)

Default
${STEAM_USER}

STEAM_PASS

Required

Steam Password

Steam password for authentication (required for Steam games)

Default
${STEAM_PASS}

STEAM_AUTH

Steam Auth Code

Steam Guard authentication code (optional)

Default
(empty)

EXTRA_FLAGS

Extra SteamCMD Flags

Additional SteamCMD flags

Default
(empty)

Lifecycle Scripts

Installation Script

Installation script imported from Pterodactyl egg

before installghcr.io/ptero-eggs/installers:debian
#!/bin/bash

if [[ "${STEAM_USER}" == "" ]] || [[ "${STEAM_PASS}" == "" ]]; then
    echo -e "steam user is not set.\n"
    echo -e "Using anonymous user.\n"
    STEAM_USER=anonymous
    STEAM_PASS=""
    STEAM_AUTH=""
else
    echo -e "user set to ${STEAM_USER}"
fi

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/steamapps # Fix steamcm...

Container Configuration

Docker Image

ghcr.io/ptero-eggs/games:source

Technical Profile

Template ID

ark-survival-evolved

Author

Community

Last Updated

January 13, 2026

Status

Active