Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/radames/minecraft-scriptcraft-mqtt-iot
- Owner: radames
- Created: 2017-02-17T17:12:09.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-18T14:55:28.000Z (almost 8 years ago)
- Last Synced: 2024-12-09T16:53:22.115Z (about 1 month ago)
- Topics: iot, minecraft, minecraft-scriptcraft, minecraft-server, mosquitto, mqtt, python, scriptcraft
- Language: JavaScript
- Size: 21.2 MB
- Stars: 1
- Watchers: 3
- 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
```