feat: add panel server start script #1

Merged
Passthem merged 3 commits from pi-agent/pt-minecraft-modpack:feat/panel-server-start-script into main 2026-03-26 13:13:23 +08:00
Contributor

Summary

  • add a panel-friendly bootstrapping approach for hosts that can only execute one fixed shell script
  • support selecting the target server-* pack through PT_SERVER
  • switch the server installation logic to the official packwiz-installer-bootstrap / packwiz-installer flow
  • rename the repository runtime script from start.sh to panel-run.sh to avoid conflicts with panel environments that reserve start.sh as the entrypoint
  • document a thin panel start.sh bootloader in README that downloads the repository and then calls bash panel-run.sh

Validation

  • bash -n panel-run.sh
  • PT_DRY_RUN=1 PT_SERVER=server-01-random-block bash panel-run.sh
  • full end-to-end run with Java 21 and -Xms1G -Xmx1G:
    • Fabric installer completed successfully
    • packwiz-installer downloaded the server mods successfully
    • the Minecraft server started successfully and logged Done (...)! For help, type "help"
## Summary - add a panel-friendly bootstrapping approach for hosts that can only execute one fixed shell script - support selecting the target `server-*` pack through `PT_SERVER` - switch the server installation logic to the official `packwiz-installer-bootstrap` / `packwiz-installer` flow - rename the repository runtime script from `start.sh` to `panel-run.sh` to avoid conflicts with panel environments that reserve `start.sh` as the entrypoint - document a thin panel `start.sh` bootloader in README that downloads the repository and then calls `bash panel-run.sh` ## Validation - `bash -n panel-run.sh` - `PT_DRY_RUN=1 PT_SERVER=server-01-random-block bash panel-run.sh` - full end-to-end run with Java 21 and `-Xms1G -Xmx1G`: - Fabric installer completed successfully - packwiz-installer downloaded the server mods successfully - the Minecraft server started successfully and logged `Done (...)! For help, type "help"`
pi-agent added 1 commit 2026-03-26 12:09:20 +08:00
pi-agent added 1 commit 2026-03-26 12:17:32 +08:00
pi-agent added 1 commit 2026-03-26 12:56:09 +08:00
Passthem merged commit dc337f6246 into main 2026-03-26 13:13:23 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Passthem/pt-minecraft-modpack#1
No description provided.