mcpe-ping
v0.0.4
Published
Pings an MCPE server for simple data.
Downloads
37
Readme
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.
Install
$ npm install --save mcpe-ping
Usage
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);
License
MIT © Falkirks