Pings an MCPE server for simple data.
This is a port of mc-ping
for MCPE.
This library was written using code from the DirtServer project.
$ npm install --save mcpe-ping
var mcpeping = require('mcpe-ping');
mcpeping('example.com', 19132, function(err, res) {
if (err) {
// Some kind of error
console.error(err);
} else {
// Success!
console.log(res);
}
}, 3000);
MIT © Falkirks