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.6k stars 1.65k forks source link

Startup Commands #1862

Open ghost opened 4 years ago

ghost commented 4 years ago

A way to run a command or a action right after the server starts. (It may be very useful in some conditions)

lancepioch commented 4 years ago

Is the startup param in the egg sufficient? https://github.com/pterodactyl/panel/blob/4ac6507b69b1c88d6749387deb494877fcd1a523/database/seeds/eggs/minecraft/egg-paper.json#L14

Software-Noob commented 3 years ago

Commands are already possible with the use of the startup parameters as its bash

DaneEveritt commented 3 years ago

I think this is exposing a more user friendly way, e.g. a full on script that executes seperate from the game process in the container.