In game Online status to show on website

I’m not great at explaining things, therefore I apologize for any confusion in advance.

I have a website and was wondering if it’s possible to create a Javascript (HTML code) that links to a specific servers status such as if the server itself is online/offline, how many players are online and who is online. As well as a second code that shows monthly stats such as how many players have been online in the month and the amount of hours each player has been on the server for that month.

I’m told a plugin is needed for this to work. If there is already something out there like this, if someone can link it that would be amazing! If not, if someone could make it for me that would be even better! :slight_smile:

1 Like

I have a website and was wondering if it’s possible to create a
Javascript (HTML code) that links to a specific servers status such as
if the server itself is online/offline, how many players are online

This can be done with Server List Ping and work with any minecraft server.

and who is online

And this can be done with Query, and only work if you enabled and configured it in your server config.

As well as a second code that shows monthly stats such as how many
players have been online in the month and the amount of hours each
player has been on the server for that month.

AFAIK, there is no in-build info for this, so yes, you have to either make constant monitoring of your minecraft server on web-server (and constantly save data to database), or make/use a plugin for that.