Skip to content

Hogwarp

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

egg-hogwarp.json

updated

Ports

Add an allocation on the node for each port.

  • Game 11778

Install

Installer image
ghcr.io/ptero-eggs/installers:debian
Install script
58 lines

Image

  • Wine ghcr.io/ptero-eggs/yolks:wine_latest

Startup

The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.

9 variables

Startup command

export WINEDLLOVERRIDES="mscoree=n,b;mshtml=n,b"; wine HogWarpServer.exe
  • WINETRICKS_RUNUsers cannot see

    nullable|string

  • 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_KEYUsers can edit

    required|string

  • A name that displays on the Hogwarp list

    SERV_NAMEUsers can edit

    required|string

  • Arch type for Wine

    WINEARCHUsers cannot see

    required

  • 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_PLAYERSUsers can edit

    required|integer

  • The icon that displays on Hogwarps multiplayer listing

    SERV_ICONUsers can edit

    nullable|string

  • The description that shows on the Multiplayer list

    SERV_DESCUsers can edit

    nullable|string

  • 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_URLUsers cannot see

    required|string

  • WINEDEBUGUsers cannot see

    nullable

Wings

Stop command
^^C
Running when the console shows
Server started on port

Files Wings edits

Wings sets these values in these files before each start.

config.json json

ApiKey
{{env.API_KEY}}
Name
{{env.SERV_NAME}}
Port
{{server.build.default.port}}
Description
{{env.SERV_DESC}}
MaxPlayer
{{env.MAX_PLAYERS}}
IconUrl
{{env.SERV_ICON}}

Readme

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 馃

Changes

  1. Move several games to wine_latest

    路 Daniel Barton 路 7b08ba7

  2. Add standalone games

    路 Daniel Barton 路 74c706a

All changes on GitHub

Problem with this egg?

Open an issue on GitHub. Include your Panel and Wings versions.

Install script 58 lines bash in ghcr.io/ptero-eggs/installers:debian Show
#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 "-----------------------------------------"