Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

mcpe-ping-fixed

TruDan145MIT0.0.3

Pings an MCPE server for simple data.

mcpe-ping, mcpe, minecraft, ping

readme

NPM version Build Status Dependency Status

Pings an MCPE server for simple data.

This is a port of mc-ping for MCPE.

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