Skip to content

💎 A Nodejs library that allows you to get information about the minecart server using https://api.mcsrvstat.us/

License

Notifications You must be signed in to change notification settings

makarasty/pingerMinecraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This library uses https://api.mcsrvstat.us/ !

Nodejs library that allows you to get information about the minecraft server

Install

npm i pingerminecraft

OS Dependencies

  • Node.js

Lib Dependencies

  • undici

image

Example 1: Async Function

const pingerMinecraft = require("pingerminecraft")

const data = await pingerMinecraft('95.216.62.176:25565')

console.log(data)

Example 2: Then constructs

const pingerMinecraft = require("pingerminecraft")

pingerMinecraft('95.216.62.176:25565')
	.then(data => console.log(data))
	.catch(error => console.error(error))

Example 2: Then constructs, bedrock true

const pingerMinecraft = require("pingerminecraft")

pingerMinecraft('95.216.62.176:25566', true)
	.then(console.log)
	.catch(console.error)

About

💎 A Nodejs library that allows you to get information about the minecart server using https://api.mcsrvstat.us/

Topics

Resources

License

Stars

Watchers

Forks