8Crafter Wiki
Add-Ons
  • Add-Ons
  • Released
    • BlueMods Anticheat
      BP
      RP
    • Entity Scale
      BP
      RP
    • Online Player Hider
      RP
    • Pause Menu Button Remover
      RP
    • Secret Items Loader
      BP
    • Server Utilities
      BP
      RP
    • World Height Limit Modifier
      BP
iPhone/iPad Shortcuts
  • iPhone/iPad Shortcuts List
Java Programs
  • Java Programs List
Node.js Programs
  • Node.js Programs List
  • Released
    • .mcstructure File Importer
      Web
    • Add-On Releaser
      CLI
      MOD
      NPM
    • Image Corruptor
      CLI
      MOD
      NPM
    • MP3 Tag Editor
      Web
    • Ore UI Customizer
      Web
    • Random Image Generator
      CLI
      MOD
      NPM
  • Upcoming
    • Mass Add-On Extractor
      CLI
      NPM
    • MCBE mcServer Module Fixer
      CLI
      NPM
Windows Registry Files
  • Windows Registry Files List
Meta
  • Useful Links

Video Settings

Theme

8Crafter's Add-On Releaser

CLI
Module
NPM
Add-On Releaser
  • Details
  • Installation
  • CLI
  • Configuration
GitHubNPM

This is a command-line tool and node module that handles every step of generating the release files for your Minecraft Bedrock Edition add-on for you.

It is available on NPM.

Details ​

NPM DownloadsNPM VersionNPM LicenseNPM Last UpdateNPM Unpacked SizeGitHub last commitDiscord

This is a command-line tool that handles every step of generating the release files for your Minecraft Bedrock Edition add-on for you.

It can:

  • Add the files from your development behavior and resource packs into a .mcaddon file.
  • Remove development folders such as src and node_modules.
  • Remove development files such as package.json and package-lock.json.
  • Update the add-on's version number.
  • Apply any desired modifications to the release files automatically, including adding, removing, renaming, and moving file and folders.

It uses a configuration file called add-on-releaser-config.json to specify the options.

You can have as many packs as you want included in the .mcaddon file.

Installation ​

npm i -g add-on-releaser
1

CLI ​

Usage:

add-on-releaser [configPath]

Parameters:

configPath      The path to the configuration file. Defaults to "./add-on-releaser-config.json".
1
2
3
4
5
6
7

Configuration ​

The schema can be accessed at: https://raw.githubusercontent.com/8Crafter-Studios/Add-On-Releaser/refs/heads/main/8crafters-add-on-releaser-config.schema.json

Here is the default configuration file (Note: You will need to modify a few options for it to work):

json
{
    "$schema": "https://raw.githubusercontent.com/8Crafter-Studios/Add-On-Releaser/refs/heads/main/8crafters-add-on-releaser-config.schema.json",
    "cwd": "./",
    "destination": "./Release Files", // Set this to the directory you want the generated .mcaddon file to be placed in.
    "packs": [
        {
            "path": "./BP", // The path to the behavior pack.
            "release_name": "bp", // The folder name of the behavior pack in the .mcaddon file.
            "modifications": [
                {
                    "type": "delete_folders",
                    "targets": ["src", "node_modules", ".git", ".vscode", "deprecated"] // This is a list of folders that will not be included in the release files.
                },
                {
                    "type": "delete_files",
                    "targets": [
                        ".git",
                        ".eslintrc",
                        ".gitignore",
                        ".gitmodules",
                        ".hintrc",
                        ".gitattributes",
                        ".mcattributes",
                        "desktop.ini",
                        "package.json",
                        "package-lock.json",
                        "jsconfig.json",
                        "tsconfig.json",
                        "tsconfig.tsbuildinfo"
                    ] // This is a list of files that will not be included in the release files.
                }
            ]
        },
        {
            "path": "./RP", // The path to the resource pack.
            "release_name": "rp", // The folder name of the resource pack in the .mcaddon file.
            "modifications": [
                {
                    "type": "delete_folders",
                    "targets": ["node_modules", ".git", ".vscode", "deprecated", "blockbench_models"] // This is a list of folders that will not be included in the release files.
                },
                {
                    "type": "delete_files",
                    "targets": [
                        ".git",
                        ".eslintrc",
                        ".gitignore",
                        ".gitmodules",
                        ".hintrc",
                        ".gitattributes",
                        ".mcattributes",
                        "desktop.ini",
                        "package.json",
                        "package-lock.json",
                        "jsconfig.json",
                        "tsconfig.json",
                        "tsconfig.tsbuildinfo"
                    ] // This is a list of files that will not be included in the release files.
                }
            ]
        }
    ],
    "file_type": "mcaddon",
    "file_name": "myaddon-v${version}", // Set this to the name you want the .mcaddon file to have, ${version} will be replaced with the version of the pack.
    "file_name_version": {
        "format": "dashed",
        "sourcePack": "00000000-0000-4000-8000-000000000000" // Set this to the UUID of the pack you want to get the version number from.
    },
    "release_version_format": "tuple"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Edit Add-On Releaser on GitHub
  • 8crafter.com
  • Discord
  • GitHub Repository