npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@gglvxd/minecraftserverstatus

v1.0.3

Published

Simple package to fetch minecraft java & bedrock server status using FrydeAPI

Downloads

14

Readme

Minecraft Server Status Checker

nodejs package to fetch minecraft server status/info.

Features

  • Pure Node.js - No external dependencies
  • Dual Edition Support - Check both Java and Bedrock servers
  • Simple API - Promise-based interface
  • Error Handling - Proper error propagation
  • Configurable - Optional API key support

Ratelimit

  • With API key: 100 requests/minute
  • Without API key: 50 requests/minute

Installation

npm install @gglvxd/minecraftserverstatus

Usage

Basic Usage

const MinecraftServerStatus = require('@gglvxd/minecraftserverstatus');

// Create instance (API key optional)
const statusChecker = new MinecraftServerStatus(); 

// Check Java server
statusChecker.checkJava('mc.hypixel.net')
    .then(status => console.log('Java Server Status:', status))
    .catch(error => console.error('Error:', error));

// Check Bedrock server
statusChecker.checkBedrock('hivebedrock.network')
    .then(status => console.log('Bedrock Server Status:', status))
    .catch(error => console.error('Error:', error));

With API Key

Get your api key at https://fryde.id.lv/dashboard/apikey

const statusChecker = new MinecraftServerStatus('your_api_key_here');

With Async/Await

async function checkServers() {
    try {
        const javaStatus = await statusChecker.checkJava('mc.hypixel.net');
        console.log('Java Server Online:', javaStatus.online);
        
        const bedrockStatus = await statusChecker.checkBedrock('hivebedrock.network');
        console.log('Bedrock Players Online:', bedrockStatus.players.online);
    } catch (error) {
        console.error('Error checking servers:', error);
    }
}

checkServers();

API Reference

new MinecraftServerStatus([apiKey])

Creates a new instance of the status checker.

  • apiKey (String, optional): Your API key if you have one

Methods

checkJava(ip, [port], [premium])

Checks the status of a Java edition server.

  • ip (String, required): Server IP address
  • port (Number, optional, default=25565): Server port
  • premium (Boolean, optional, default=false): Use premium points
  • Returns: Promise that resolves with server status object

checkBedrock(ip, [port], [premium])

Checks the status of a Bedrock edition server.

  • ip (String, required): Server IP address
  • port (Number, optional, default=19132): Server port
  • premium (Boolean, optional, default=false): Use premium points
  • Returns: Promise that resolves with server status object

Response Format

Java Edition Example

{
  "online": true,
  "ip": "mc.hypixel.net",
  "port": 25565,
  "version": "Requires MC 1.8 / 1.21",
  "protocol": 47,
  "players": {
    "online": 41844,
    "max": 200000
  },
  "motd": {
    "raw": "§f                §aHypixel Network §c[1.8-1.21]§f\n        §d§lSKYWARS UPDATE §7- §b§lDISASTERS v0.3",
    "clean": "                Hypixel Network [1.8-1.21]\n        SKYWARS UPDATE - DISASTERS v0.3"
  },
  "favicon": "data:image/png;base64,..."
}

Bedrock Edition Example

{
  "online": true,
  "ip": "hivebedrock.network",
  "port": 19132,
  "version": {
    "name": "1.0",
    "protocol": 121
  },
  "players": {
    "online": 23065,
    "max": 100001
  },
  "edition": "MCPE",
  "motd": {
    "raw": "§fBEDWARS + BUILD BATTLE§f\nHive Games",
    "clean": "BEDWARS + BUILD BATTLE\nHive Games"
  },
  "gameMode": "Survival",
  "serverGUID": "1747355109132437"
}

Error Handling

The API may return errors with the following status codes:

  • 400: Missing required parameters
  • 429: Rate limit exceeded
  • 500: Server error
  • 503: Server offline/unreachable

These errors will be rejected as promises with the error object from the API.

License

MIT