Skip to content

Commit

Permalink
updated readme to include download links for those who dont want to b…
Browse files Browse the repository at this point in the history
…uild from source
  • Loading branch information
walterhiggins committed Jan 17, 2014
1 parent 80adaf6 commit ee0fbd6
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ conjunction with ScriptCraft and is not a replacement for ScriptCraft.

To Use
------

The sc-mqtt.jar file which this project builds must be included in the
classpath when starting up bukkit. Copy the sc-mqtt.jar file into the
craftbukkit directory. The craftbukkit server must be started like
this (on Linux)...
classpath when starting up bukkit. (You can download the library from
<http://scriptcraftjs.org/download/extras/mqtt/> ) Copy the
sc-mqtt.jar file into the craftbukkit directory. The craftbukkit
server must be started like this (on Linux)...

java -cp scmqtt.jar:craftbukkit.jar org.bukkit.craftbukkit.Main

Expand Down Expand Up @@ -47,8 +47,10 @@ Once started in this way, you can connect to an MQTT broker using the following
// optional callback to handle connection loss
});


sc-mqtt uses the [Eclipse Paho MQTTV3 Client][paho] library.
You will need to grab a version of ScriptCraft from 2014-01-17 or
later here <http://scriptcraftjs.org/download> if you don't want to
build from source. sc-mqtt uses the [Eclipse Paho MQTTV3 Client][paho]
library.

Example - publishing a MQTT message when a minecraft block is broken...

Expand Down

0 comments on commit ee0fbd6

Please sign in to comment.