SimpleStats - Track player numbers easily. Version: v1.0.1 A lightweight and easy to install tracking system to count the number of players on the server and log that information to a database. Very useful if you wanted to generate graphs for your website for example. Features: Logs the total number of players on the server everytime someone leaves or joins. Uses Bukkit persistence for data storage; you choose what is best for you! Simple. Nothing to setup, just put the .jar in your plugin directory. Requirements Bukkit Persistence needs to be configured in bukkit.yml If using MySQL for Persistence, you need a MySQL database Downloads: Download the latest version from Github. View the source code on Github as well. Examples uses: Using this plugin you can then export the information from the database to create cool looking charts. I have developed one for my minecraft server Armathia which you can view. The chart itself using the javascript library Highcharts, but there is nothing to stop you using one of your own. Changelog: Version 1.0.1 Fixed a bug with how we handle PlayerQuit events. Version: 1.0.0 Initial release.
Not at the moment, the plugin just tracks the number of players entering and leaving the server. Due to a bug, if you used the first version you will need to either revise all your player counts down by 1 or clear the database and start afresh. This is due to unexpected behaviour from one of the Bukkit methods. Sorry about that! I've also added a link to how I am using the plugin on my server. Basically I wanted to create a pretty graph for my website. If anyone is interested I can upload the code for the graph as well. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Update the plugin to latest recommended build and change the title accordingly. Failure to do so will result in this moving to INACTIVE section.
The dowbload is just a zip file with the source in it, please fix that! edit: it was my Browser.:/ edit2: It just creates the SimpleStats.sb file.. :/
Yeah it is already recording all the player login and quit events to the database file. You don't need to do anything else to set it up. If you want to view the information you will need a program that can open sqlite databases.
You do that with bukkit persistance. Have a look at the documentation for how to do this for DimensionDoor. It is exactly the same for this plugin. It is better to use SQL to calculate that for you. You would need to group by hour and then average the player count column.