Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

minepm

TapsHTS3ISC1.2.0TypeScript support: included

A simple package for minecraft (server, player...)

api minecraft, minecraft server api, minecraft player api, minecraft player, minecraft server, minecraft png icon, minecraft icon api

readme

Minepm

minepm

Minepm is a Node.js module that allow you to easly see all minecraft information !

Features

  • 💾 Use to see the server's stats
  • 👨‍🎓 Find information about user
  • 💥 Show .png server icon

Description

This module provides the ability to show information about minecraft!

  • logo: Show the server icon
  • player: Show the player stats
  • ping: Show information about the server

Exemple

const { ping } = require('minepm');

    ping('mc.hypixel.net').then(res =>{
        console.log(res)
    })


/* Return: 
{
  name: 'Requires MC 1.8 / 1.16',
  ip: 'mc.hypixel.net',
  port: '25565',
  motd: '             §aHypixel Network  §c[1.8-1.16]\n' +
    '        §6§lSKYBLOCK 0.11 §7- §5§lDWARVEN MINES',    
  players: { online: 101401, max: 200000 },
  other: {
    status: 'online',
    error: null,
    last_online: '1615304700',
    protocol: 47
  }
} */

Installation

npm install minepm

Credits

Thank's ♥ to me !
If you have problem, we can open an issue.

This is my first module, it's normal if they have bug and sorry for the spelling mistake :)