New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

minecraft-pi-promise

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minecraft-pi-promise

Node.js API with Promises for Minecraft Raspberry Pi edition

  • 0.5.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

minecraft-pi-promise

minecraft-pi-promise allows you to control Minecraft: Raspberry Pi edition server from Node.js. This is intended as a lower-level module, and is meant to be extended on for bigger projects. However, the commands are simple enough to play with as-is.

Usage

var Minecraft = require('minecraft-pi-promise');
new Minecraft('192.168.2.110', 4711)
.then(function(mc) {
        // Use the mc variable to play with the server!
        mc.chat('Yo dawg, I heard you like Node.js, so I put some Node.js in your Pi so you can Node.js while you Pi.');
        mc.setBlock(3, 14, 15, mc.blocks['DIAMOND_BLOCK']);
        mc.end();
});

Documentation

[sudo] npm install -g docco
docco lib/minecraft.js
open docs/minecraft.html

You may also view pre-generated documentation here.

FAQs

Package last updated on 07 Nov 2015

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