Skip to content

Suspended Server Does Not Automatically Unsuspend After Adding User Credits #1350

Description

@tomiheneldra

Pre-flight checklist

  • I have searched existing issues and this has not been reported before
  • I am using the latest available release

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

  1. User runs out of credits → server becomes suspended automatically.
  2. Admin adds credits to the user's account.
  3. 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:

  • Panel version: v1.2.0
  • Original source: Ctrlpanel-gg/panel
  • Previous working version: 0.9.x

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    InvalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions