Coin System for Pterodactyl Panel
Real-time per-minute billing, server deployment, and payment integrationOverview
A complete coin-based billing and server deployment addon for Pterodactyl Panel. Users purchase coins through your configured payment gateways, deploy servers from a dedicated wallet page, and get billed automatically every minute. If their balance runs out, the server is gracefully suspended — and resumed the moment they top up. Everything is managed from a fully integrated admin panel with no external dashboards needed.
Billing Engine
- Per-minute billing — coins deducted every 60 seconds via Laravel scheduler
- Two billing modes: Always (billed while server exists) or Running Only (billed only while server is online)
- Billing mode configurable globally and overridden per individual server
- Configurable grace period before suspension after balance hits zero
- Configurable auto-delete period for long-suspended servers
- Server automatically resumes when the user tops up their balance
User Wallet Page
- Live real-time balance counter that drains visually every second
- Coins available, coins per hour, hours remaining, and total transactions at a glance
- Low balance warning banner with configurable threshold
- Full transaction history with pagination
- Buy coins section with selectable packages and payment gateway dropdown
Server Deployment
- Users can deploy servers directly from the wallet page
- Select location, nest, egg, and resource tier
- Live cost preview showing coins per hour and hours their balance covers
- Admin-configurable minimum balance required before deployment
- Admin-configurable maximum servers per user
Server Upgrade Tab
- Dedicated Upgrade tab on coin-managed servers inside the Pterodactyl panel
- Lists all admin-defined resource tiers with full specs
- One-click upgrade applies changes live via Wings
Resource Tiers
- Unlimited plans with custom names and hourly coin costs
- Per-plan: CPU, RAM, disk, databases, backups, allocations
- Used at both deployment and upgrade time
Payment Gateways
- Stripe, PayPal, Razorpay
- Each gateway individually toggled on/off from the admin panel
Admin Panel
- Fully integrated into the Pterodactyl sidebar under a dedicated Coin System section
- Overview dashboard with total users, wallets, transactions, and revenue
- Billing Settings — grace period, auto-delete, signup bonus, min deploy hours, max servers, low balance warning
- Server Plans — create, edit, delete resource tiers
- Packages — create coin bundles with names, amounts, and prices
- Payment Gateways — configure API keys
- Coin Servers — view all coin-managed servers, override billing mode per server
- Users — view all wallets, manually credit or debit balances
- Transactions — full log of every credit and debit across all users
Requirements
- Pterodactyl Panel v1.x (Wings-based — not compatible with legacy v0.x)
- PHP 8.0 or higher
- MySQL / MariaDB
- Composer
- Laravel scheduler running (cron job)
- At least one payment gateway API key
Installation
A detailed step-by-step HTML installation guide is included with your purchase. Installation takes approximately 10–15 minutes.
Support
Discord: discord.gg/PPZz7z9Mnd
Username: kingofwardens
Email: [email protected]
