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

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

  1. Offline

    deltahat

    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

    Features:
    • 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

    imaxorz

    Can I see what your config file looks like?

    All my files generate, but they don't post into the .html file.
     
  3. That's the thing, my config file only has the playerstopurge in it. I too need an example FULL config file to setup the auto upload to a server
     
  4. Offline

    imaxorz

    Hmm I had it like that, but it was still not exporting into the html file. :(

    I was at least going to manually upload it.
     
  5. Offline

    fregman

    awesome plugin

    would be nice if there userpages where you can see which blocks are placed and broken
     
  6. Offline

    imaxorz

    I got mine working. Here in case you still need help.


    playersToPurge: ''
    secondsBetweenSaves: '60'
    resourceSaveDirectory: /var/www/
    secondsBetweenPageRefreshes: '60'
    httpServerContextRoot: /var/www/
    httpPort: 8124
    webserverEnabled: true
    httpBacklog: 15

    With the above in your config file your mcstats should appear at

    http://yourserversIP:8124/var/www/mcstats.html


    I hope that helps.
     
  7. Offline

    Jobsti

    Ahahahaa it's back again.
    Thanks!

    Edit:
    The post above me, thanks, had to use '' ;)

    Edit2:
    I want to save my files in: /srv/www/htdocs/minecraft/
    But doesn't work, it always make this dir: ...bukkit/plugins/MCStats/srv/www/htdocs/minecraft/

    resourceSaveDirectory: srv/www/htdocs/minecraft/ same as resourceSaveDirectory: /srv/www/htdocs/minecraft/

    Edit3: Now it works :D
    resourceSaveDirectory: ../../../../../../srv/www/htdocs/minecraft/

    Request:
    permissions/Groupmanager-Support,
    - so no logging for Guests/Default users.
    - Mods/Admins with other colors:
    [​IMG]


    Old hmod layout with the new mcstats for Hell and Normal-World, works ;)
    http://minecraft.jobsti84.de/stats.php
     
  8. Offline

    deltahat

    MCStats v2.2 Released

    Bug Fixes:
    • Plugin now creates initial config and directories on first startup
    • Fixed issue where web report was being forced under the Plugins/MCStats2 directory
    Still Outstanding:
    • Crazy counting problems with PKs
    • Groups still don't work
     
  9. Offline

    TheShadow777

    hey i will test your plugin but i become this error:

    at com.ryanmichela.MCStats2.StatsPlugin.onEnable(StatsPlugin.java:92)
    java.lang.NullPointerException
    > 10:49:02 [SEVERE] null loading MCStats2 v2 (Is it up to date?)
     
  10. Offline

    camo0067

    08:22:09 [SEVERE] null loading MCStats2 v2 (Is it up to date?)
    java.lang.NullPointerException
    at com.ryanmichela.MCStats2.StatsPlugin.onEnable(StatsPlugin.java:92)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:414)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:187)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)

    I am getting this error message also. And I don't have a new save directory either.
     
  11. Offline

    darkcammo

    I've got the same problem on 531
     
  12. Offline

    deltahat

    oops. I was using the latest dev buid. I'll fix that tonight.

    I deleted the download because it is broken.
     
  13. Offline

    treepunch

  14. Offline

    deltahat

    Fixed initialization glitch. Download re-enabled.

    MCStats v2.3 Released

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

    fregman

    it shows now User Moderator instead of only Moderator

    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - User
     
  16. Offline

    deltahat

    That's because you are in both the User and Moderator group, due to group inheritance.

    I could add an option to ignore the default group.
     
  17. Offline

    Stephen92

    that would be nice :) I love your plugin.
     
  18. Offline

    Direct1221

    I am still using MCStats2 the first one you put out. Still works like a treat :)

    I can deal with the PvP kills being off as we have the PvP toggle and noone ever turns it off :p

    http://tddirect.org/stats/

    Runs perfect. We tested the times, blocks placed & blocks destroyed thoroughly and it works flawless.

    Thank you! :D
     
  19. Offline

    Oscarius

    Any chance of GroupManager support?
     
  20. Offline

    deltahat

  21. Offline

    Pyroking

    Im getting these errors for some reason:
    Code:
    18:58:00 [SEVERE] Could not pass event PLAYER_JOIN to MCStats2
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroups(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
            at com.ryanmichela.MCStats2.service.GroupService.getGroups(GroupService.java:40)
            at com.ryanmichela.MCStats2.controller.StatsController.logIn(StatsController.java:43)
            at com.ryanmichela.MCStats2.controller.StatsPlayerListener.onPlayerJoin(StatsPlayerListener.java:34)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:125)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:98)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    >
    
     
  22. Offline

    deltahat

    Do you have the permissions plugin installed?
     
  23. Offline

    Pyroking

    Yes, i guess that the reason, but i though the ups/admins had the acess to it.. but anyway, i hope you will help, so far the plugin is great !
     
  24. Offline

    deltahat

    Is your version of permissions up to date? MCStats depends on the latest version.
     
  25. Offline

    Pyroking

    I see, thats a problem :(, well i will try to update the permission plugin.

    Works now, thank you for this great plugin :)

    deltahat, for some reason i cant edit the html file, is there anyway to edit it? it seems it replace the old file with a new.

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

    escape

    Very nice plugin! Is there a possibility you could add support for iConomy money for each player?
     
  27. Offline

    deltahat

    This is addressed in the README
     
  28. Offline

    Grefuntor

  29. Offline

    angus22397

    does your picture really have to be someone getting their fingers crushed by gears?
     
  30. Offline

    deltahat

    It gets even better if you click the pic :)
     
  31. Offline

    angus22397

    WOW, now thats just gruesome.
     

Share This Page