Описание
# AutoBackup
Schedule and perform automatic Minecraft server world backups.
**Feature list:**
- Automatic backup
- Dropbox support
- FTPS (Implicit TLS) support
- Configurable backup frequency
- Backup into specified directory
- Selective backups of certain worlds
- Automatically delete old local world backups
- Compress the data using the Deflate algorithm
**Example file structure:**

**Default config.yml:**
```
# Backup Configuration
backup-frequency: 10800 # in seconds (e.g., 3600 seconds = 1 hour)
max-backups: 15 # maximum number of world backups to keep
backup-path: "backups" # relative path to the backup directory
worlds:
- world
- world_nether
- world_the_end
# FTP Backup Configuration
ftp:
enabled: false # Set to true to enable FTP backups
host: "ftp.example.com"
port: 990 # Implicit TLS Port
username: "your_username"
password: "your_password"
remote-path: "/backups"
use-implicit-tls: true
# Dropbox Backup Configuration
dropbox:
enabled: false # Set to true to enable Dropbox backups
access-token: "your-dropbox-access-token"
remote-path: "/backups"
```
**Building:**
To build the plugin jar file, run:
```powershell
.\gradlew.bat shadowJar
```
The compiled jar will be available in the `build/libs/` directory.
**Steps to install and set up:**
1. Download the .jar file and place it within the plugins/ directory of your Minecraft server
2. Restart the Minecraft server to generate the default configuration files
3. Edit the configuration file to reflect your needs