[INACTIVE][INFO] Statistician V1.3 - Extremely Detailed Player/Server Stats Tracking [953]

Discussion in 'Inactive/Unsupported Plugins' started by ChaseHQ, Jun 23, 2011.

  1. Offline

    ChaseHQ

    Currently it logs from all worlds, and yes it already logs, every kill at every time using whatever weapon as well as every block you destroy or place, items, distance traveled etc... Take a look at my server stat page in the OP. I'll ask if i can post the stat page for the user that has the 300+ running server. It really is quite impressive stat page.
     
  2. Offline

    Kane

    Yeah I would think it be having that many players it be a really impressive stats page.
     
  3. Offline

    bradgillap

    What's the performance like with this plugin writing to the database constantly compared to the current netstats competitor?
     
  4. Offline

    ChaseHQ

    It doesn't write to the database currently, it runs as an update every X amount of seconds that you set. Currently by default it is every 2 minutes. There is no performance hit on the main server thread whatsoever, everything is threaded, even the updates to memory. There currently is a user who uses it on a server of 300+ users logged in simultaneously without any performance hit.
     
  5. Offline

    bradgillap

    Well you drive a good argument. How long do you plan on sticking around and continuing to build this plugin? I have issues with developers who stick around for 2 months and leave, rendering my plugin useless after an update.
     
  6. Offline

    ChaseHQ

    I'm a software engineer, I can't get away from programming, I'll be here for good. I have some really great ideas I'm working on currently for this.
     
  7. Offline

    Kane

    Yeah I hate that a lot. I stopped using Stats plugin since Hey0 Just because of that.

    Glad to hear it :)

    I love anything when it comes to internal to external uses with Bukkit. I find not enough plugins out there do anything like this. I could see so many amazing things done.
     
  8. Offline

    Endimmion

    I get this errors when trying this plugin:

    Code:
    2011-06-28 12:22:31 [INFO] [Statistician] CALL towncraft-stats.newPlayer('b66a0ecf-a11f-47e7-ab35-e301bb098dc1','Endimmion'); :: Stored Procedure Failed, Checking Connection
    2011-06-28 12:22:31 [INFO] [Statistician] Connection is still present... It may of been a malformed Query ?
    2011-06-28 12:23:12 [INFO] /50.23.30.168:56907 lost connection
    2011-06-28 12:23:22 [INFO] [Statistician] CALL towncraft-stats.incrementBlockDestroy('b66a0ecf-a11f-47e7-ab35-e301bb098dc1','2','2'); :: Stored Procedure Failed, Checking Connection
    2011-06-28 12:23:22 [INFO] [Statistician] Connection is still present... It may of been a malformed Query ?
    2011-06-28 12:23:22 [INFO] [Statistician] CALL towncraft-stats.incrementBlockPlaced('b66a0ecf-a11f-47e7-ab35-e301bb098dc1','3','2'); :: Stored Procedure Failed, Checking Connection
    2011-06-28 12:23:22 [INFO] [Statistician] Connection is still present... It may of been a malformed Query ?
    2011-06-28 12:23:22 [INFO] [Statistician] CALL towncraft-stats.incrementPickedup('b66a0ecf-a11f-47e7-ab35-e301bb098dc1','3','2'); :: Stored Procedure Failed, Checking Connection
    2011-06-28 12:23:22 [INFO] [Statistician] Connection is still present... It may of been a malformed Query ?
    I've find the the problem:

    the plugin has problem with "-" in database name. I've first started the plugin with a database called "towncraft-stats". The tables was created but after I get a lot of errors.

    For the second run I tried with "towncraft_stats" as database name and nowx everything is working :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  9. Offline

    ChaseHQ

    Glad you got it working :)

    I encourage everyone who wants to, to edit the web portal to fit there needs. Here is an example of what monster craft did :)

    http://punchtrees.monstercraft.org/Stats/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  10. Offline

    Monstertke

    Thanks Chase, I want to get the chance to take this into Stylizer later today or tommorow. I was Trying to get something up in a hurry. With Stylizer (or really really good manual css skills) you can make this page look awesome
    (I saw the complaint earlier about buttons and pictures, lol)

    For anyone that doesn't have a live css editor, You can easily just edit the css via inspect element, an ftp client and a hex color picker. Edit the Images and rename them or the links in the CSS file. I think I spent more time on reloading the page, than I did editing. So you can definitely make this look how you want. I would also thinj that you could run it inside of an i-frame inside of Joomla or Drupal or whatever CMS you like.

    MonsterTKE
     
  11. Offline

    Endimmion

    now I get a severe error with Statistician, it seems to be related when you kill a mob

    Code:
    2011-06-28 13:52:45 [SEVERE] Could not pass event ENTITY_DEATH to Statistician
    java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSlime cannot be cast to org.bukkit.entity.Creature
        at com.ChaseHQ.Statistician.Listeners.StatisticianEntityListener.onEntityDeath(StatisticianEntityListener.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$56.execute(JavaPluginLoader.java:635)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.EntityLiving.r(EntityLiving.java:480)
        at net.minecraft.server.EntityLiving.a(EntityLiving.java:459)
        at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:403)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:569)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:880)
        at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  12. Offline

    ChaseHQ

    Thanks for the paste! It has to do with my slime handler. It will only happen when killing slimes, won't crash the server and will still record the stat. So as for right now it can be ignored although in about an hr or so I'm releasing a fix that will fix this as well as other small bugs.
     
  13. Offline

    Endimmion

    Have you already planned to add "Most users ever online" stats?
     
  14. Offline

    ChaseHQ

    Yea it's on the board, should be in next release, working on a bugfix release due out in next hr or so that fixes some issues.
     
  15. Offline

    Kane

    So when will you start doing the GD php images <3 But really I'm sure you kind of thought of that in the future ;) Forum sigs hehe.
     
  16. Offline

    ChaseHQ

    Wow... Lol Literally writing it right now... only thing it requires they have the proper PHP libraries installed on there webserver to gen the image.

    Jar And Web Version 1.2.2 Update

    Fixes all the problems that were reported here on forums. Please Update!
    Link is In Original Post


    JAR
    Version 1.2.2
    • Fixed handling of TNT and Explosions
    • Fixed handling of Slimes
    WEB
    Version 1.2.2
    • Added Explosion stats to server Page and player Page
    • Fixed player page from not displaying Suffocation Correctly
    • Fixed Block Kills from being considered a PVE Kill and is now Other kill with detailed reason
    • Fixed Block from being considered a dangerous PVE Creature and is now just an Other kill event

    If anyone has a Stat page they want me to add to the OP as an example please post it and i'll move it up there.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
    Kane likes this.
  17. Offline

    DraZiLoX

    Nice plugin! Works like a charm and keeps track of players!
     
  18. Offline

    bradgillap

    Thanks for all of your kind replies. Perhaps I have grown a tad bit cynical. I'll probably switch after the next update.
     
  19. Offline

    Kane

    Is Megameters custom or :p
     
  20. Offline

    ChaseHQ

    Ha although rarely used, it's actually the next unit of measurement after kilometers lol
     
  21. Offline

    Kane

    Damn lol. I assume we can just easily change the variable in the script lol. Is it set at like 100 or 100km?
     
  22. Offline

    ChaseHQ

    Yup easily changeable in the QueryUtils formatDistance method
     
    Kane likes this.
  23. Offline

    Endimmion

    http://towncraft.org/stats/
     
  24. Offline

    Jobsti

    Hey thanks @ChaseHQ, works fine!

    But I miss the permissions/Group Manager Support, we don't want stats from Default Users and Guests. ;)
     
  25. Offline

    ChaseHQ

    Good news! The Update im releasing later today has this feature ;)
     
  26. Offline

    Monstertke

    Hard at work, hard at work. Any idea when the flurry will stop? I know you are adding a ton of stuff.
    Quick question? When updating can the configuration files stay the same? Or are there changes in those as well.
    Im lazy as hell. I have avoided updating untill I could ask this.
     
  27. Offline

    ChaseHQ

    Leave your configuration file! :) no need to change it :)
     
  28. Offline

    Monstertke

    Web and plugin?
     
  29. Offline

    ChaseHQ

    Both web and plugin :)

    Hey guys, I'm working on a signature generator for the next update(automatically creates a sig graphic with stats on it). What stats do you think should be included on your individual signature, and what size would you want it to be.

    Jar And Web Version 1.2.3 Update 6/29/2011

    Download Link is In Original Post

    JAR
    Version 1.2.3
    • Added tracking of most users ever online and time of that occurrence
    • Added Permissions Support
    • Added permissions node 'Statistician.ignore' to ignore stats for user/group
    • Added permission node 'Statistician.ignoreOverride' so user/group with '*' permission defaultly override ignore
    WEB
    Version 1.2.3
    • Added Maximum amount of players ever on at one time to Server Page
    • Added Time of occurence of Maximum amount of players ever on at one time to Server Page
    • Fixed Total deaths from showing 1 when actually was 0 on server page
    • Fixed Most dangerous weapon as appearing as None
      • API Adds/Changes:
      • Added SERVER::getMaxPlayersEverOnline()
      • Added SERVER::getMaxPlayersEverOnlineTimeWhenOccured()
      • Changed SERVER::getMostDangerousWeapon() - No longer will return None as viable weapon
      • Changed PLAYER::getMostDangerousWeapon() - No longer will return None as viable weapon

    Your wish has been granted ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  30. Offline

    Jobsti

Share This Page