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

Portdefault
Game11778

Hardware Requirements

StorageRAMCPU
1.5GiB250MiB🥔
Yolks
NameTag
ghcr.io/ptero-eggs/yolks:wine_latestghcr.io/ptero-eggs/yolks:wine_latest
Variables and Startup

Startup Command

export WINEDLLOVERRIDES="mscoree=n,b;mshtml=n,b"; wine HogWarpServer.exe

Variables

Wine Tricks

Environment Variable: WINETRICKS_RUN
Default Value: dotnet7
User Viewable:
User Editable:
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

Environment Variable: API_KEY
Default Value: CHANGEME
User Viewable:
User Editable:
Server Name

A name that displays on the Hogwarp list

Environment Variable: SERV_NAME
Default Value: Ptero Hogwarp Server
User Viewable:
User Editable:
WineARCH

Arch type for Wine

Environment Variable: WINEARCH
Default Value: win64
User Viewable:
User Editable:
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.

Environment Variable: MAX_PLAYERS
Default Value: 4
User Viewable:
User Editable:
Server Icon URL

The icon that displays on Hogwarps multiplayer listing

Environment Variable: SERV_ICON
Default Value:
User Viewable:
User Editable:
Server Description

The description that shows on the Multiplayer list

Environment Variable: SERV_DESC
Default Value:
User Viewable:
User Editable:
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.

Environment Variable: DOWNLOAD_URL
Default Value: https://cdn.discordapp.com/attachments/1076580539751993444/1118295980597575810/Server.zip
User Viewable:
User Editable:
WINEDEBUG

Environment Variable: WINEDEBUG
Default Value: -all
User Viewable:
User Editable:
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 "-----------------------------------------"
Installation Imageghcr.io/ptero-eggs/installers:debianInstallation Entrypointbash