Egg Repository

Pterodactyl Community Egg Repository

Myth of Empires

Myth of Empires is a multiplayer war sandbox game featuring a high degree of freedom. Players must survive, craft, create, and lead troops in their quest to conquer territory and build their own empire.

Read Me

Myth of Empires

Steam

Installation/System Requirements

Bare MinimumRecommended
ProcessorAMD64 only-
RAM9 GiB12 GiB
Storage10 GiB15 GiB
Network--
Game OwnershipNot needed-

Server Ports

Ports required to run the server

Portdefault
Game11888
Query12888
RCON13888
Yolks
NameTag
ghcr.io/ptero-eggs/steamcmd:protonghcr.io/ptero-eggs/steamcmd:proton
Variables and Startup

Startup Command

export PROTON_USE_WINED3D=1; export PROTON_NO_ESYNC=1; proton run MOE/Binaries/Win64/MOEServer.exe {{MAP_NAME}} -game -server -DataLocalFile -NotCheckServerSteamAuth -LOCALLOGTIMES -PrivateServer -MultiHome=0.0.0.0 -OutAddress={{SERVER_IP}} -SessionName="{{SERVER_NAME}}" -GameServerPVPType={{PVP}} -MaxPlayers={{MAX_PLAYERS}} -MapDifficultyRate=1 -UseACE -EnableVACBan=1 -ServerId={{SERVER_ID}} -ClusterId={{CLUSTER_ID}} -Port={{SERVER_PORT}} -QueryPort={{QUERY_PORT}} -bStartShutDownServiceInPrivateServer={{SHUTDOWN_SERVICE}} -ShutDownServiceIP=127.0.0.1 -ShutDownServicePort={{RCON_PORT}} -ShutDownServiceKey="{{RCON_PASSWORD}}" -ServerAdminAccounts="{{ADMIN_IDS}}" {{EXTRA_FLAGS}}

Variables

App ID

Environment Variable: SRCDS_APPID
Default Value: 1794810
User Viewable:
User Editable:
Install Windows version

Environment Variable: WINDOWS_INSTALL
Default Value: 1
User Viewable:
User Editable:
Auto Update

Auto update the server on startup

Environment Variable: AUTO_UPDATE
Default Value: 1
User Viewable:
User Editable:
Map Name

Environment Variable: MAP_NAME
Default Value: LargeTerrain_Central_Main
User Viewable:
User Editable:
Server Name

The name of the server

Environment Variable: SERVER_NAME
Default Value: A Pterodactyl hosted server
User Viewable:
User Editable:
Enable PVP

Enable or disable PVP

Environment Variable: PVP
Default Value: 1
User Viewable:
User Editable:
Max Players

Environment Variable: MAX_PLAYERS
Default Value: 25
User Viewable:
User Editable:
Query Port

Environment Variable: QUERY_PORT
Default Value: 12888
User Viewable:
User Editable:
Shutdown Service

Environment Variable: SHUTDOWN_SERVICE
Default Value: 1
User Viewable:
User Editable:
RCON Port

Environment Variable: RCON_PORT
Default Value: 13888
User Viewable:
User Editable:
RCON Password

Environment Variable: RCON_PASSWORD
Default Value:
User Viewable:
User Editable:
Admin ID's

Steam admin ID list

Environment Variable: ADMIN_IDS
Default Value:
User Viewable:
User Editable:
Extra Flags

Extra flags.All starting with a - example: -ServerLevelAddMul=1.01

Environment Variable: EXTRA_FLAGS
Default Value:
User Viewable:
User Editable:
Cluster ID

Environment Variable: CLUSTER_ID
Default Value: 1
User Viewable:
User Editable:
Server ID

Environment Variable: SERVER_ID
Default Value: 100
User Viewable:
User Editable:
Install Script
#!/bin/bash

 ##

# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.
#apt -y update
#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates

## just in case someone removed the defaults.
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

## 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/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 +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}" ) ${INSTALL_FLAGS} validate +quit

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

## add below your custom commands if needed

## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"
Installation Imageghcr.io/ptero-eggs/installers:debianInstallation Entrypointbash