mc-server-status
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

Minecraft Server Status

npm downloads

A small utility and library for getting the description, player count and ping of a Minecraft server.

Usage

mc-status 2b2t.org
# with port 
mc-status localhost 25565
 
# output json 
mc-status --json <address>

Terminal output

You can also use it as a library:

const { getStatus } = require("mc-server-status")
 
const status = await getStatus("2b2t.org")
console.log(status)

/mc-server-status/

    Package Sidebar

    Install

    npm i mc-server-status

    Weekly Downloads

    14

    Version

    2.0.2

    License

    MIT

    Unpacked Size

    4.35 kB

    Total Files

    5

    Last publish

    Collaborators

    • janispritzkau