Pre-flight checklist
Branch
main
Bug Description
In version v1.2.0 of the Pterodactyl-based control panel (from Ctrlpanel-gg/panel), when a user's server is suspended due to insufficient credits, adding more credits to the user's account does not automatically unsuspend the server.
This behavior differs from version 0.9.x, where adding credits would automatically unsuspend the server.
Steps to Reproduce
- User runs out of credits → server becomes suspended automatically.
- Admin adds credits to the user's account.
- Observe the server status.
Actual Result (v1.2.0):
- Credits are successfully added.
- Server remains suspended and must be manually unsuspended by admin.
Expected Behavior
Expected Result (based on v0.9.x behavior):
- Credits are added.
- Server automatically unsuspends immediately or after a short delay.
Impact:
- Admin must manually unsuspend each server after adding credits.
- Causes delays and extra work, especially with multiple users.
- User experience is degraded compared to previous version.
CtrlPanel Logs
Additional Info
Environment:
Expected Behavior (from v0.9.x):
After adding credits to a user with a suspended server (due to credit exhaustion), the server automatically unsuspends.
Suggested Fix:
Re-implement the auto-unsuspend logic from version 0.9.x.
This likely requires checking the user's credit balance after an update and triggering unsuspension if the balance is sufficient.
Additional Notes:
This is a regression from version 0.9.x to 1.2.0.
Please restore the previous behavior to maintain usability.
Pre-flight checklist
Branch
main
Bug Description
In version v1.2.0 of the Pterodactyl-based control panel (from Ctrlpanel-gg/panel), when a user's server is suspended due to insufficient credits, adding more credits to the user's account does not automatically unsuspend the server.
This behavior differs from version 0.9.x, where adding credits would automatically unsuspend the server.
Steps to Reproduce
Actual Result (v1.2.0):
Expected Behavior
Expected Result (based on v0.9.x behavior):
Impact:
CtrlPanel Logs
Additional Info
Environment:
Expected Behavior (from v0.9.x):
After adding credits to a user with a suspended server (due to credit exhaustion), the server automatically unsuspends.
Suggested Fix:
Re-implement the auto-unsuspend logic from version 0.9.x.
This likely requires checking the user's credit balance after an update and triggering unsuspension if the balance is sufficient.
Additional Notes:
This is a regression from version 0.9.x to 1.2.0.
Please restore the previous behavior to maintain usability.