Following this you will need
-
Python
-
Mosquitto on OSX
-
Scriptcraft with Craftbukkit
+---------+ +---------------+ +-----------+ +----------------------------+ | Python | => | mosquitto_pub |=> | mosquitto | => | scriptcraft => craftbukkit | +---------+ +---------------+ +-----------+ +----------------------------+ () (mqtt) (mqtt)
You can start the script start.command
or run
java -Xmx1024M -classpath craftbukkit-1.8.jar:sc-mqtt.jar org.bukkit.craftbukkit.Main
Make sure the mosquitto server is running then try the python script
python python/pythonMqtt.py