altlogin

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

Usage no npm install needed!

<script type="module">
  import altlogin from 'https://cdn.skypack.dev/altlogin';
</script>

README

altlogin

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

Example:

const mineflayer = require('mineflayer-altlogin')

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

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