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.69k stars 1.7k forks source link

Expand Eggs api #2864

Open DomiiBunn opened 3 years ago

DomiiBunn commented 3 years ago

Is your feature request related to a problem? Please describe. As of writting a UI for Eggs an idea crept in of adding a Auto Import button. Whoever it is not possible with the current api

Describe the solution you'd like An ability to GET to the panels api with

than to POST to the panel with above authentication and

Describe alternatives you've considered Manually adding the egg

Additional context The page would be open source regardless showing no malichous use and everything is planned to be done within the frontend therefore never bouncing users credentials around

DaneEveritt commented 3 years ago

If I add an endpoint for uploading an egg configuration it'll be under the same style as all the other admin endpoints.

DomiiBunn commented 3 years ago

Sure. Key authentication works fine :) the endpoints would be supper useful tho

On Sat, Dec 12, 2020, 18:28 Dane Everitt notifications@github.com wrote:

If I add an endpoint for uploading an egg configuration it'll be under the same style as all the other admin endpoints.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pterodactyl/panel/issues/2864#issuecomment-743787708, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMK42CQGLQRQNL2OOBUYAXDSUOR2HANCNFSM4UYIHQWA .

nicholasrobertm commented 3 years ago

👍 would love to be able to make post requests to create eggs with the idea that I could write a script to grab everything from a repo (e.g. https://github.com/parkervcp/eggs) and then upload each of them if they don't exist

anondev-sudo commented 3 years ago

There should be an option in the panel to enter the URL from where the egg will be fetched. So you don't have to download eggs from GitHub and then upload it. Instead, you would just put the "View raw" Github link to the egg and it would be imported.

DomiiBunn commented 3 years ago

That is also a plan

On Thu, Sep 30, 2021, 12:06 AnonDev @.***> wrote:

There should be an option in the panel to enter the URL from where the egg will be fetched. So you don't have to download eggs from GitHub and then upload it. Instead, you would just put the "View raw" Github link to the egg and it would be imported.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pterodactyl/panel/issues/2864#issuecomment-931180631, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMK42CXY4AKX5NAOMOPUWFDUEQZA3ANCNFSM4UYIHQWA .

FoksVHox commented 3 years ago

There should be an option in the panel to enter the URL from where the egg will be fetched. So you don't have to download eggs from GitHub and then upload it. Instead, you would just put the "View raw" Github link to the egg and it would be imported.

3479

matthewpi commented 3 years ago

In v2 there has been an endpoint added for POSTing the raw egg JSON.

anondev-sudo commented 3 years ago

There should be an option in the panel to enter the URL from where the egg will be fetched. So you don't have to download eggs from GitHub and then upload it. Instead, you would just put the "View raw" Github link to the egg and it would be imported.

Will be there this too?

matthewpi commented 3 years ago

There should be an option in the panel to enter the URL from where the egg will be fetched. So you don't have to download eggs from GitHub and then upload it. Instead, you would just put the "View raw" Github link to the egg and it would be imported.

Will be there this too?

Currently that is not there, it may be added later.

ZaxLofful commented 8 months ago

Has there been any traction on auto-updating eggs?

This has been mentioned it two other duplicate issues...I think only having it update any eggs that are listed in parker's eggs on GitHub, is an acceptable first step

DomiiBunn commented 8 months ago

As far as I can understand no.

There was some work put in by me in the past however it's been dropped due to time constraints. I think this could be atcived by an external service with utilizing the panels API.

There was a plan to have an official UI for eggs that would provide a bit more of a simplified managment but it's been stuck in progress afaik.