Myth of Empires

games
Report Issue

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.

Contributors:
README

Myth of Empires

Steam

Installation/System Requirements

Bare Minimum Recommended
Processor AMD64 only -
RAM 9 GiB 12 GiB
Storage 10 GiB 15 GiB
Network - -
Game Ownership Not needed -

Server Ports

Ports required to run the server

Port default
Game 11888
Query 12888
RCON 13888
Docker Images (1)
Name Image
ghcr.io/ptero-eggs/steamcmd:proton ghcr.io/ptero-eggs/steamcmd:proton
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 (15)

App ID

Environment:
SRCDS_APPID
Default:
1794810
User Viewable:
User Editable:
Rules:
required|string|in:1794810

Install Windows version

Environment:
WINDOWS_INSTALL
Default:
1
User Viewable:
User Editable:
Rules:
required|in:1

Auto Update

Auto update the server on startup

Environment:
AUTO_UPDATE
Default:
1
User Viewable:
User Editable:
Rules:
required|boolean

Map Name

Environment:
MAP_NAME
Default:
LargeTerrain_Central_Main
User Viewable:
User Editable:
Rules:
required|string|in:LargeTerrain_Central_Main,LargeTerrain_Central2_Main

Server Name

The name of the server

Environment:
SERVER_NAME
Default:
A Pterodactyl hosted server
User Viewable:
User Editable:
Rules:
required|string|max:80

Enable PVP

Enable or disable PVP

Environment:
PVP
Default:
1
User Viewable:
User Editable:
Rules:
required|boolean

Max Players

Environment:
MAX_PLAYERS
Default:
25
User Viewable:
User Editable:
Rules:
required|numeric|between:1,150

Query Port

Environment:
QUERY_PORT
Default:
12888
User Viewable:
User Editable:
Rules:
required|numeric

Shutdown Service

Environment:
SHUTDOWN_SERVICE
Default:
1
User Viewable:
User Editable:
Rules:
required|boolean

RCON Port

Environment:
RCON_PORT
Default:
13888
User Viewable:
User Editable:
Rules:
required|int

RCON Password

Environment:
RCON_PASSWORD
Default:
None
User Viewable:
User Editable:
Rules:
required|alpha_dash|min:5|max:32

Admin ID's

Steam admin ID list

Environment:
ADMIN_IDS
Default:
None
User Viewable:
User Editable:
Rules:
nullable|string|max:128

Extra Flags

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

Environment:
EXTRA_FLAGS
Default:
None
User Viewable:
User Editable:
Rules:
nullable|string|

Cluster ID

Environment:
CLUSTER_ID
Default:
1
User Viewable:
User Editable:
Rules:
required|numeric

Server ID

Environment:
SERVER_ID
Default:
100
User Viewable:
User Editable:
Rules:
required|numeric
Installation Script
Container: ghcr.io/ptero-eggs/installers:debian
Entrypoint: bash
#!/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 "-----------------------------------------"