Skip to content

Add variable to skip updating the server#70

Open
zzahkaboom24 wants to merge 4 commits into
pterodactyl:masterfrom
zzahkaboom24:skip-update-hytale
Open

Add variable to skip updating the server#70
zzahkaboom24 wants to merge 4 commits into
pterodactyl:masterfrom
zzahkaboom24:skip-update-hytale

Conversation

@zzahkaboom24

@zzahkaboom24 zzahkaboom24 commented Feb 17, 2026

Copy link
Copy Markdown

As title states.

This skips the download part only.
Has been requested, and can be of importance.
It's a boolean, so either the update is skipped or not, default is no.

Adding this variable is needed, but I will PR on the egg side of things too:
image

Edit: It's for Hytale

Comment thread games/hytale/entrypoint.sh

@WilliamVenner WilliamVenner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

confirm for me that the server boots with SKIP_UPDATE=0 and SKIP_UPDATE=1 (sorry, in the absence of a test suite, you'll have to be it 😆) with this image and I shall merge 🙂

@zzahkaboom24

Copy link
Copy Markdown
Author

confirm for me that the server boots with SKIP_UPDATE=0 and SKIP_UPDATE=1 (sorry, in the absence of a test suite, you'll have to be it 😆) with this image and I shall merge 🙂

Will do so later, as I am currently not on my PC 👍

@zzahkaboom24

Copy link
Copy Markdown
Author

confirm for me that the server boots with SKIP_UPDATE=0 and SKIP_UPDATE=1 (sorry, in the absence of a test suite, you'll have to be it 😆) with this image and I shall merge 🙂

Here's a video showing the entire process from download server files to the server booting with both Skip Update on or off

8mb.video-yEO-zyOkIBkc.mp4

@danny6167

Copy link
Copy Markdown
Member

I wonder if we should invert the logic here and use AUTO_UPDATE to remain consistent with the rest of the Pterodactyl ecosystem?

@WilliamVenner

Copy link
Copy Markdown
Member

We “should”, yeah, but that’s a breaking change unfortunately.

@danny6167

Copy link
Copy Markdown
Member

We “should”, yeah, but that’s a breaking change unfortunately.

How is it a breaking change when nothing that uses it has been merged yet?

@WilliamVenner

Copy link
Copy Markdown
Member

sorry yes, ignore me. For some reason I thought this was a wings PR. 😅

Comment thread games/hytale/entrypoint.sh Outdated
if ! [[ -e version ]] || [ "$curversion" != "$(cat "version")" ]; then
if [[ -f version ]]; then
echo -e "New update available, downloading version $curversion..."
if [[ "${SKIP_UPDATE}" == "1" ]]; then

@danny6167 danny6167 Jul 5, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please invert the logic so it follows the current convention of AUTO_UPDATE.
If unset or empty, assumed true

@zzahkaboom24 zzahkaboom24 Jul 7, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is about skipping the update, not auto updating, do you want to assume it as off instead, if unset or empty, thus updating it, unless it's 1, thus skipping?
My next commit should be able to show what I am talking about.

Since this is about skipping update, not autoupdate, I believe using the same logic as AUTO_UPDATE, but inverting it for SKIP_UPDATE to be the way to go.

Correct me if I am wrong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants