This is the missing part most people need first: where the addon zip should live, where it should be extracted, and where the installer should point.
Recommended directories
Downloaded zip on the panel host:
/srv/pterodactyl-addons/hytaledepot/downloads/hytaledepot-pterodactyl-addon-1.0.0.zip
Extracted addon working directory:
/srv/pterodactyl-addons/hytaledepot/releases/1.0.0/
Real Pterodactyl panel root:
/var/www/pterodactyl/
Run commands from the correct directory
Run these from the extracted addon directory:
check-compat.sh
install.sh
update.sh
uninstall.sh
restore.sh
Run these from the live panel root:
php artisan ...
yarn install
yarn build:production
grep ... .env
- Own the addon in Hytale Depot, then click
Download addon from the addon product page or your account addon page. - Save the zip on your own computer first, then copy it to the panel host, or download it directly on the panel host from the signed URL.
- Create a permanent download directory on the panel host such as
/srv/pterodactyl-addons/hytaledepot/downloads. - Create a separate extracted working directory such as
/srv/pterodactyl-addons/hytaledepot/releases/1.0.0. - Run
check-compat.sh and install.sh from that extracted working directory, not from the panel root.
If the file was downloaded to your laptop or desktop browser, copy it to the panel host with a command like this:
sudo mkdir -p /srv/pterodactyl-addons/hytaledepot/downloads
scp "$HOME/Downloads/hytaledepot-pterodactyl-addon-1.0.0.zip" your-user@your-panel-host:/srv/pterodactyl-addons/hytaledepot/downloads/
If you prefer to download directly on the panel host, open the signed installer URL from Hytale Depot and use it immediately before it expires:
sudo mkdir -p /srv/pterodactyl-addons/hytaledepot/downloads
curl -fL "SIGNED_URL_FROM_HYTALE_DEPOT" -o /srv/pterodactyl-addons/hytaledepot/downloads/hytaledepot-pterodactyl-addon-1.0.0.zip
Before extracting, list the archive contents and confirm the package includes restore.sh:
unzip -l /srv/pterodactyl-addons/hytaledepot/downloads/hytaledepot-pterodactyl-addon-1.0.0.zip
If restore.sh is missing from that list, delete the zip and download it again before you continue.
Then extract the zip into the working directory. Do not extract it over the live panel tree:
sudo mkdir -p /srv/pterodactyl-addons/hytaledepot/releases/1.0.0
sudo unzip /srv/pterodactyl-addons/hytaledepot/downloads/hytaledepot-pterodactyl-addon-1.0.0.zip -d /srv/pterodactyl-addons/hytaledepot/releases/1.0.0
cd /srv/pterodactyl-addons/hytaledepot/releases/1.0.0
ls -la
chmod +x check-compat.sh install.sh update.sh uninstall.sh restore.sh
The final chmod +x step is only there to make the commands work even if the zip was extracted on a system that dropped shell execute permissions.