MCS3-Backup
作者:rebot | 分类:模组
Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10
平台: paper spigot
标签: management storage utility
MCS3-Backup
A Spigot plugin that can back up Minecraft server worlds and upload them to S3.
Features
- Create backups of worlds (schedules configurable using cron format)
- Automatic deletion of old backups (number of backups to keep configurable in config.yml)
- Upload backups to S3 (authentication and enable/disable configurable)
Installation
- Download the latest .jar file from Releases
- and place it in the
pluginsfolder. - Restart the server.
- Edit
plugins/MCS3-Backup/config.ymland configure the settings as needed.
Configuration
backup-time: "0 0 * * *" # Schedule backups using cron format
backup-worlds: # List of directories to back up (relative to the root directory)
- world
- world_nether
- world_the_end
backup-keep-count: 1 # Number of backups to keep
S3: # See S3 setup instructions below
enabled: false # Enable or disable uploading to S3
bucket: "your-bucket-name"
region: "ap-northeast-1"
storage-class: "STANDARD"
upload-prefix: "backups/" # Slash at the end is optional
access-key: "your-access-key"
secret-access-key: "your-secret-access-key"
S3 Setup
- Create an IAM user with
s3:PutObjectpermissions and obtain the Access Key and Secret Access Key. - Create a S3 bucket and note the bucket name and region.
- Edit the S3 section in
config.ymland enter the obtained credentials. - Optionally, configure the
storage-classandupload-prefix. - Restart the server.
Commands and Permissions ( /mcs3 )
All /mcs3 commands can be executed with the MCS3Backup.commands.mcs3 permission.
- reload : Reloads all configuration items from
config.yml. - help : Displays a list of available commands.
- next : Shows the scheduled time for the next backup.
Planned Features
- Manual backup via command
- List and delete backups
- Generate download links for backups
- Automatic deletion of backups in the S3 bucket
- Reload configuration via command
License
MCS3-Backup is released under the MIT License.
请登录后举报
暂无评论,抢个沙发吧~