Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/radames/minecraft-scriptcraft-mqtt-iot

Ready to use Minecraft ScriptCraft and mqtt server, with python example
https://github.com/radames/minecraft-scriptcraft-mqtt-iot

iot minecraft minecraft-scriptcraft minecraft-server mosquitto mqtt python scriptcraft

Last synced: about 1 month ago
JSON representation

Ready to use Minecraft ScriptCraft and mqtt server, with python example

Awesome Lists containing this project

README

        

# Minecraft IoT Server

Following [this](https://github.com/walterhiggins/scriptcraft-extras-mqtt/blob/master/sketches/example-1/readme.md) you will need

1. Python
2. Mosquitto on [OSX](https://simplifiedthinking.co.uk/2015/10/03/install-mqtt-server/)
3. Scriptcraft with Craftbukkit

+---------+ +---------------+ +-----------+ +----------------------------+
| Python | => | mosquitto_pub |=> | mosquitto | => | scriptcraft => craftbukkit |
+---------+ +---------------+ +-----------+ +----------------------------+
() (mqtt) (mqtt)

## Running the Minecraft Server with support for MQTT

You can start the script `start.command` or run
```
java -Xmx1024M -classpath craftbukkit-1.8.jar:sc-mqtt.jar org.bukkit.craftbukkit.Main
```

## Python and MQTT

Make sure the mosquitto server is running then try the python script
```
python python/pythonMqtt.py
```