Egg Repository

Pterodactyl Community Egg Repository

Hogwarp

A Pterodactyl egg for the Hogwarts Legacy mod Hogwarp - For more info see their Nexus: https://www.nexusmods.com/hogwartslegacy/mods/1378

Read Me

HogWarp

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.

Server Port

Port default
Game 11778

Hardware Requirements

Storage RAM CPU
1.5GiB 250MiB 🥔
Yolks
NameTag
ghcr.io/ptero-eggs/yolks:wine_stagingghcr.io/ptero-eggs/yolks:wine_staging
Variables
NameDescriptionEnvironment VariableDefault ValueUser ViewableUser Editable
Wine TricksWINETRICKS_RUNdotnet7NoNo
Hogwarp API KeyA API required to boot - https://presence.hogwarp.com/login - If not set on install it will fail. Set API Key then Reinstall FilesAPI_KEYCHANGEMEYesYes
Server NameA name that displays on the Hogwarp listSERV_NAMEPtero Hogwarp ServerYesYes
WineARCHArch type for WineWINEARCHwin64NoNo
Max PlayersMax 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_PLAYERS4YesYes
Server Icon URLThe icon that displays on Hogwarps multiplayer listingSERV_ICONYesYes
Server DescriptionThe description that shows on the Multiplayer listSERV_DESCYesYes
Download URLURL 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_URLhttps://cdn.discordapp.com/attachments/1076580539751993444/1118295980597575810/Server.zipNoNo
WINEDEBUGWINEDEBUG-allNoNo
Install Script
#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 "-----------------------------------------"