Medal of Honor: Allied Assault is a first-person shooter video game developed by 2015, Inc.
Port | default |
---|---|
Game | 12203 |
This egg uses the Unofficial MoH:AA 1.12 Patch that addes several features and security updates to allow a fair multiplayer experience.
Ones the server is installed you can check the File Manager for Medal of Honor Reborn Patch Documentation RC3.5.1.pdf
for more information.
Check the main/server.cfg
in the File Manager for more configuration options.
Name | Tag |
---|---|
Mohaa | ghcr.io/ptero-eggs/games:mohaa |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Max clients | SERVER_MAXCLIENTS | 14 | Yes | Yes | |
Config URL | URL from where to get the initial server.cfg | CONFIG_URL | https://raw.githubusercontent.com/ptero-eggs/game-eggs/main/mohaa/server.cfg | No | No |
Server name | The name of the server | SERVER_NAME | MOHAA Server running on Pterodactyl | Yes | Yes |
Rcon password | Admin password for rcon | RCON_PASSWORD | Yes | Yes | |
Server map | Select the map | SERVER_MAP | dm/mohdm7 | Yes | Yes |
Logs dir | LOG_DIR | /home/container/Logs | Yes | No | |
Base PATH | BASE_PATH | /home/container | Yes | No | |
Server password | SERVER_PASSWORD | Yes | Yes |
#!/bin/ash
apk --no-cache add curl
if [[ ! -d /mnt/server/ ]]; then
mkdir -p /mnt/server/
fi
cd /mnt/server/
DOWNLOAD_URL=http://linuxgsm.download/MedalofHonorAlliedAssault/moh_revival_v1.12_RC3.5.1.tar.xz
if [ ! -z "${DOWNLOAD_URL}" ]; then
if curl --output /dev/null --silent --head --fail ${DOWNLOAD_URL}; then
echo -e "link is valid. setting download link to ${DOWNLOAD_URL}"
DOWNLOAD_LINK=${DOWNLOAD_URL}
else
echo -e "link is invalid closing out"
exit 2
fi
fi
echo -e "running 'curl -sSL ${DOWNLOAD_LINK} -o mohaaserver.tar.xz'"
curl -sSL ${DOWNLOAD_LINK} -o mohaaserver.tar.xz
echo -e "Unpacking server files"
tar xvf mohaaserver.tar.xz
rm mohaaserver.tar.xz
echo -e "checking for default server.cfg"
[[ -f main/server.cfg ]] || curl -sSL ${CONFIG_URL} -o main/server.cfg
echo -e "running 'chmod +x ./mohaa_lnxded'"
chmod +x ./mohaa_lnxded
## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"