System Configuration
Configure core system settings including site information, email, Pterodactyl integration, payment, security, theme, and plugin settings.
Overview
PteroCA provides two ways to manage system configuration:
CLI Configuration Wizard - Interactive command-line tool for initial setup
Admin Panel Settings - Web interface for ongoing configuration management
The CLI wizard (pteroca:system:configure) is designed for first-time installation and covers essential settings. After installation, you can manage all settings through the Admin Panel's Settings menu, which provides access to all 51 configuration options across 7 categories.
Configuration Categories
PteroCA organizes settings into seven categories, each accessible through the Admin Panel:
General Settings
Configure core site settings including URL, title, locale, server lifecycle, and integrations.
Settings: Site URL, title, locale, telemetry, server deletion, PHPMyAdmin
CLI Coverage: Site URL, title, locale
Admin Panel: Settings → General
View General Settings Documentation
Theme Settings
Customize the appearance of your PteroCA panel including branding, colors, dark mode, and MOTD.
Settings: Logo, favicon, theme selection, colors, dark mode, MOTD
CLI Coverage: None (Admin Panel only)
Admin Panel: Settings → Appearance
View Theme Settings Documentation
Security Settings
Configure security features including email verification, CAPTCHA, and Terms of Service.
Settings: Email verification, Google reCAPTCHA, Terms of Service
CLI Coverage: None (Admin Panel only)
Admin Panel: Settings → Security
View Security Settings Documentation
Payment Settings
Set up payment processing with Stripe and configure currencies.
Settings: Stripe API keys, payment methods, currency configuration
CLI Coverage: Stripe key, currencies
Admin Panel: Settings → Payment Gateways
View Payment Settings Documentation
Email Settings
Configure SMTP settings for sending system emails, notifications, and renewal reminders.
Settings: SMTP server, port, credentials, sender address, renewal notifications
CLI Coverage: SMTP settings (5 settings)
Admin Panel: Settings → Email
View Email Settings Documentation
Pterodactyl Settings
Configure integration with Pterodactyl panel including API, SSO, and server management.
Settings: Pterodactyl URL, API key, SSO, server logs, use as client panel
CLI Coverage: URL, API key
Admin Panel: Settings → Pterodactyl
View Pterodactyl Settings Documentation
Plugin Settings
Manage configuration settings for installed plugins.
Settings: Dynamic (varies by installed plugins)
CLI Coverage: None (Admin Panel only)
Admin Panel: Settings → Plugins
View Plugin Settings Documentation
Configuration Methods
CLI Configuration Wizard
The CLI wizard is an interactive command-line tool for initial system setup.
When to use:
First-time installation
Automated deployments
Bulk reconfiguration
When Admin Panel is not accessible
Command:
Coverage: The wizard covers 13 essential settings across site, email, Pterodactyl, payment, and user creation.
Note: The old command name app:configure-system is deprecated but still works until v1.0.0.
Admin Panel Settings
The Admin Panel provides a comprehensive web interface for managing all settings.
When to use:
After initial installation
Day-to-day configuration changes
Settings not covered by CLI wizard
When you need visual feedback
Access:
Log in to the Admin Panel
Navigate to Settings in the main menu
Select the category you want to configure
Update values and click Save
Comparison
Settings Coverage
13 essential settings
All 51 settings
Use Case
Initial setup
Ongoing management
Interface
Command line
Web interface
Automation
Easy to script
Manual
Visual Feedback
Limited
Full UI with validation
Field Types
Text input only
All types (color picker, image upload, etc.)
Testing
Limited
Built-in test features (SMTP test, etc.)
Prerequisites
Before configuring your PteroCA system:
Database: Database must be configured and migrations run (Database Setup)
Pterodactyl API Key: Created with all read & write permissions (API Configuration)
SMTP Credentials: If using email features
Stripe Credentials: If accepting payments
Web Server: Properly configured (Web Server Setup)
Quick Start
First-Time Setup (CLI Wizard)
Ensure prerequisites are met
Run the configuration wizard:
Follow the interactive prompts
Verify settings in Admin Panel
Configure additional settings not covered by CLI wizard
Updating Existing Configuration
Via Admin Panel:
Navigate to Settings → [Category]
Update the value
Click Save
Via CLI:
Post-Configuration Checklist
After initial configuration, verify your setup:
Common Workflows
Fresh Installation
Run CLI wizard for initial setup:
Configure security settings via Admin Panel (CAPTCHA, email verification)
Customize theme and branding
Set up additional payment methods if needed
Configure plugin settings
Create user roles and permissions
Rebranding Your Panel
Navigate to Settings → General
Update site title
Navigate to Settings → Appearance
Upload new logo and favicon
Customize theme colors
Navigate to Settings → Security
Update Terms of Service if needed
Switching Email Providers
Navigate to Settings → Email
Update SMTP server, port, and credentials
Update sender address
Click "Test SMTP Connection" to verify
Save changes
Enabling SSO with Pterodactyl
Configure Pterodactyl addon (Pterodactyl Addon Installation)
Navigate to Settings → Pterodactyl
Enable SSO
Generate and save SSO secret key
Test SSO login flow
Configuration File Locations
Settings are stored in two locations:
Environment Variables (.env)
.env)App environment (
APP_ENV: dev, prod)Debug mode (
APP_DEBUG)CloudFlare settings (if applicable)
Other environment-specific variables
Database (setting table)
setting table)All system settings (51 total)
Site URL, title, and locale
Email (SMTP) configuration
Pterodactyl URL and API key
Payment settings (Stripe)
Security settings
Theme and appearance
Plugin configurations
Note: Settings configured via CLI wizard or Admin Panel are stored in the database with a 24-hour cache for performance.
Troubleshooting
For category-specific troubleshooting, see the dedicated documentation pages:
General Issues
CLI Command Fails to Run
Error: Command not found or permission denied
Solutions:
Database Connection Error
Error: Cannot connect to database
Solutions:
Verify database is configured: Database Setup
Check
.envfile has correctDATABASE_URLTest database connection:
Settings Not Saving
Error: Changes don't persist after save
Solutions:
Check file permissions on cache directory
Clear application cache:
Verify database connectivity
Check browser console for JavaScript errors
Related Documentation
Access Control - User roles and permissions
Pterodactyl Integration - Complete Pterodactyl setup guide
CLI Commands - All available commands
Additional Resources
Plugin Development - Learn how plugins can add custom settings
Theme Development - Customize your panel's appearance
Security Best Practices - Secure your installation
Last updated