1.0.2 • Published 5 years ago
endersquid v1.0.2
endersquid
Installation
Option 1) Install the library via npm npm install endersquid
Option 2) Install the library via github git clone https://github.com/EnderSquidJS/endersquid.git
Usage
Functions | Description |
---|---|
monitorStart(serverIP, fileName) | Starts monitoring the number of the Online Players on the server every hour and store it into a csv file. |
monitorExport() | Stops monitoring the server. |
onlinePlayers(serverIP) | Returns an array with all the UUIDS of the Online Players. |
onlinePlayersNo(serverIP) | Returns the number of the Online Players. |
serverFavicon(serverIP) | Returns the Davicon of the server. |
serverMotd(serverIP) | Returns the Motd of the server. |
serverVersion(serverIP) | Returns the Minecraft Version of the server. |
slotPlayers(serverIP) | Returns the Maximum Number of Player that can be Online. |
endersquid needs to be run on a node server, so when you create your script you need to launch the command: node script.js
If you want to clarify the usage of endersquid, you can check the example folder on our repository.
Public API
Try our free-to-use API. The endpoint is: http://endersquid.glitch.me/?server=_SERVERIP_
You need to substituteSERVERIP with the actual Minecraft Server IP that you want to query.