A Pterodactyl egg for the Hogwarts Legacy mod Hogwarp - For more info see their Nexus: https://www.nexusmods.com/hogwartslegacy/mods/1378
HogWarp is a Work In Progress mod that adds Multiplayer functionality to Hogwarts Legacy, similar to FiveM for GTAV
This Mod requires a API key only obtainable through their Discord, see the Startup Variable API KEY for more info.
Port | default |
---|---|
Game | 11778 |
Storage | RAM | CPU |
---|---|---|
1.5GiB | 250MiB | 🥔 |
Name | Tag |
---|---|
ghcr.io/ptero-eggs/yolks:wine_staging | ghcr.io/ptero-eggs/yolks:wine_staging |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Wine Tricks | WINETRICKS_RUN | dotnet7 | No | No | |
Hogwarp API Key | A API required to boot - https://presence.hogwarp.com/login - If not set on install it will fail. Set API Key then Reinstall Files | API_KEY | CHANGEME | Yes | Yes |
Server Name | A name that displays on the Hogwarp list | SERV_NAME | Ptero Hogwarp Server | Yes | Yes |
WineARCH | Arch type for Wine | WINEARCH | win64 | No | No |
Max Players | Max players for a server, this depends on your Patreon level for Hogwarp https://www.patreon.com/tiltedphoques - ( 4, 8, 16, No Limit ) In that order. | MAX_PLAYERS | 4 | Yes | Yes |
Server Icon URL | The icon that displays on Hogwarps multiplayer listing | SERV_ICON | Yes | Yes | |
Server Description | The description that shows on the Multiplayer list | SERV_DESC | Yes | Yes | |
Download URL | URL to pull the files from - Files can be found in their Discord (https://discord.com/invite/hogwarp). Default URL will pull from there as well - These files can be outdated! Be sure to check for an update in the event it has a version mismatch with the client. | DOWNLOAD_URL | https://cdn.discordapp.com/attachments/1076580539751993444/1118295980597575810/Server.zip | No | No |
WINEDEBUG | WINEDEBUG | -all | No | No |
#Hogwarp Install
apt update -y
apt install -y curl file unzip
if [ ! -d /mnt/server ]; then
mkdir -p /mnt/server/
fi
cd /mnt/server/
# Validate link
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
curl -sSL ${DOWNLOAD_LINK} -o ${DOWNLOAD_LINK##*/}
# Unpack Server zip
FILETYPE=$(file -F ',' ${DOWNLOAD_LINK##*/} | cut -d',' -f2 | cut -d' ' -f2)
if [ "$FILETYPE" == "gzip" ]; then
tar xzvf ${DOWNLOAD_LINK##*/}
elif [ "$FILETYPE" == "Zip" ]; then
unzip ${DOWNLOAD_LINK##*/}
elif [ "$FILETYPE" == "XZ" ]; then
tar xvf ${DOWNLOAD_LINK##*/}
else
echo -e "unknown filetype. Exiting"
exit 2
fi
cd /mnt/server/
#Create the Plugins folder
mkdir plugins/
# Check for a config.json, if it is missing; create it
TARGET_FILE="config.json"
if test -f "$TARGET_FILE"; then
echo "$TARGET_FILE exists. Skipping config install"
else
echo "$TARGET_FILE does not exist. Installing!"
curl -sSL -o config.json https://pteropaste.com/hy2d48dbhtdd/
echo "$TARGET_FILE has been installed"
fi
## Install End
echo "-----------------------------------------"
echo "Hogwarp Is Installed!"
echo "-----------------------------------------"