Skip to content

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.

egg-myth-of-empires.json

updated

Ports

Add an allocation on the node for each port.

  • Game 11888
  • Query 12888
  • RCON 13888

Install

Installer image
ghcr.io/ptero-eggs/installers:debian
Steam app
1794810
Steam login
not required
Install script
49 lines

Image

  • SteamCMD, Proton ghcr.io/ptero-eggs/steamcmd:proton

Startup

The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.

15 variables

Startup command

export PROTON_USE_WINED3D=1; export PROTON_NO_ESYNC=1; proton run MOE/Binaries/Win64/MOEServer.exe LargeTerrain_Central_Main -game -server -DataLocalFile -NotCheckServerSteamAuth -LOCALLOGTIMES -PrivateServer -MultiHome=0.0.0.0 -OutAddress=0.0.0.0 -SessionName="A Pterodactyl hosted server" -GameServerPVPType=1 -MaxPlayers=25 -MapDifficultyRate=1 -UseACE -EnableVACBan=1 -ServerId=100 -ClusterId=1 -Port=11888 -QueryPort=12888 -bStartShutDownServiceInPrivateServer=1 -ShutDownServiceIP=127.0.0.1 -ShutDownServicePort=13888 -ShutDownServiceKey="{{RCON_PASSWORD}}" -ServerAdminAccounts="{{ADMIN_IDS}}" {{EXTRA_FLAGS}}

Dotted values come from the server settings. These values are examples.

  • SRCDS_APPIDUsers cannot see

    required|string|in:1794810

  • WINDOWS_INSTALLUsers cannot see

    required|in:1

  • Auto update the server on startup

    AUTO_UPDATEUsers can edit

    required|boolean

  • MAP_NAMEUsers can edit

    required|string|in:LargeTerrain_Central_Main,LargeTerrain_Central2_Main

  • The name of the server

    SERVER_NAMEUsers can edit

    required|string|max:80

  • Enable or disable PVP

    PVPUsers can edit

    required|boolean

  • MAX_PLAYERSUsers can edit

    required|numeric|between:1,150

  • QUERY_PORTUsers can see

    required|numeric

  • SHUTDOWN_SERVICEUsers can edit

    required|boolean

  • RCON_PORTUsers can see

    required|int

  • RCON_PASSWORDUsers can edit

    required|alpha_dash|min:5|max:32A value is required.

  • Steam admin ID list

    ADMIN_IDSUsers can edit

    nullable|string|max:128

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

    EXTRA_FLAGSUsers can edit

    nullable|string

  • CLUSTER_IDUsers can edit

    required|numeric

  • SERVER_IDUsers can edit

    required|numeric

Wings

Stop command
^C (SIGINT)
Running when the console shows
LogInit: Display: Starting Game.

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

Changes

  1. Add steamcmd based eggs

    · Daniel Barton · 60ef9fb

All changes on GitHub

Problem with this egg?

Open an issue on GitHub. Include your Panel and Wings versions.

Install script 49 lines bash in ghcr.io/ptero-eggs/installers:debian Show
#!/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 "-----------------------------------------"