pterodactyl / panel

Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
https://pterodactyl.io
Other
6.7k stars 1.7k forks source link

Linked Scripts not working #4057

Closed fragger1991 closed 2 years ago

fragger1991 commented 2 years ago

Current Behavior

I have created several eggs that should use the same script. I then removed the script from the other eggs and replaced it with a simple note. In the "Copy Script From" field I then specified the source egg. During installation, however, it does not access the linked script, but uses the stored one.

Expected Behavior

I expect the linked script to run instead of the one provided. As the description of the function says (If selected, script above will be ignored and script from selected option will be used in place.).

Steps to Reproduce

Take an egg and put an install script there. Then go to another egg and store e.g. "echo "Nothing here!"" in the install script and then select the previously edited egg under "Copy Script From". Now create a game server with the game that should use the linked script. The process cannot be completed and failed.

Panel Version

1.7.0

Wings Version

1.4.2

Games and/or Eggs Affected

Counter-Strike: Global Offensive

Docker Image

ghcr.io/pterodactyl/installers:debian

Error Logs

No response

Is there an existing issue for this?

Software-Noob commented 2 years ago

It's intended to copy the script at the time of creation, instead of being a syncing copy

parkervcp commented 2 years ago

"Copy From" does not mean "Always Use"

fragger1991 commented 2 years ago

As it seems, there are still a few problems of understanding here. At least for me this function has a completely different meaning. I would generally like to see more inheritance of things in Pterodactly, which would make manual maintenance much easier. Here I had seen such an approach and therefore thought that it was a bug.

But thanks for the clarification!