mirror of
https://github.com/ibratabian17/OpenParty.git
synced 2026-01-15 14:22:54 -03:00
1.7 KiB
1.7 KiB
OpenParty Admin Panel Plugin
Overview
Secure web-based administration interface for OpenParty server management. Features a modern dark theme UI and comprehensive server management capabilities.
Features
- Secure session-based authentication
- Server status monitoring
- Plugin management
- Savedata modification and Git integration
- Automated backups
- Update management
- Maintenance mode control
- Server logs viewer
Installation
- Install dependencies:
cd plugins/panel
npm install
- Add the plugin to
settings.json:
{
"modules": [
{
"name": "AdminPanelPlugin",
"description": "Secure admin panel for server management",
"path": "{dirname}/plugins/AdminPanelPlugin.js",
"execution": "init"
}
]
}
- Set environment variables (optional):
SESSION_SECRET: Custom session secret (default: 'openparty-secure-session')ADMIN_PASSWORD: Admin password (default: 'admin123')
Security
- Session-based authentication
- Password hashing with bcrypt
- HTTPS-only cookie security
- Session expiration
Usage
- Access the panel at:
https://your-server/panel - Login with admin credentials
- Use the dashboard to manage:
- Server status and statistics
- Plugin management
- Savedata modifications
- Backup management
- Server updates
- Maintenance mode
- Server logs
Automated Features
- Daily automated backups
- Git integration for savedata changes
- Plugin hot-reloading
- Server update management
Development
The panel uses a modern tech stack:
- Express.js for backend
- SQLite for session storage
- Modern CSS with dark theme
- Responsive design
- Vanilla JavaScript for frontend interactions