2. Minecraft (Unpack to ./minecraft/versions)
The following links to plugins for installation on the server MC (our server: mc.homedevice.pro (144.76.195.88))
4. galua2.js
To run client use these command:
java -Xmx1024M -Xms1024M -jar SkaiaCraft_Launcher.jar
and for to runing server MQTT with Javascript
java -Xmx1024M -Xms1024M -classpath sc-mqtt.jar:craftbukit-1.11.2.jar org.bukkit.craftbukkit.Main
```javascript
var mqtt = require('sc-mqtt');
// create a new client
var client = mqtt.client( 'tcp://test.mosquitto.org:1883', 'uniqueClientId' );
// connect to the broker
client.connect( { keepAliveInterval: 15 } );
// publish a message to the broker
client.publish( 'minecraft', 'loaded' );
// subscribe to messages on 'arduino' topic
client.subscribe( 'arduino' );
// do something when an incoming message arrives...
client.onMessageArrived( function( topic, message ) {
console.log( 'Message arrived: topic=' + topic + ', message=' + message );
});
```