Ctrlpanel-gg / panel

CtrlPanel offers an easy-to-use and free billing solution for all starting and experienced hosting providers that seamlessly integrates with the Pterodactyl panel.
https://ctrlpanel.gg/
MIT License
411 stars 149 forks source link

[Feature] Update Servers using Pterodactyl API #787

Closed ManucrackYT closed 1 year ago

ManucrackYT commented 1 year ago

Feature Description

My idea is to update servers when someone has a server that was created on the Pterodactyl Panel but it doesn't show on CPGG.

Solution Idea

Every time the user logs in, the dash should update his servers

Additional Info

No response

GeckoBoy84 commented 1 year ago

This is not possible due to not having a product to link it to.

ManucrackYT commented 1 year ago

But some dash can do it

IceToast commented 1 year ago

This doesn't make sense. Why would you want to have manually created servers on pterodactyl automatically imported to cpgg to be charged? Just create them using cpgg. Just like @GeckoBoy84 said it is not possible to do so as you would need to choose a product a server is linked to, in order to charge for it.

1day2die commented 1 year ago

But some dash can do it

Yeah but our system works differently

AGuyNamedJens commented 1 year ago

But some dash can do it

In a basic sense; It's indeed possible, but would result in us having to add functionality for "invalid" products, our panel depends on a server being linked to a product, which then shows the charged price. Since other dashboards can do it it means they probably run charges on each server individually, not being linked to products at all which probably also means their dashboards run using the statement "Allocate any resource the way you like for coins" which is not how Controlpanel.gg is advertising itself as. We made our own way, and ontop of that as IceToast mentioned it doesn't make sense to have a billing panel and then keep on making servers on pterodactyl..?

1day2die commented 1 year ago

i would like to have the servers/products system like v1 anyway. having no producs but instead have the servers assign their specifications. this way we could also allow custom servers which would be great