mineflayer-altlogin

1.0.1 • Public • Published

mineflayer-altlogin

This package wraps mineflayer's createBot function to allow login with a username:password string

Installation:

npm i mineflayer-altlogin

Example:

const mineflayer = require('mineflayer-altlogin')

const bot = mineflayer.createBot({
  host: 'localhost',
  login: 'username:password'
})

bot.on('spawn', () => {
  console.log("I'm in!")
})

Readme

Keywords

Package Sidebar

Install

npm i mineflayer-altlogin

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

2.49 kB

Total Files

4

Last publish

Collaborators

  • u9g