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 MineStatusconst { 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);