[INFO] SimpleStats v1.0.0 - Track player numbers [1000]

Discussion in 'Inactive/Unsupported Plugins' started by grandwazir, Jun 24, 2011.

  1. Offline

    grandwazir

    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:

    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.
     
  2. Offline

    kahlilnc

    Stats to see how long a player has played on server, non afk?
     
  3. Offline

    grandwazir

    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.
     
    Last edited by a moderator: May 17, 2016
  4. Offline

    Plague

    Update the plugin to latest recommended build and change the title accordingly.
    Failure to do so will result in this moving to INACTIVE section.
     
  5. Offline

    grandwazir

    There you go. The title just needed updating.
     
  6. Offline

    imoro

    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.. :/
     
  7. Offline

    grandwazir

    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.
     
  8. Offline

    imoro

    But I want to use a MySQL Database, where can I configure that?
     
  9. Offline

    Jackzilla88

    Can you add a calculation for average players per hour?
     
  10. Offline

    grandwazir

    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.
     

Share This Page