Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.3 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.3 KB

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.