const armorManager = require('mineflayer-armor-manager') const mineflayer = require('mineflayer'); let cfg = {} const load = (config) => { cfg = config bot = cfg.bot bot.loadPlugin(armorManager); } const unload = () => { console.warn("armour: may not properly unload") } module.exports = { load, unload }