1.2.1 • Published 1 month ago

mcsrvstat v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

npm dependents npm download npm license npm types

github release github issues github commit

Table of Contents

Install

With NPM

# Locally
npm install -D mcsrvstat

# Or globally
npm install -g mcsrvstat

With YARN

# Locally
yarn add -D mcsrvstat

# Or globally
yarn add -g mcsrvstat

Example

Java Server

import { Status } from "mcsrvstat";

const serv = new Status().getJavaStatus("GommeHD.net");
serv.then(GommeHD => {
   console.log(GommeHD.version) // Return "1.8.x-1.20.x"
})

Bedrock Server

import { Status } from "mcsrvstat";

const serv = new Status().getBedrockStatus("135.125.105.65:19132");
serv.then(HiveMC => {
   console.log(HiveMC.players.max) // Return 100001
})

Author

1.2.0

1 month ago

1.2.1

1 month ago

1.1.0

11 months ago

1.0.0

11 months ago