English | Español
This is a plugin for MCDReforged that allows upload the backup made by QuickBackupM to the Firebase Storage.
Requires >= v2.0.0a1
MCDReforged.
The QBTF plugin is a tool for upload and download the backup (Slot1 by default) to the Firebase Storage.
The QBTF plugin adds the following commands:
!!qbtf
: Displays help message.!!qbtf upload
: Compresses the Slot1 (by default) folder and uploads it to Firebase Storage.!!qbtf download
: Downloads the backup from Firebase Storage and extracts it into Slot1 (by default).
Install this:
pip install requests-toolbelt==0.10.1
pip install pycryptodome
pip install pyrebase4
You can configure the plugin's behavior in the config.json
file with the following options:
- prefix: Defines the prefix for the plugin's commands.
- source_path: Path of the folder to be compressed and uploaded.
- dest_path: Path where the downloaded backups will be stored.
- firebase_config: Key provided by Firebase App Storage, follow this tutorial.
- permission: Minimum permission level required to execute commands.
- comp_name: Name of the compressed file.
- extension: Backup file extension.
- fb_path: Path within Firebase Storage where files are stored.
The plugin should work without additional modifications, as long as the Firebase configuration is correct.
{
"prefix": "!!qbtf",
"source_path": "./qb_multi/slot1",
"dest_path": "./qbtf/",
"firebase_config": {"databaseURL": ""},
"permission": 0,
"comp_name": "qb_comp",
"extension": "zip",
"fb_path": "smp/"
}