Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mineflayer

Package Overview
Dependencies
Maintainers
1
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mineflayer

create minecraft bots with a stable, high level API

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.2K
decreased by-16.06%
Maintainers
1
Weekly downloads
 
Created
Source

Mineflayer

Create Minecraft bots with a powerful, stable, and high level JavaScript API.

Current Project Status

Supports Minecraft 1.4.6.

Usage

Echo Example

var mineflayer = require('mineflayer');
var bot = mineflayer.createBot({
  host: "localhost", // optional
  port: 25565,       // optional
  username: "player",
  email: "email@example.com", // email and password are required only for
  password: "12345678",       // online-mode=true servers
});
bot.on('chat', function(username, message) {
  bot.chat(message);
});

Installation

npm install mineflayer

Documentation

  • See doc/api.md.
  • See doc/history.md.
  • See examples/.

Testing

npm test

Updating to a newer protocol version

  1. Wait for a new version of mineflayer-protocol to be released which supports the new Minecraft version.
  2. npm install --save minecraft-protocol
  3. Apply the protocol changes where necessary.
  4. Run the test suite. See Testing above.

FAQs

Package last updated on 08 Jan 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc