angram/lib/plugins/armor.js
jay 4f1e510386 feat: 🎉 init new repo
Dump of current working bot.

Warning: somewhat messy code! Lints haven't been run, no tests, etc.
2020-12-21 21:08:38 +05:00

16 lines
322 B
JavaScript

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 }