pterodactyl / whmcs

WHMCS Module for Pterodactyl (v0.7.3 and higher)
MIT License
187 stars 77 forks source link

Save suspended gameserver on external data like hdd and move him back when the Server is unsuspended #85

Closed Felix5566 closed 3 years ago

Felix5566 commented 3 years ago

Save suspended gameserver on external data like hdd and move him back when the Server is unsuspended:

When a game server is suspend mode, the server will go into copy mode. In copy mode all data is copied from the game server to an external storage. If the gameserver has been successfully moved to the external storage, the gameserver is deleted from the node and the reserved "Memory Allocated" and "Disk Space Allocated" is released again from the node.

If the player wants to have the server again, he has to pay the bill, so the server is unsuspended and the data is copied back.

theMackabu commented 3 years ago

sounds like there is alot of space for trouble, such as like, a file not copied right.

danny6167 commented 3 years ago

So what happens when the customer pays the bill and the whole thing falls apart because you unreserved the HDD and RAM space and the node is now filled by other customers? Lots of potential points of failure here without any real gain.

This is also not something that the WHMCS module could even do. This requires panel changes.

DaneEveritt commented 3 years ago

This is not something that this module alone can accomplish effectively, and per https://github.com/pterodactyl/panel/issues/3094 I'm not building that functionality into the core.