Bedrock Server Status
Retrieve the status of a Bedrock Edition Minecraft server.
Overview
Methods
statusBedrock()
statusBedrock()const util = require('minecraft-server-util');
const options = {
enableSRV: true // SRV record lookup
};
// The port and options arguments are optional, the
// port will default to 19132.
util.statusBedrock('localhost', 19132, options)
.then((result) => console.log(result))
.catch((error) => console.error(error));Last updated