WebStats
WebStats is a spigot plugin that can gather player statistics from multiple sources and display it on a webpage. It can get data from the scoreboard, from any plugin that stores its data in a database, from PlaceholderAPI and player online/AFK status. It can also be used as a Discord webhook.
Getting started
To use WebStats, you need:
- A Spigot Minecraft server
- (optional) A web server (note: the plugin will not work over https, so make sure the webpage isn't served over https either)
See the wiki for installation instructions.
Plugin config file
For information about the config file, head over to the wiki page.
Contributing
If you want to help make WebStats more awesome, you can do so by reporting a bug, suggesting a feature or helping with documentation. Anything is welcome!
If you like to write something yourself, pull requests are also open. Starting from version 1.8, WebStats uses maven and npm to build, so it should be very easy to work on the code yourself.
Note: you need to manually generate the dist
for one of the npm dependencies:
cd ./web/src
npm i
cd ./node_modules/@itsjavi/jsx-runtime
npm i
npm run build:tsc
npm run build:micro
npm run build:tsc
Contributors
Thank you to these people for helping out with the plugin by suggesting features and reporting bugs!
- @Dancull47: MySQL feature suggestion (#2)
- @draexo (spigotmc): bug report (spigotmc #13), Discord feature suggestion (#13)
- @LcorpOfficial: colour codes feature suggestion (#33), bug report (#32)
- @Mr_Coco: top-100 and performance improvements suggestion (#12), HTTPS reverse proxy idea (#12), bug reports (#14, #57)
- @Nick Messer: bug report (#50)
- @Unkn0wn3636 (spigotmc): multiple tables suggestion (#26), separate server entry suggestion (#27), bug report (#30)
- @radeon (via Discord): performance troubleshooting, network execptions bug reports
- @valenvaio: bug report (#16)
- @zeus1921: PlaceholderAPI feature suggestion (#3), online player filter suggestion (#6), column ordering suggestion (#7), placeholder storer suggestion (#8), bug reports (#5 (comment))