Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

micnekr/minecraft-server-status-improved

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published