Changelogs
- Improved the approach in choosing the best ping-getting strategies based on server versions
i.e., apply legacy NMS reflection for legacy versions (1.8 - 1.15), apply new built-in ping retrieval method for modern versions (1.16 - 1.20)
- Introduces 0 as the absolute minimum after normalisation of ping values.
Any values lower than 0 indicate an error in the ping calculation process.
- Added some new messages in handling a few scenarios of insufficient permission.
- Refactored some of the code sections to optimise things by a bit.
This release has been tested on servers of 3 different versions: 1.19.3, 1.8.8 and 1.12.2.
Note that some of the versions might induce a higher internal ping.
Configuration Changes
There are a few changes made to config.yml. Make sure to apply the changes manually or you can simply delete the old one for the plugin to regenerate a new one for you.
Diff in relative to 1.0.4 or 1.0.3
https://github.com/denniemok/Slash-Ping/commit/0cdc697460ed25e3782077aeb315d5f7fb06ec5c?diff=split
If you don't apply the changes, the plugin will still function properly (i.e., reads in default values). Just that you cannot configure some of the new messages.