Skip to content

judamar/QBTF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | Español

Quick Backup to Firebase (qbtf)

Github downloads

This is a plugin for MCDReforged that allows upload the backup made by QuickBackupM to the Firebase Storage.

Requires >= v2.0.0a1 MCDReforged.

Description

The QBTF plugin is a tool for upload and download the backup (Slot1 by default) to the Firebase Storage.

Commands

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).

Requirements

Install this:

pip install requests-toolbelt==0.10.1
pip install pycryptodome
pip install pyrebase4

Configuration

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.

Default Configuration:

{
    "prefix": "!!qbtf",
    "source_path": "./qb_multi/slot1",
    "dest_path": "./qbtf/",
    "firebase_config": {"databaseURL": ""},
    "permission": 0,
    "comp_name": "qb_comp",
    "extension": "zip",
    "fb_path": "smp/"
}

About

Plugin para el MCDR que sube el backup del Slot 1 al storage de firebase.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages