Pterodactyl-app
Pterodactyl-app copied to clipboard
[Feature] Create server (Admin side)
Is your feature request related to a problem? Please describe. No
Describe the solution you'd like The ability to be able to create a server within the app, on the admin side of the app. This will give the user the ability to input all the values like CPU, RAM, SWAP, etc. This does include all environment variable attached to the selected egg (also selectable on this page)
Describe alternatives you've considered I guess you could just somehow show the create server page to the user on that page...
Additional context Here are all API statements you may need to make this part of the app;
GET USER ID FROM PANEL USING EMAIL
get - https://panel.domain.com/api/application/[email protected]
GET EGG DETAILS
get - https://panel.domain.com/api/application/nests/NEST_ID/eggs/EGG_ID?include=variables
MAKE SERVER
post - https://panel.domain.com/api/application/servers
(You have to send specific information here, both from the egg chosen and custom information inputted on the server creation page, like server name, start on completed install, ram, cpu, etc)
Hope this is all the information you need and as always, if you need any more information, feel free to reply to this post or contact me on discord.