BdsPackManager
BdsPackManager is a command-line tool designed for managing resource and behavior packs on a Minecraft Bedrock Dedicated Server (BDS). It allows you to easily add, validate, update, and manage packs, ensuring your server is always up-to-date with the latest content.
Features
- Add Packs: Supports adding
.mcpack,.mcaddon, and directories containing validmanifest.jsonfiles. - Automatic Unzipping: Automatically extracts and processes
.mcpackand.mcaddonfiles. - Validation: Ensures consistency between the packs listed in your server's configuration files and the actual content in the
resource_packsandbehavior_packsdirectories. - Version Updates: Update the
@minecraft/serverdependency version inbehavior_packsmanifests to ensure compatibility with your server version. - Selective Updates: Use
--update-onlyto update versions for packs in a specific folder, including.mcpackfiles. - Configurable: Specify the server directory using command-line arguments, a
.envfile, or~/.bdspackrcfor a global configuration. - Interactive or Automatic: Prompt for overwrites or use the
--forceflag to skip confirmation and automate updates.
Installation
-
Install via pip:
pip install bdspackmanager
-
Set up your environment:
-
Optionally, create a
.envfile in your project directory or a~/.bdspackrcfile for global configuration:BDS_DIRECTORY=/path/to/your/bedrock_server -
The tool prioritizes the following configuration sources:
- Command-line arguments
- Environment variables from
.envin the project directory - Environment variables from
~/.bdspackrc
-
Usage
Command-line Arguments
python -m bdspackmanager [OPTIONS] [PACKS...]
Options
PACKS...: One or more paths to.mcpack,.mcaddon, or directories containing a validmanifest.json.--bds-dir: Specify the path to the Bedrock Dedicated Server directory (overrides.envand~/.bdspackrc).--validate: Validate and rescan JSON files for consistency with the actual content in theresource_packsandbehavior_packsdirectories.--update: Update@minecraft/serverdependency versions in allbehavior_packs.--update-only <dir>: Update@minecraft/serverdependency versions for packs in the specified folder, including.mcpackfiles.--version <version>: Specify the target version for@minecraft/serverwhen using--updateor--update-only.--force: Skip confirmation prompts when overwriting existing packs.
Example Usage
-
Adding a Pack:
python -m bdspackmanager /path/to/your_pack.mcpack
-
Validating Pack Consistency:
python -m bdspackmanager --validate
-
Updating All Behavior Packs:
python -m bdspackmanager --update --version "1.16.0-beta"
-
Updating Packs in a Specific Folder:
python -m bdspackmanager --update-only /path/to/pack_folder --version "1.16.0-beta"
Global Configuration Support
BdsPackManager supports global configuration through the ~/.bdspackrc file. This file behaves like .env and allows you to set environment variables for the tool. For example:
BDS_DIRECTORY=/path/to/your/bedrock_server
When present, ~/.bdspackrc is automatically loaded and used as a fallback if a .env file is not found in the project directory. You can override these settings with command-line arguments.
Metadata
Release files for bdspackmanager 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bdspackmanager-1.1.3.tar.gz | 7.3 kB | Without provenance | Details for bdspackmanager-1.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bdspackmanager-1.1.3-py3-none-any.whl | Python 3 | none | any | Details for bdspackmanager-1.1.3-py3-none-any.whl |
Total release size: 17.0 kB
Release files / bdspackmanager-1.1.3.tar.gz
| Download URL | bdspackmanager-1.1.3.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0960356b28f6498ce315af6574b8d83d659a6865186c5bed73af5851d773dcdc
|
|
BLAKE2b-256 checksum How to use checksums |
d21c42b89f11f7fe8643bd1bf684188472fa62a58a41db21e81e338362492849
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.3 Windows/11
|
Release files / bdspackmanager-1.1.3-py3-none-any.whl
| Download URL | bdspackmanager-1.1.3-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c391fe8ff8466e46ddfd57a52cbcd0c483e3359dfa24b7f1399b5a5c4aa1c70
|
|
BLAKE2b-256 checksum How to use checksums |
6ad8537fddf251833f8a579ffaa8b6b450180fc261958c440f4018c15a3c6d88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.3 Windows/11
|
Security for bdspackmanager 1.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.