Minecraft Server Data
Get the status data of a Minecraft server by providing it's IP address.
Installation
npm install minecraft-server-data
Usage
The only and mandatory parameter for this function to be executed is a server IP.
You can provide a port as well if needed. The default one is 25565.
Here is a quick example of how to make a call
const getData = ; // Not providing a port ; // Providing a port ;
Data Structure
The output data will look like the following:
The queryDuration is output in millisecond.
© 2020 - Edouard Courty