mineflayer-armor-manager
v2.0.1
Published
Manage armor automatically with various configs
Downloads
4,097
Readme
ArmorManager
Plugin for MineFlayer, that makes bot automatically equip better armor.
Getting started
If using NPM:
npm install mineflayer-armor-manager
If using YARN:
yarn add mineflayer-armor-manager
Usage
const armorManager = require("mineflayer-armor-manager");
const mineflayer = require("mineflayer");
const bot = mineflayer.createBot({
username: "Player",
host: "localhost",
port: 25565,
});
bot.loadPlugin(armorManager);
If needed, it's possible to trigger a function that will check whole inventory and equip best possible armor, on spawn for example:
bot.once("spawn", () => bot.armorManager.equipAll());
License
MIT © Konstantin Azizov