Skip to content
/ minepm Public

A simple package to show the stats of a minecraft server :)

Notifications You must be signed in to change notification settings

TapsHTS/minepm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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: 
{
	"ip": "172.65.223.54",
	"port": 25565,
	"debug": {
		"ping": true,
		"query": false,
		"srv": false,
		"querymismatch": false,
		"ipinsrv": false,
		"cnameinsrv": false,
		"animatedmotd": false,
		"cachetime": 1645460474,
		"apiversion": 2
	},
	"motd": {
		"raw": [
			"                §aHypixel Network §c[1.8-1.18]",
			"      §e✰ §6§lSKYBLOCK - BEDWARS - AND MORE! §e✰"
		],
		"clean": [
			"                Hypixel Network [1.8-1.18]",
			"      ✰ SKYBLOCK - BEDWARS - AND MORE! ✰"
		],
		"html": [
			"                <span style=\"color: #55FF55\">Hypixel Network <\/span><span style=\"color: #FF5555\">[1.8-1.18]<\/span>",
			"      <span style=\"color: #FFFF55\">✰ <\/span><span style=\"color: #FFAA00\"><span style=\"font-weight: bold;\">SKYBLOCK - BEDWARS - AND MORE! <\/span><\/span><span style=\"color: #FFFF55\">✰<\/span>"
		]
	},
	"players": {
		"online": 71231,
		"max": 200000
	},
	"version": "Requires MC 1.8 \/ 1.18",
	"online": true,
	"protocol": 47,
	"hostname": "mc.hypixel.net"
} */

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 :)

About

A simple package to show the stats of a minecraft server :)

Resources

Stars

Watchers

Forks

Packages

No packages published