Skip to content

Pix3lPirat3/mineflayer-autoclicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mineflayer-autoclicker

A simple autoclicker plugin for Mineflayer.


Getting Started

This plugin is built using Node and can be installed using:

# npm install --save mineflayer-autoclicker

This plugin has no dependencies.

Simple Bot

// Create your bot
const mineflayer = require("mineflayer");
const bot = mineflayer.createBot({ username: "Player" });

// Start clicking.. (and load plugin)
bot.on('spawn', function() {
  bot.loadPlugin(require('mineflayer-autoclicker'))
  bot.autoclicker.start();
});

// Stop clicking..
bot.on('death', function() {
  bot.autoclicker.stop()
})

Documentation

API

Examples

License

This project uses the MIT license.

Contributions

This project is accepting PRs and Issues. See something you think can be improved? Go for it! Any and all help is highly appreciated!

For larger changes, it is recommended to discuss these changes in the issues tab before writing any code. It's also preferred to make many smaller PRs than one large one, where applicable.