Skip to content

deosync/FlayerCaptcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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');
    });
})();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published