How to show current Playercount on a HTML-Site

Good day everyone!
I´m currently working on a Server with some friends and they asked me if I can make a playercount that shows up on our Homepage. Because I´m new to this I don´t really know how to do it. It would be greatly apreciated if someone could help me with that!

Thanks have a nice day!

Not possible with plain html, the .json endpoints have no CORS headers. You’d have to make a request to /dynamic.json in PHP or so.

1 Like