1.0.1 • Published 2 years ago

mineflayer-repl v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Notes

This project was rushed to a quick release, and is in no way stable.

Getting Started

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

npm install --save mineflayer-repl

Simple Bot

The brief description goes here.

const mineflayer = require('mineflayer')
const { log, replPlugin } = require('mineflayer-repl');

const bot = mineflayer.createBot({ })
replPlugin(bot);

bot.repl.on('enter', function(command) {
    if(command.length === 0) return;
    if(command === 'quit') return bot.quit();
});

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.