Web Stats 1.7.2

Display the scoreboard, PlaceholderAPI and other plugin statistics on the web

  1. RedPolygon
    Tested Minecraft Versions:
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    • 1.17
    • 1.18
    Source Code:
    https://github.com/Dantevg/WebStats
    banner-small.png

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

    Features
    • Multiple sources: WebStats can combine statistics from these sources:
      • Scoreboard objectives
      • Placeholders (requires PlaceholderAPI)
      • MySQL database: with a customisable configuration, you can gather statistics from any plugin
    • Discord integration: You can add WebStats as a webhook to your Discord server.
    • Player head display: The plugin uses the service provided by mc-heads.net to automatically display player heads next to the names.
    • Objective sorting: Click on the column headers to sort on that objective. Clicking again reverses the sort.
    • Automatic data updates: By default, WebStats refreshes the data every 10 seconds, though this is configurable and can also be disabled.
    • Online / AFK status: When EssentialsX is present, WebStats uses it to mark AFK players. Otherwise, you will still be able to see who is online.
    • Online player filter: You can filter to only display online players for if you have many players.
    • Pagination: For webpage performance, max 100 players are displayed by default with next/previous page controls.
    • Objective filtering: In the config file, you can filter which scoreboard objectives should be visible on the webpage. By default, the filter only contains '*', which means all objectives.
    • Custom column order: By default, columns are displayed in alphabetical order. You can set your own order and select which columns should be shown.

    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).

    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 include it in the webpage head. 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
    We have been using Web Stats for some time, in the screenshot you can see how it looks with more people and scoreboard objectives than the dummy data from the demo:
    screenshot 2.png
    config-discordmessage.png

    For bug reports, feedback and suggestions, please open an issue on https://github.com/Dantevg/WebStats/issues or post in the discussion page.
    Xiaye and 2006lev like this.

Recent Reviews

  1. Xiaye
    Xiaye
    5/5,
    Version: 1.7.2
    Excellent plugin!Thank you for helping me! The author is very resposible and friendly!!
  2. diopsean
    diopsean
    5/5,
    Version: 1.7.1
    Nice plugin ! The author is friendly and very communicative, thank you author!!!!
  3. draexo
    draexo
    5/5,
    Version: 1.6.2
    This is an excellent plugin. Author is very responsive and it does what it says. Its ability to store offline player placeholders is golden!
  4. draexo
    draexo
    5/5,
    Version: 1.5.1
    It took me a few days to figure out the placeholders were not displaying because they were not built in to placeholder api and I needed to download them. Once I did that, everything worked great! This is an excellent plugin. Thank you RedPolygon!
  5. 061002
    061002
    5/5,
    Version: 1.4
    Can u support java8 and 1.8 ? plsss thx u,this is amazing a plugin
    !will more and more people use this plugin.
    1. RedPolygon
      Author's Response
      Hi, sorry for the late response! I decided to wait with responding until I finished the new version but, well, it took a little longer than expected :)

      The latest version (1.5) is compatible with Java 8 again though!
  6. zeus1921
    zeus1921
    5/5,
    Version: 1.4
    Incredible work and nice support.
    Thanks dude - - - - - - - - - - - - -