Java Server Status
Retrieve the status of a Java Edition Minecraft server.
Overview
Protocol Methods
Minecraft Version
status()
statusLegacy()
Methods
status()
status()const util = require('minecraft-server-util');
const options = {
timeout: 1000 * 5, // timeout in milliseconds
enableSRV: true // SRV record lookup
};
// The port and options arguments are optional, the
// port will default to 25565 and the options will
// use the default options.
util.status('play.hypixel.net', 25565, options)
.then((result) => console.log(result))
.catch((error) => console.error(error));statusLegacy()
statusLegacy()statusFE01FA()
statusFE01FA()statusFE01()
statusFE01()statusFE()
statusFE()Last updated