MCInteractive

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

This is a simple plugin I wrote after attending MakerFaire. At the Java booth, a computer running Minecraft was set up to control strings of electric lights and a small robot. This plugin is for people who want do do the same. A simple command turns any block into a trigger. When the trigger receives a redstone signal, the plugin prints a customizable message to a serial port, which can be connected to a microcontroller. The plugin now listens for incoming messages, and logs the message to the console when a configurable stop signal is recieved.

Requirements

This plugin requires the Java RXTX library in order to function. The library is available at http://mfizz.com/oss/rxtx-for-java for free. Installation instructions are included in the download.

Commands

Create a trigger block (/breakout)

  • Description: Turns the targeted block into a trigger block
  • Usage: /breakout <Parameters>
  • Parameters:
    • on: StateOnMessage
    • off: StateOffMessage
  • Example: /breakout on:The block is powered off:The block is not powered
  • Permissions: mcinteractive.trigger.create

Remove a trigger block (/removetrigger)

  • Description: Remove a trigger block
  • Usage: /removetrigger
  • Example: /removetrigger
  • Permissions: mcinteractive.trigger.remove

Manage serial connections (/serial)

  • Description: Connect or disconnect from a serial port, send a message to the port, or list the available ports
  • Usage: /serial <Parameters>
  • Parameters:
    • connect | disconnect | list | sendmessage
  • Example: /serial connect com3
  • Example: /serial connect com3 9600
  • Example: /serial disconnect
  • Example: /serial list
  • Example: /serial sendmessage This message will be written to the serial port
  • Permissions: mcinteractive.serial

Player movement tracking (/trackplayer)

  • Description: Toggle whether a player's movement is tracked and logged to the port
  • Usage: /trackplayer <player>
  • Example: /trackplayer John_Doe
  • Permissions: mcinteractive.trigger.player

Examples

See an example of an Arduino sketch that can communicate with this plugin here!

Source & Documentation

  • Source code can be found here
  • Javadocs can be found here

WARNING

This plugin interacts with the host machine's serial ports. This has the potential to damage hardware. It does not affect the client machines in any way. Only allow people you trust to use this plugin. If you are not the owner of the physical server (i.e. if you are renting the server from a hosting company), do not use this plugin.


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files