Backing a server has never been easier than now. Backup your server with 1 command line from your Discord server, rather than logging into the panel.
- Simplified Backup: Perform server backups seamlessly with a single command in your Discord server.
- Convenient: No need to log into a separate panel; initiate backups directly from Discord.
- Customization: Tailor backup settings to suit your server's specific needs.
- Notification System: Receive notifications upon completion of backups or in case of errors.
This project includes a Java plugin for your Minecraft server, allowing seamless communication between the Discord bot and the server for backup initiation.
- Create and Invite a bot to your Discord server.
- Use the following application command to initiate a backup:
/backup
- Python 3.x
- Discord Bot Token
- Java 8 or later
- Bukkit/Spigot server for Minecraft
-
Clone the repository:
git clone https://github.com/Carpour/ServerBackup.git
-
Install Python dependencies:
pip install -r requirements.txt
-
Create a .env file where your discord bot is hosted, specifically among the main.py directory using the following template and configure it.
DISCORD_TOKEN=YOUR_BOT_TOKEN SERVER_IP=YOUR_SERVER_IP SERVER_PORT=INPUT_OPEN_PORT_OF_YOUR_SERVER
-
Configure your Minecraft server and ensure the Java plugin is installed.
-
Run the bot:
python main.py
Adjust the plugin's settings by modifying the configuration file (config.yml
) on your minecraft server.
If you find a bug, please report it to the issue tracker.
Any Contributions are welcome!
This project is licensed under the MIT License.