1.1.0 • Published 3 years ago
minecraft-server-stats v1.1.0
Minecraft server stats
See the status of your minecraft server!
💻 Usage
- Install module:
npm install minecraft-server-stats
- Insert the following code for a good result:
const { status } = require("minecraft-server-stats");
status('mc.hypixel.net').then(response => {
console.log(response)
})
🔧 Other functions
- Ping
const { ping } = require("minecraft-server-stats");
ping('mc.hypixel.net').then(response => {
console.log(response)
})
- Playerlist
const { playerList } = require("minecraft-server-stats");
playerList('mc.hypixel.net').then(response => {
console.log(response)
})
📑 License
This project has an Apache 2.0 license