1.0.1 • Published 3 years ago

mineflayer-altlogin v1.0.1

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

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!")
})