A Flask-based web application for managing VaultHunters Minecraft servers. Provides server control, log monitoring, configuration management, and backup downloads through a web interface.
- Server Control: Start, stop, restart Minecraft server processes
- RCON Console: Execute server commands through integrated console
- Log Monitoring: Real-time log viewing with Server-Sent Events
- Configuration Editor: Edit server.properties and mod configurations
- Configuration Checker: Actively checks your server.properties for application compatibility and will ask to apply the changes
- Backup Management: Download and manage server backups
- Status Monitoring: Real-time server status and player counts
- Security: CSRF protection and input validation
- Python 3.10 minimum, 3.12+ recommended
- Java 17 only! (requirement for Vaulthunters modpack)
- Caddy web server for TLS termination and reverse proxy
- Recent Linux kernel 6.x with systemd (required for systemd service, can run manually without, or init script if you make them yourself)
Note: Caddy should simply be installed, not enabled or running! The application starts a caddy user session as an integral part of the application.
Download and run manually:
wget https://raw.githubusercontent.com/Hr46ph/vaulthunters_web_manager/main/install.sh
# Reviewing the file is strongly recommended
sh ./install.sh
# or chmod and run directly:
chmod +x install.sh
./install.sh- Clone the repository:
git clone --branch v1.0.0 https://github.com/Hr46ph/vaulthunters_web_manager.git
cd vaulthunters_web_manager- Create virtual environment:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt- Copy and configure settings:
cp config.toml.example config.toml
# Edit config.toml with your server paths and settings- Run the application:
python app.pyThe application uses config.toml for configuration. Key settings include:
- Server paths: Minecraft server directory and backup location
- Web interface: Host, port, and security settings
- Memory settings: Java heap allocation based on system RAM
- File permissions: Editable configuration files
See config.toml.example for detailed configuration options.
Access the web interface at https://localhost:8889 (HTTPS via Caddy reverse proxy).
The application automatically creates an admin user with a randomly generated secure password on first startup. To find your login credentials:
sudo journalctl -u vaulthunters_web_manager.service | grep 'ADMIN CREDENTIALS'Look for a log message like:
🔑 DEFAULT ADMIN CREDENTIALS CREATED - Username: admin, Password: [random password]
If installed via the automated installer:
sudo systemctl status vaulthunters_web_manager.service
sudo systemctl restart vaulthunters_web_manager.service
sudo systemctl stop vaulthunters_web_manager.serviceIf installed via the automated installer:
sudo journalctl -u vaulthunters_web_manager.service -f- Caddy Reverse Proxy: TLS termination and HTTPS handling with automatic certificate management
- Flask Backend: HTTP application server running on localhost for security
- Direct Process Management: Controls Minecraft server processes without requiring systemd
- Real-time Updates: Server-Sent Events for live log streaming and status updates
- Security: Flask-WTF CSRF protection and input validation
- Process Independence: Web application restarts don't affect running Minecraft server
- Clone and set up virtual environment (see Manual Installation)
- Copy
config.toml.exampletoconfig.toml - Configure paths for your development environment
- Run with
python app.py
Use the uninstaller script:
curl -fsSL https://raw.githubusercontent.com/Hr46ph/vaulthunters_web_manager/main/uninstall.sh | bashThis project is open source. See the repository for license details.
- Check the Issues page for common problems
- Review
RCON_HELP.mdfor VaultHunters-specific commands - Examine service logs for troubleshooting:
journalctl -u vaulthunters_web_manager.service