minecraft-server-status-improved

1.0.4 • Public • Published

minecraft-server-status-improved

This package will give infomation about minecraft servers.

Getting started

You will need to install the package:
npm i minecraft-server-status-improved

Using the library

Basic usage:

const status = require('minecraft-server-status-improved');
 
status('play.slimevalley.xyz', 25565, (err, response) => {
    if (err) console.err(err);
    else console.log(response)
})

Or using promises:

const status = require('minecraft-server-status-improved');

status('play.slimevalley.xyz', 25565)
.then(console.log)
.catch(console.err)

information about the pacakge

This is a modified version of this library because it has no repository to fork.
This version provides improved error-first callbacks as well as promises.

This library uses mcapi.us

Package Sidebar

Install

npm i minecraft-server-status-improved

Weekly Downloads

3

Version

1.0.4

License

ISC

Unpacked Size

3.23 kB

Total Files

4

Last publish

Collaborators

  • micnekr