mirror of
https://github.com/NATroutter/egg-hytale.git
synced 2026-03-01 11:21:13 +03:00
Removal of start.sh #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DeadlykillOfficial on GitHub (Jan 15, 2026).
Is there a way for us to get the start.sh removed as this allows any user to type any kind of Bash command.
It is possible that we integrate it perhaps into the image itself so it is immutable? And then have the egg itself run as
java ....fixed startup command?@NATroutter commented on GitHub (Jan 15, 2026):
If you need to run a custom startup, you can simply replace the startup command from ./start.sh with whatever custom command you want.
The start.sh is embedded into the image and, on every server start, it is copied from the image into the server directory. This keeps the startup logic consistent and avoids cluttering the egg startup. If you take the time to research how Hytale servers need to be started and look at what start.sh actually does, you will see that a lot of logic is involved. Converting all of that into a single line and putting it into the startup field would be a complete mess and much harder to maintain. And if you are concerned about security, it does not change anything whether it runs in start.sh or directly in the startup command.