An automated management tool for a bedrock server. It will handle updating, shutting down, making backups, handling a dynamic dns, and even connecting players on a console to the server.
After setup, the program determines which mode to run based on configuration and timing:
- NORMAL - Standard operating mode that updates the DNS and then updates the server if needed and lastly starts the server with automatic shutdown after inactivity
- DRIVE_BACKUP - Initiates backup to online drive using the latest symlink via Rclone
- INVALID - Triggered when server starts outside configured valid hours
- CONFIGURATION - First-time setup mode when no config.yaml exists
Note: This program has been tested exclusively on Ubuntu. Ubuntu is the recommended platform. For drive backup functionality, Rclone must be configured separately (tutorial below).
Firstly, place the script in the desired location, then just run the following commands in that folder
chmod +x bedrock-manager
./bedrock-managerThe setup script will guide you through the configuration process.
./{location}/bedrock-manageror after adding the alias
bsmIf you need to work on the server without being disturbed by the automatic shutdown you will need to create the no shutdown flag, like this:
cd Bedrock-server-manager
touch no_shutdown.flagTo make it shutdown again, you'll need to remove the file again:
cd Bedrock-server-manager
rm no_shutdown.flag- Home Assistant Integration - Manage auto shutdown via a Home Assistant switch
- Backup Management - Create multiple backups, two to a storage device and one to a cloud service using Rclone
- Intelligent Scheduling - Cloud backups can be scheduled in the night to make shutdown faster
- Dynamic DNS - DynuDNS integration to make managing a url easy
To automatically start this program on boot, follow this tutorial.
To configure Rclone follow one of these tutorials:
This project integrates the following open-source tools:
- Broadcaster (GPL-3.0 License) - Console bridge functionality
- Minecraft-Bedrock-Server-Updater (MIT License) - Server update automation
AI assistance was utilized for specific components: load_config.py and formatting of the README.md.