▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/SyncBackupPlugin
SyncBackupPlugin

SyncBackupPlugin

A fast and safe synchronous world-backup plugin for Paper and its forks. Includes automatic backup rotation, language support, and simple configuration.

36
0

SyncBackupPlugin

日本語の説明は下の方にあります

English

Features

・Automatically performs world backups at specified intervals.
・World copying is done synchronously for safety.
・Zip compression is done asynchronously, making it fast.

Key Functions

・Regular world backups
・/sbp backup now command to trigger an immediate backup

Supported/Test Environment

・Tested on: Paper 1.21.10 build 113
・Officially supports Paper 1.21.8 and above. It should also work on most Paper forks.

Installation

1.Download the plugin jar.
2.Copy or move the jar into your server's plugins folder.
3.(Re)start your server.
4.Done!

Configuration

When the server is (re)started, a SyncBackupPlugin folder will be created inside the plugins folder.
Inside, you will find a config.yml file.
The default contents are as follows:

#Specify the language file (do not write .yml)
language: en_US

#Time from server startup to first backup
initialDelaySeconds: 600 #Default: 600

#Backup latency beyond the first backup

loopIntervalSeconds: 3600 #Default: 3600

#Set how many previous backups to save. Specifying -1 means no limit.
maxBackups: 20

# Please enter 0-9.
#The smaller the number, the faster the speed and the larger the file size.
#The larger the number, the slower the speed and the smaller the file size.
zipCompressionLevel: 1 #Default: 1

To change the language, modify the language field.
For example, setting it to ja_JP will make the plugin load ja_JP.ymlfrom the lang folder.
A server restart is required for changes to take effect.
Other settings are explained in the comments within config.yml.

Others

The source code is publicly available on GitHub.
Development Environment: IntelliJ IDEA

日本語

このプラグインの特徴

・設定した時間ごとに自動的にワールドのバックアップを実行します。
・ワールドのコピーは同期的に実行されるため、安全です。
・zip化は非同期のため、高速です。

具体的な追加要素

・定期的なワールドのバックアップ
・/sbp backup now コマンド 即座にバックアップを開始します。

動作環境/テスト環境

テスト環境: Paper 1.21.10 113
公式サポートはPaper1.21.8以降のみですが、おそらくPaperのフォークなら動作します。

導入方法

1.プラグインのjarをダウンロード
2.サーバーのpluginsフォルダにダウンロードしたプラグイン(jar)をコピーまたは移動
3.サーバーを(再)起動
4.完了!

configについて

サーバーを(再)起動すると、サーバーのpluginsフォルダ内にSyncBackupPluginフォルダが生成されます。
その中にconfig.ymlは生成されています。
初期状態の中身はこのようになっています

#Specify the language file (do not write .yml)
language: en_US

#Time from server startup to first backup
initialDelaySeconds: 600 #Default: 600

#Backup latency beyond the first backup

loopIntervalSeconds: 3600 #Default: 3600

#Set how many previous backups to save. Specifying -1 means no limit.
maxBackups: 20

# Please enter 0-9.
#The smaller the number, the faster the speed and the larger the file size.
#The larger the number, the slower the speed and the smaller the file size.
zipCompressionLevel: 1 #Default: 1

言語を変更する場合は、language項目を変更します。
例えば、ja_JPとした場合、プラグインはlangフォルダ内のja_JP.ymlを読み込みます。
適応にはサーバーの再起動が必要です。
その他の項目はconfig.yml内のコメントを参考にしてください。

その他

ソースコードはGithubで公開しています。 開発環境: IntelliJ Idea

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:MIT
Опубликован:3 месяца назад
Обновлён:3 месяца назад
Главная