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: 2 months ago
JSON representation
Ready to use Minecraft ScriptCraft and mqtt server, with python example
- Host: GitHub
- URL: https://github.com/radames/minecraft-scriptcraft-mqtt-iot
- Owner: radames
- Created: 2017-02-17T17:12:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-18T14:55:28.000Z (over 9 years ago)
- Last Synced: 2026-04-04T17:29:32.046Z (2 months ago)
- Topics: iot, minecraft, minecraft-scriptcraft, minecraft-server, mosquitto, mqtt, python, scriptcraft
- Language: JavaScript
- Size: 21.2 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```