MHPlus is a plugin that allows the ability to determine other minehut server stats without leaving the game. Feel free to import this into your own plugin.
JavaMIT
MHPLus
This is made to integrate with the Minehut API which is the Api for Minehut a server hosting & minecraft community service. The api allows you to fetch info simply by providing a server name.