HomeJavaModsWeb Stats
Web Stats
banner-small.png

View statistics from the scoreboard, PlaceholderAPI placeholders and other plugins in a web page!

Note: WebStats does not gather any stats by itself, you need to install some datapack that adds scoreboard objectives or a plugin that adds PlaceholderAPI placeholders. Without any of these statistic sources set up, the webpage will be empty.

For more information, please see the Github wiki.

screenshot.png

Features

Installation
There are two ways to use WebStats: with your own server (more customisable) or with an integrated server (easier). The download contains the plugin jar plus a javascript file, you only need the javascript file for when you are using your own webserver.

For both methods, you need to open a port on the Minecraft server for the plugin to communicate over. Make sure to change the port number in config.yml (and in the web client initialisation when using your own server). Remember that you also need to have some datapack or PlaceholderAPI plugin that actually provides the statistics.

Using integrated web server
Set serve-webpage in the config file to true and restart. That's it.

Using own web server

Copy the Javascript file from the zip file and import it as a Javascript module. You also need to initialise WebStats when the page loads, more detailed information and an example are present on Github.

Please refer to the Github wiki for more information about the configuration file. It also has pages with more detailed information for some features.

Demo
I have made a simple demo page with dummy data for you to try out: demo

Screenshots
Here is a screenshot from the Discord webhook with dummy data:
Spoiler: screenshot
config-discordmessage.png

If you need help, or for bug reports, feedback and suggestions, please open an issue on https://github.com/Dantevg/WebStats/issues or post in the discussion page (it may warn you for necroposting if the last message was a long time ago, you can ignore that here). Please do not ask for help in a review, but use one of these other channels instead.
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Web Stats is a free Minecraft Java mod. Compatible with Minecraft 1.12, 1.13, 1.14, 1.15 and newer. Downloaded 3,691 times (via Spigot). Download it and open it directly in the game.

Explore more