Jexactyl / Jexactyl-v2-Archive

The repository which houses the code for Jexactyl v2 (now archived).
https://jexactyl.com
Other
37 stars 8 forks source link

Add egg selection when creating server via store #22

Closed devilAPI closed 4 weeks ago

devilAPI commented 2 years ago

image

camw0 commented 2 years ago

How will people be able to know what the Egg ID's are? The best way of doing this is to probably make a dropdown for all available eggs so users can select it. If you need help with this, let me know.

camw0 commented 2 years ago

Another note: The backend will need to be adjusted for this but I'm able to add that, so no big deal.

devilAPI commented 2 years ago

How will people be able to know what the Egg ID's are? The best way of doing this is to probably make a dropdown for all available eggs so users can select it. If you need help with this, let me know.

yes, i was planning on implementing that, unfortunately im new to modding pterodactyl and im pretty confused about its api, so help would be great

devilAPI commented 2 years ago

i was also planning on a toggle on the settings tab (so you can also use a "default egg" option, if youre a fan of eggactyl)

TheFallenSpirit commented 2 years ago

In order for this to work, a toggle would need to be added to all eggs, simply a true false to show or not to show the egg. Then you would fetch all the eggs from the backend and filter the ones that are "enabled". If you need any help with this let me know I can help.