[PR #1656] [MERGED] Allow multiple startup commands per egg #1509

Closed
opened 2026-02-04 19:52:42 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/1656
Author: @Boy132
Created: 9/4/2025
Status: Merged
Merged: 10/8/2025
Merged by: @Boy132

Base: mainHead: boy132/multiple-startup-commands


📝 Commits (10+)

  • a4bc001 add backend for supporting multiple egg startup commands
  • 4b32eef start frontend update
  • 5e29422 use const
  • b966fe1 update translations
  • a59a845 finish admin frontend
  • 738ff92 add client frontend
  • 0f435b0 add missing translation
  • d8c041e fix phpstan
  • d465ea6 Merge remote-tracking branch 'upstream/main' into boy132/multiple-startup-commands
  • e6441d2 fix egg importer

📊 Changes

33 files changed (+302 additions, -147 deletions)

View changed files

📝 app/Filament/Admin/Resources/Eggs/Pages/CreateEgg.php (+8 -6)
📝 app/Filament/Admin/Resources/Eggs/Pages/EditEgg.php (+6 -3)
📝 app/Filament/Admin/Resources/Servers/Pages/CreateServer.php (+35 -14)
📝 app/Filament/Admin/Resources/Servers/Pages/EditServer.php (+39 -14)
📝 app/Filament/Components/Actions/PreviewStartupAction.php (+6 -8)
📝 app/Filament/Server/Pages/Startup.php (+43 -28)
📝 app/Models/Egg.php (+7 -6)
📝 app/Services/Eggs/EggChangerService.php (+3 -2)
📝 app/Services/Eggs/Sharing/EggExporterService.php (+1 -1)
📝 app/Services/Eggs/Sharing/EggImporterService.php (+24 -6)
📝 app/Services/Servers/ServerCreationService.php (+2 -2)
📝 app/Services/Servers/StartupCommandService.php (+4 -2)
📝 app/Services/Servers/StartupModificationService.php (+2 -2)
📝 app/Transformers/Api/Application/EggTransformer.php (+3 -5)
📝 app/Transformers/Api/Client/ServerTransformer.php (+1 -1)
📝 database/Factories/EggFactory.php (+1 -1)
📝 database/Seeders/eggs/minecraft/egg-bungeecord.yaml (+4 -3)
📝 database/Seeders/eggs/minecraft/egg-forge-minecraft.yaml (+4 -3)
📝 database/Seeders/eggs/minecraft/egg-paper.yaml (+4 -3)
📝 database/Seeders/eggs/minecraft/egg-sponge.yaml (+5 -4)

...and 13 more files

📄 Description

Closes #1655

Example with Garry's Mod egg:
Egg:
grafik

Create Server:
grafik

Edit Server:
grafik

Client Area:
grafik

Activity log when user changes startup
grafik

Shown changes to the gmod egg are not included!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/1656 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 9/4/2025 **Status:** ✅ Merged **Merged:** 10/8/2025 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `boy132/multiple-startup-commands` --- ### 📝 Commits (10+) - [`a4bc001`](https://github.com/pelican-dev/panel/commit/a4bc0017284685684fc304291efbbf1a5015c4c2) add backend for supporting multiple egg startup commands - [`4b32eef`](https://github.com/pelican-dev/panel/commit/4b32eef0c622485b7d2b13bca26abbb21a7c6991) start frontend update - [`5e29422`](https://github.com/pelican-dev/panel/commit/5e29422e213135f0385cb317a93212e291cb7a8d) use const - [`b966fe1`](https://github.com/pelican-dev/panel/commit/b966fe1efe2769825f23914cc83aeda6eae9a44b) update translations - [`a59a845`](https://github.com/pelican-dev/panel/commit/a59a84538c51eab8981a2b53e604f1b9f8d74e9f) finish admin frontend - [`738ff92`](https://github.com/pelican-dev/panel/commit/738ff926dde1ba1322e7d61f2bf8787174c6ebe7) add client frontend - [`0f435b0`](https://github.com/pelican-dev/panel/commit/0f435b0294b843be9f3dd2aef8617397c7ff1d80) add missing translation - [`d8c041e`](https://github.com/pelican-dev/panel/commit/d8c041e78928fd575757ab8ae79102f41dd1261c) fix phpstan - [`d465ea6`](https://github.com/pelican-dev/panel/commit/d465ea696fec0967f02cb1a7a91a5adf37d057a1) Merge remote-tracking branch 'upstream/main' into boy132/multiple-startup-commands - [`e6441d2`](https://github.com/pelican-dev/panel/commit/e6441d2b15ca6c9ad3c790a37b70b74f0e7451d6) fix egg importer ### 📊 Changes **33 files changed** (+302 additions, -147 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/Admin/Resources/Eggs/Pages/CreateEgg.php` (+8 -6) 📝 `app/Filament/Admin/Resources/Eggs/Pages/EditEgg.php` (+6 -3) 📝 `app/Filament/Admin/Resources/Servers/Pages/CreateServer.php` (+35 -14) 📝 `app/Filament/Admin/Resources/Servers/Pages/EditServer.php` (+39 -14) 📝 `app/Filament/Components/Actions/PreviewStartupAction.php` (+6 -8) 📝 `app/Filament/Server/Pages/Startup.php` (+43 -28) 📝 `app/Models/Egg.php` (+7 -6) 📝 `app/Services/Eggs/EggChangerService.php` (+3 -2) 📝 `app/Services/Eggs/Sharing/EggExporterService.php` (+1 -1) 📝 `app/Services/Eggs/Sharing/EggImporterService.php` (+24 -6) 📝 `app/Services/Servers/ServerCreationService.php` (+2 -2) 📝 `app/Services/Servers/StartupCommandService.php` (+4 -2) 📝 `app/Services/Servers/StartupModificationService.php` (+2 -2) 📝 `app/Transformers/Api/Application/EggTransformer.php` (+3 -5) 📝 `app/Transformers/Api/Client/ServerTransformer.php` (+1 -1) 📝 `database/Factories/EggFactory.php` (+1 -1) 📝 `database/Seeders/eggs/minecraft/egg-bungeecord.yaml` (+4 -3) 📝 `database/Seeders/eggs/minecraft/egg-forge-minecraft.yaml` (+4 -3) 📝 `database/Seeders/eggs/minecraft/egg-paper.yaml` (+4 -3) 📝 `database/Seeders/eggs/minecraft/egg-sponge.yaml` (+5 -4) _...and 13 more files_ </details> ### 📄 Description Closes #1655 **Example with `Garry's Mod` egg:** Egg: <img width="1503" height="677" alt="grafik" src="https://github.com/user-attachments/assets/761fce5a-27fe-4deb-b54b-323c37f9f1bb" /> Create Server: <img width="1486" height="428" alt="grafik" src="https://github.com/user-attachments/assets/b672c2f5-5246-4a40-ba46-179c5324af9f" /> Edit Server: <img width="1500" height="411" alt="grafik" src="https://github.com/user-attachments/assets/3eb0d9cf-9ef1-468a-8bcf-8454a4548c97" /> Client Area: <img width="1493" height="259" alt="grafik" src="https://github.com/user-attachments/assets/4b7e57ef-ed03-4577-bf69-da3d8a73386e" /> Activity log when user changes startup <img width="1491" height="258" alt="grafik" src="https://github.com/user-attachments/assets/9a2e64d7-ee3d-4763-882e-cf7210a14e07" /> _Shown changes to the gmod egg are **not** included!_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 19:52:42 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1509