[INACTIVE][ADMIN] MCStats v2.7 - Minecraft player statistics [868]

Discussion in 'Inactive/Unsupported Plugins' started by deltahat, Mar 15, 2011.

  1. Offline


    MCStats - Minecraft player statistics:
    Version: v2.7

    MCStats is a statistics plugin for the bukkit. MCStats periodically generates xml,
    json, js, and html files containing server statistics. Optionally, MCStats can also serve these files using an embedded web server. Using the embedded web server, the html stats report can be served directly from your Minecraft server. No need for messy apache installs.

    For group support to work you must also install and configure the Permissions plugin v2.5.4+.

    Please read the README - https://github.com/rmichela/MCStats2

    • Tracks many player statistics
    • Built in web server
    • Integrates with external systems using raw data feeds
    • Supports reading group affiliation from Permissions
    • Supports reporting iConomy account balances
    Download: https://github.com/rmichela/MCStats2/downloads
    Source: https://github.com/rmichela/MCStats2

    Changelog (open)

    Version 2.1
    • Initial port to bukkit
    Version 2.2
    • Fixed initial startup config issues. Now generates meaningful config when first initialized.
    • Fixed directory problems that forced files under Plugins directory
    Version 2.3
    Version 2.4
    • Added ignoreGroups config option
    Version 2.5
    • Fixed group name case problems
    • Created Ops group based on ops.txt
    • Only show groups player is explicitly assigned to
    • Embedded web server can now serve customized html report
    Version 2.5.1
    • Bukkit 602 support
    Version 2.6
    • Fixed bug where players in default group were erroneously ignored.
    • Fixed incompatibility with GroupManager FakePermission
    • Verified support with CB612, MC2.4, and Permissions 2.5.5
    Version 2.6.1
    • Fixed strange incompatibility with iConomy.
    Version 2.7
    • Fixed Permissions group loading bug
    • Fixed inaccurate step count bug
    • Added proper iConomy support
  2. Offline


    Please consult the readme for all configuration options.
  3. I have the same problem
  4. Offline


    Any errors on the console? At startup? Do the counters increase after resetting?
  5. I assume this was aimed at me?
    Groups are Default, Trusted, Moderator, Admin and Owner
  6. Offline


    It seems that upgrading to the new stats corrupted the cache and had to delete it. it works now but I lost everthing.

    Oh, also. I am modifying my own CSS but every time the page refreshes it reverts back.
  7. Offline


    Do you have your old cache still? I can see what happened.

    Can I get a copy of your statsCache file?

    Remove any extra spaces from the end and beginning of your group names.

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


  9. Offline


    Is there a way to turn off the CSS via your plugin, so we can modify our own pages? It seems your plugin makes a new HTML page every time and I lose all of the changes.
  10. Offline


    Please consult the readme...or this very page.

    Thanks...I'll look into any conflict with the stats cache file.

    If you are having problems with your statistics going blank, please downgrade back to 2.6.1 using the download link above.

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


    No problem.

    I've notices that when I check all the files it generates, the data seems to be there. It only seems that it just doesn't populate the .html file.

    Looking forward to the fix :)
  12. There were no extra spaces in front of or behind.
    I can pm you my config files if you think that might help you

    edit: ok, will downgrade
  13. Offline


  14. Offline


    705 is not a recommended build. There is no telling what will happen with dev builds.
  15. Offline


    Oh, I understand. I thought I would let you know so you can maybe prepare :)
  16. Offline


    I get this whenever anybody joins the server. It works fine with no players on the server, but as soon as somebody joins, this happens and the server restarts. CB684 MCStats 2.7

    2011-04-25 00:29:26 [INFO] link2110 [*snip*] logged in with entity id 152
    2011-04-25 00:29:27 [SEVERE] Could not pass event PLAYER_JOIN to MCStats2
    java.lang.StringIndexOutOfBoundsException: String index out of range: 1
    	at java.lang.String.substring(Unknown Source)
    	at com.ryanmichela.MCStats2.service.GroupService.toTitleCase(GroupService.java:85)
    	at com.ryanmichela.MCStats2.service.GroupService.getGroups(GroupService.java:67)
    	at com.ryanmichela.MCStats2.controller.StatsController.ignorePlayer(StatsController.java:168)
    	at com.ryanmichela.MCStats2.controller.StatsController.logIn(StatsController.java:40)
    	at com.ryanmichela.MCStats2.controller.StatsPlayerListener.onPlayerJoin(StatsPlayerListener.java:36)
    	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:204)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    	at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:94)
    	at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:95)
    	at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-04-25 00:29:27 [INFO] [CONSOLE->link2110] The Great Chicken welcomes you, link2110!
    2011-04-25 00:29:27 [INFO] ยง7CONSOLE whispers The Great Chicken welcomes you, link2110!
    2011-04-25 00:29:27 [INFO] Unknown console command. Type "help" for help.
    2011-04-25 00:29:27 [INFO] [CONSOLE] Server is restarting. World is being saved.
    2011-04-25 00:29:27 [INFO] Unknown console command. Type "help" for help.
    2011-04-25 00:29:27 [INFO] Enabling level saving..
    2011-04-25 00:29:27 [INFO] CONSOLE: Enabling level saving..
    2011-04-25 00:29:27 [INFO] Unknown console command. Type "help" for help.
    2011-04-25 00:29:27 [INFO] Forcing save..
    2011-04-25 00:29:27 [INFO] CONSOLE: Forcing save..
    2011-04-25 00:29:27 [INFO] Saving chunks
    2011-04-25 00:29:27 [INFO] Save complete.
    2011-04-25 00:29:27 [INFO] CONSOLE: Save complete.
    2011-04-25 00:29:27 [INFO] Unknown console command. Type "help" for help.
    2011-04-25 00:29:27 [INFO] Stopping the server..
    2011-04-25 00:29:27 [INFO] CONSOLE: Stopping the server..
    2011-04-25 00:29:27 [INFO] Unknown console command. Type "help" for help.
    2011-04-25 00:29:27 [INFO] Stopping server
  17. Offline


    GroupManager doesn't have the inSingleGroup function, by the way. You should use a try/catch for the nosuchmethoderror, and use just inGroup in the catch.
  18. Offline


    Tested on my RB733 server using 2.7 (However it shows as 2.6, maybe you forgot to update the variable?) seems to work fine as far as i can see. If i encounter an error i will report it :)
  19. Offline


    this has completely stopped working for me.
  20. Offline


    Can you be more specific?
  21. Offline


    Could a webservice call the server to fetch these information like Minequery does?
  22. Offline


    meaning i dont get any stats reported at all.

    have you ever considered a mysql database or h2? i would think statistics would be more stable. when i get home tonight i will dig in deeper as to why stats are posting and let you know.
  23. Offline


    Yes. The raw stats are generated in xml and json encoded formats. See the readme for details.
  24. Offline


    definetly going to try this this weekend.
  25. Offline


    can i have a walkthrough or tut on how to implement a "self updating" version of this to my website
  26. Offline


    Hi, why when I edit "mcstats.html" and run server its ok, but after server restart "mcstats.html" come back to the basic design and tables...?
    help ;(
  27. Offline


    So - my webpage of stats went completely blank, and I downgraded to 2.6.1 like instructed - but lost all my stats.
    (its almost become impossible to keep any running stats on the go between all the changes.. I seem to have to keep restarting after every major upgrade :( )

    not blaming the plugin of course.. just the instability of the game when upgrades come out

    edit: OK,.. restored from backup, got my stats back.. bottom line- 2.7 didn't work for me :)
  28. Offline


    You might want to change your Readme

    "set the overwriteHtmlReport option in the plugin.yml file to true so that your changes are not overwritten my MCStats."

    Do I need to restart my server after changing this setting to false? or is this instant?
  29. Offline


    Great plugin, but what is the XML generation period? I'm using it to make a auto rank system by time spent online.
  30. Offline


    Check the config settings in the readme on bukkit. Defaults to once every minute.

    Verified on my server running 766.

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


    What's your license btw? I'd love to make a version of this for my new plugin.

Share This Page