Basic plugin

make a folder called whatever you want, put 2 files inside of it named plugin.txt and main.js

plugin.txt is required to let me know what your plugin does when submitting it to the azalea community website

Compiling

const Injector = require("./inject");
const fs = require('fs-extra');
const decompress = require('decompress');

let nautilus = new Injector("AZALEA-MCADDON.mcaddon",async()=>{
    await nautilus.inject('test', 'dir')
    console.log("COMPRESSING")
    fs.rmSync('testytest', {recursive:true});
    await nautilus.compress()
        fs.rmSync("C:\\Users\\YOUR-WINDOWS-USERNAME\\AppData\\Local\\Packages\\Microsoft.MinecraftUWP_8wekyb3d8bbwe\\LocalState\\games\\com.mojang\\development_behavior_packs\\Azalea-Recontinued\\scripts", {recursive:true});
        decompress('output.zip', "testytest").then(()=>{
            fs.copySync('testytest/scripts', "C:\\Users\\YOUR-WINDOWS-USERNAME\\AppData\\Local\\Packages\\Microsoft.MinecraftUWP_8wekyb3d8bbwe\\LocalState\\games\\com.mojang\\development_behavior_packs\\Azalea-Recontinued\\scripts")
        }).then(()=>{}).catch(()=>{})
    })

Make sure you have the inject.js from https://github.com/Ant767/Nautilus-Injector and have all the packages listed in package.json

And also make sure you have azalea unzipped in the Azalea-Recontinued folder in development_behavior_packs (remember to change the UUID)

Last updated