Skip to content

Lesmiscore/mc-ping.lesmi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mc-ping.js

Minecraft Ping library in Node.js

This library supports the following operations:

  • Unconnected Ping for Bedrock Ed. servers
  • Full stat for Bedrock Ed. servers
  • Query for Java Ed. servers

Usage

All method returns Promise that resolve to result.

Install

npm i mc-ping.lesmi

Unconnected Ping

require("mc-ping.lesmi").bedrock.unconnectedPing('localhost', 19132);

Full stat

require("mc-ping.lesmi").bedrock.fullStat('localhost', 19132);

Query

require("mc-ping.lesmi").javaEd.query('localhost', 25565);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published