@miner-org/mineflayer-economy
v0.0.1
Published
The mineflayer plugin for the bot economy server
Keywords
Readme
Installation
npm i @miner-org/mineflayer-economy
Example
const mineflayer = require("mineflayer");
const loader = require("@miner-org/mineflayer-economy")
const bot = mineflayer.createBot({
host: "localhost",
port: 25565,
username: "Imgay"
});
bot.loadPlugin(loader);
bot.once("spawn" async () => {
await bot.waitForChunks();
bot.economy.client.connect({
url: "ws//localhost:8484",
token: "yourtoken"
});
bot.economy.client.on("ready", () => {
console.log("Authenticated");
})
})API
idk man just look using intellisense
