JSPM

mine-status

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 17
  • Score
    100M100P100Q29934F
  • License ISC

This npm package allows you to retrieve information about Minecraft servers for both Java and Bedrock editions.

Package Exports

  • mine-status
  • mine-status/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mine-status) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

MineStatus

This npm package lets you obtain information about Minecraft servers for both Java and Bedrock.

Getting Started

npm i MineStatus
const { MineStatus } = require("MineStatus");

const minestatus = new MineStatus();
//without port
minestatus.getJavaServerStatus("hypixel.net", (response) => {
  console.log(response);
});

OR

const { MineStatus } = require("MineStatus");

const minestatus = new MineStatus();
//with port
minestatus.getJavaServerStatus("hypixel.net", 25565, (response) => {
  console.log(response);
});

And you can also check out many more...

Functions:

  • getJavaServerStatus(server_name, portOrCallback, callback);
  • getJavaServerWidget(server_name, portOrCallback, callback);
  • getBedrockServerStatus(server_name, portOrCallback, callback);
  • getServerIcon(server_name, portOrCallback, callback);