📰Changelog

A changelog of all releases to the library.

This version changes most timeout error messages to "Server is offline or unreachable" to make it more apparent to developers that the server is offline, instead of the somewhat vague "Timed out while retrieving server status".

This version implements two merge requests created by fabianwennink that sets the default address in the vote options to be the host and port used in connecting to the server, and also adds support for sending legacy votes (v1) to servers.

This version automatically trims leading and trailing spaces from the host for each method to reduce the chance of user error or incorrect input.

This version adds the roundTripLatency property to the Java status response for status() which is obtained by the latency between the ping and pong packets.

This version fixes issues when trying to ping certain Bedrock Edition Minecraft servers, as well as it fixes the undefined bug in the MOTD if the server does not send a second MOTD line.

This version reduces the amount of listeners used in the TCPClient class and the amount of wait time between packet reads.

This version fixes an error with methods that use UDP where the socket may have closed prematurely, resulting in an error when attempting to close the socket at the end of the method.

Fixed SRV lookup and connection error handling in some methods which didn't have either of these within a try/catch block, causing hanging or unhandled promise rejection errors.

Adjusted support for statusLegacy() which now allows retrieving the status of all Java Edition Minecraft servers. Please note that this method does not return a favicon, and in some cases neither a version.

This version adds support for the parseAddress() method which parses the host and port out of an address string.

This version fixes a memory leak issue within the TCP and UDP sockets with the event emitters. It also removes eventemitter2 as a dependency.

This version fixes a minor bug in statusLegacy() that makes the version property null in most all cases.

This version adds a new status method called statusLegacy() which allows retrieving the status of any legacy Minecraft server (1.6.4 and below). The credit for this implementation is owed to fabianwennink for his fork of the repository. All previous legacy status methods have been deprecated in favor of this single uniform status method.

This version adds proper timeouts to all methods that utilize sockets to prevent any hanging or never-resolving methods. This also adds an options argument to RCON#login() as well as a client.isConnected property to the RCON client.

This version adds backwards compatibility support with Node v10 and v12. It fixes some invalid syntax errors when compiling from TypeScript.

This version properly adds support for handling a connection timeout when attempting to connect to the server. Keep in mind that the timeout duration specified in the options is only used when connecting, and not for the entire status method.

This version adds support for servers with SRV records. This also introduces a new enableSRV option within all status method options object, and a srvRecord property within the responses.

This version contains no code changes, but cleans old remaining files from previous versions the dist directory.

This version is simply a republish with an updated version and no code changes to fix the README file on the npm page. This likely occurred after GitHub went down for several hours, causing issues on npm's side.

The fifth major release of the package rewritten from the ground up with better error handling.

Last updated