1.0.1 • Published 6 months ago

flayercaptcha v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

FlayerCaptcha

FlayerCaptcha is a module for Mineflayer bots that makes it easier to work with images on Minecraft servers.

Installation

npm i flayercaptcha

Example Usage

const mineflayer = require('mineflayer');
const FlayerCaptcha = require('FlayerCaptcha');

(async () => {
    const bot = mineflayer.createBot({ host: 'localhost', port: 25565, username: 'username' });

    const captcha = new FlayerCaptcha(bot);
    captcha.on('success', async (image, viewDirection) => {
        await image.toFile('captcha.png');
        console.log('Captcha saved');
    });
})();
1.0.1

6 months ago

1.0.0

9 months ago