❓Frequently Asked Questions
A list of frequently asked questions and answers about the library.
How do I check if the server is up/down?
const util = require('minecraft-server-util');
util.status('play.hypixel.net')
.then((result) => {
// Server is online
})
.catch((error) => {
// Server is offline
});const util = require('minecraft-server-util');
// Make sure this is within an async context
try {
const result = await util.status('play.hypixel.net');
// Server is online
} catch (e) {
// Server is offline
}How do I use this library in the browser?
Why am I getting weird values?
Why is the sample players array empty?
Why am I getting errors and/or unexpected results after updating?
What is the requestID in RCON messages?
requestID in RCON messages?How do I send the favicon within a Discord embed?
Last updated