mohaa
Medal of Honor: Allied Assault
Ports
Add an allocation on the node for each port.
- Game 12203
Install
- Installer image
- ghcr.io/ptero-eggs/installers:alpine
- Install script
- 41 lines
Image
- Mohaa ghcr.io/ptero-eggs/games:mohaa
Startup
The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.
8 variables
Startup command
./mohaa_lnxded +set sv_punkbuster 0 +set fs_basepath /home/container +set fs_outputpath /home/container/Logs +set dedicated 2 +set sv_maxclients 14 +set net_ip 0.0.0.0 +set net_port 12203 +exec server.cfgDotted values come from the server settings. These values are examples.
SERVER_MAXCLIENTSUsers can edit
required|integer
URL from where to get the initial server.cfg
CONFIG_URLUsers cannot see
required|string
The name of the server
SERVER_NAMEUsers can edit
required|string
Admin password for rcon
RCON_PASSWORDUsers can edit
required|stringA value is required.
Select the map
SERVER_MAPUsers can edit
required|string|in:obj/obj_team2,dm/mohdm7,dm/mohdm1,dm/mohdm3,dm/mohdm2,dm/mohdm6
LOG_DIRUsers can see
required|string
BASE_PATHUsers can see
required|string
SERVER_PASSWORDUsers can edit
required|stringA value is required.
Wings
- Stop command
- quit
- Running when the console shows
- ------ Server Initialization Complete ------
Files Wings edits
Wings sets these values in these files before each start.
main/server.cfg file
- seta sv_hostname
- seta sv_hostname "{{env.SERVER_NAME}}"
- seta sv_maxClients
- seta sv_maxClients "{{env.SERVER_MAXCLIENTS}}"
- seta rconPassword
- seta rconPassword "{{env.RCON_PASSWORD}}"
- seta g_password
- seta g_password "{{env.SERVER_PASSWORD}}"
- Map
- Map {{env.SERVER_MAP}}
Readme
Medal of Honor: Allied Assault
Medal of Honor: Allied Assault is a first-person shooter video game developed by 2015, Inc.
Server Ports
| 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.
Changes
- Validate and update embedded URLs
· Daniel Barton · bf9f3cb
- SteamCMD + Other fixes
· yesBad · edbf925
- Add standalone games
· Daniel Barton · 74c706a
Problem with this egg?
Open an issue on GitHub. Include your Panel and Wings versions.
Install script 41 lines ash in ghcr.io/ptero-eggs/installers:alpine Show Hide
#!/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 "-----------------------------------------"