[INACTIVE][INFO] Stats [v0.99] and Achievements [v0.99][1000]

Discussion in 'Inactive/Unsupported Plugins' started by nidefawl, Jan 20, 2011.

  1. Offline

    nidefawl

    Stats and Achievements

    This plugin will be found at dev-bukkit soon
    sockenklaus will manage this project in the future (thank you!)

    Features:
    • Stats
      • Logs many actions that players do!
      • Block Destoys(for each block), Item Uses, Damage Dealt, Deaths per type, Kills per type, Played-Time (with AFK flags!)...
      • '/stats' shows basic stats and more
      • '/played' shows your play-time on the server
      • Keeps all stats within a SQLite or MySQL Database
      • Your plugin can support Stats!
    • Achievements
      • Give users achievements when they have completed something!
      • e.g. MintyAnt mined 500 obsidian. Message "You have no life!" Appears, and they recieve the "No Life" achievment and 10 Diamond as a prize
      • Achievement-Conditions:
        • <achievement-name>
        • New in 0.9:
          • group <group-name>
          • permission <permissionstring>
        • can be multiple seperated by ;
        • each of them can have a inverting '!' (!group jailed;!badachievement)
        • can be none of course :)
      • Reward-Commands:
        • /item <name or id>
        • /money <negative or postive amount>
        • /group <group-name>, /warp <warp-name>
        • New in 0.9: Native console commands:
          • /op *;/time 13500;/god *;/kick *
          • use any console command that works on your console
        • New in 0.9 (GroupManager):
          • addsubgroup <groupname>
          • removesubgroup <groupname>
          • addpermission <permissionstring>
          • removepermission <permissionstring>
    Source:
    Download:
    Newest (Fix for updated plugins (iConomy, BOSEconomy, Essentials, Permissions 3)
    Old (Tested with #617 (works up to 1000!))
    If you still have problems with CraftIRC or iConomy + Achievements try one of the following version:
    Outdated versions:
    Configuration:
    Permissions for v0.9+:
    Show Spoiler

    Achievements:
    achievements.check - only players that have that permissions will be checked + awarded
    achievements.view.own - grants access to /achievements (/ach)
    achievements.view.list - grants access to /listachievements (/listach)
    achievements.admin.check - grants access to /checkachievements (/chekcach)
    achievements.admin.reload - grants access to /reloadachievements (/reloadach)

    Stats:
    stats.log - only actions of players that have that permissions will logged
    stats.view.own - allows a player to watch his own stats with the /stats command
    stats.view.others - allows a player to watch other players stats with the /stats <player> command
    stats.view.playtime - allows a player to watch his play-time with the /played command
    stats.admin - grants access to /stats debug + /stats set + /stats list

    Latest Changes:
    Show Spoiler

    Stats v0.99
    • Fix for Permissions 3.0
    Stats v0.985
    • Permissions fixed
    • Code cleanup
    • More settings, to disable logging of some events
    Stats v0.98
    • Attempt to fix plugin dependencies
    Stats v0.972
    • Attempt to fix Classpath and Updater... again
    Stats v0.96 (03-04-11)
    • Forgot to update internal version
    • Forgot wolf
    Stats v0.95 (03-04-11)
    • Updated to latest RB (617)
    • Better Permissions/GroupManager plugin handling
    • removed the usage of os-specific sqlite libraries. (lets see what happens)
    Achievements v0.99
    • Fix for newest Economy plugins
    Achievements v0.981
    • Attempt to fix plugin dependencies
    • fixed a typo with the 'achievements-definitions-sql'. Check your config!
    Achievements v0.972
    • Attempt to fix Classpath and Updater... again
    Achievements v0.96 (03-04-11)
    • Forgot internal version
    • Forgot wolf
    Achievements v0.95 (03-04-11)
    • Updated to latest RB (617)
    • Better warp-command handling for Essentials


    full Stats changelog
    full Achievements changelog

    Supported plugins:
    Tools:
    Please donate --> [​IMG]


    Please read the Wiki before posting:

     
  2. Offline

    Umbra

    Definitely
     
  3. Offline

    nidefawl

    Can you post the error or describe your problem more detailed?

    do they have stats.log permission?
    What does /stats say for you?

    Updating will not fix it until I know whats your problem in detail

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

    Scipione

    Everytime i load up my server it says: "UPDATE INSTALLED. PLEASE RESTART ...."
    I Already restartet bout 10 times, but i keep getting this message.
    I Also manually downloaded the 0.96 jar files and updated them manually but still same message.
     
  5. There doesn't seem to be any errors, however it does show this on startup even though I'm using the latest version:

    2011-04-04 00:17:51 [INFO] [Stats-0.96] Newer version found - Downloading file : http://dev.craftland.org/stats/Achievements.jar
    2011-04-04 00:17:51 [INFO] [Stats-0.96] + Download complete
    2011-04-04 00:17:51 [INFO] [Stats-0.96] Newer version found - Downloading file : http://dev.craftland.org/stats/Stats.jar
    2011-04-04 00:17:51 [INFO] [Stats-0.96] + Download complete
    2011-04-04 00:17:51 [INFO] [Stats-0.96] UPDATE INSTALLED. PLEASE RESTART....

    when using /stats or /listach it states it has had an internal server error.
     
  6. Offline

    nidefawl

    Sorry, dont know what I did wrong here... my local version worked fine. I reuppped it.
    Give me some feedback plz
     
  7. Same problems, just saw this in the log though:

    Code:
    2011-04-04 00:33:51 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'listach' in plugin Achievements v0.96
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:233)
        at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:594)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:557)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.Error: Unresolved compilation problems:
        The type org.anjocaido.groupmanager.GroupManager cannot be resolved. It is indirectly referenced from required .class files
        The import org.anjocaido.groupmanager.GroupManager cannot be resolved
        The import org.anjocaido.groupmanager.data cannot be resolved
        The import org.anjocaido.groupmanager.data cannot be resolved
        GroupManager cannot be resolved to a type
        GroupManager cannot be resolved to a type
        GroupManager cannot be resolved to a type
        GroupManager cannot be resolved to a type
        GroupManager cannot be resolved to a type
        GroupManager cannot be resolved to a type
        Group cannot be resolved to a type
        GroupManager cannot be resolved to a type
        User cannot be resolved to a type
        GroupManager cannot be resolved to a type
    
        at com.nidefawl.Stats.Permissions.GroupManagerResolver.<init>(GroupManagerResolver.java:1)
        at com.nidefawl.Stats.Stats.CreatePermissionResolver(Stats.java:438)
        at com.nidefawl.Stats.Stats.Perms(Stats.java:83)
        at com.nidefawl.Achievements.Achievements.load(Achievements.java:330)
        at com.nidefawl.Achievements.Achievements.onCommand(Achievements.java:374)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
     
  8. Same error with 0.96, internal error +" [INFO] [Stats-0.96] UPDATE INSTALLED. PLEASE RESTART...." bug
    :)

    edit :

    Code:
    00:35:03 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing comman                                                     s' in plugin Stats v0.96
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.                                                     )
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer                                                     33)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.ja
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:36
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:37
    Caused by: java.lang.NullPointerException
            at com.nidefawl.Stats.Stats.onCommand(Stats.java:330)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35
            ... 12 more
    
    i run with permissions
     
  9. Offline

    Jacob Honoré

    Got same error.. So something is diffenately wrong. - And the script doesnt seem to connect to database.
    Im running it on a Debian server.
     
  10. And the "achievement" folder stay empty :(

    edit : works with 0.972; thx man ;)
     
  11. Offline

    moose517

    .972 fixed it, working great now
     
  12. Offline

    unachemaxwell

    okay, when I installed the newest stats and achievements plugins... it pretty much breaks all my other plugins... working with CB 617 and using ichat 2.2.2 (breaks) group manager 1.03C(breaks) multiverse 1.6, iconomy (breaks), and uquest (breaks).

    To give you a better idea on some of the errors I can PM you a server log. or upload it. whichever is easier for you.
     
  13. Offline

    Todrias

    I've been having the same problem, this plugin breaks iConomy somehow.
     
  14. Offline

    unachemaxwell


    okay pastebin with errors after installing stats: http://pastebin.com/P9TsuDdn

    pastebin prior to installing stats and achievements: http://pastebin.com/g2kwC4By

    started using permissions now only the iconomy error remains for some reason....

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

    Todrias

    I'm using iChat too, and it works fine with Stats installed, only iConomy breaks.
     
  16. Good news: Stats and Achievements now work.
    Bad news: They break GroupManager.
     
  17. Offline

    Umbra

    Working for me with 0.972 + GroupManager (CB #617)
     
  18. Orly? Well they're breaking a lot of my plugins, GroupManager being one of them :/
     
  19. Offline

    Todrias

    Are You also using iConomy? Because it's the only plugin that's not working for me.
     
  20. Offline

    Dope

    My Iconomy also breaks.
     
  21. Offline

    Umbra

    I do. I can't see any error showing in my console and everything seems to work fine.
     
  22. Offline

    Timberman

    it breaks LWC for me...
     
  23. Offline

    CyborgOne

    Code:
    12:30:33 [SCHWERWIEGEND] java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.inGroup(Ljava/lang/String;Ljava/lang/String;)Z
    12:30:33 [SCHWERWIEGEND]        at com.nidefawl.Stats.Permissions.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:74)
    12:30:33 [SCHWERWIEGEND]        at com.nidefawl.Achievements.AchConditionals.meets(AchConditionals.java:51)
    12:30:33 [SCHWERWIEGEND]        at com.nidefawl.Achievements.Achievements.checkAchievements(Achievements.java:289)
    12:30:33 [SCHWERWIEGEND]        at com.nidefawl.Achievements.AchievementsCheckerTask.run(AchievementsCheckerTask.java:11)
    12:30:33 [SCHWERWIEGEND]        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
    12:30:33 [SCHWERWIEGEND]        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:356)
    12:30:33 [SCHWERWIEGEND]        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    12:30:33 [SCHWERWIEGEND]        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    
    CB 617
    Stats/Achs 0.97
    permissions 2.5.5


    permissions, problem?
    or can u help?
     
  24. Offline

    Todrias

    I did some more testing, turns out that the plugin that was causing iConomy to break was Achievements, not Stats. It's still weird, though.
     
  25. Offline

    Marduk1608

    i get this error when executing /reloadach, using 0.972 and cb 617

    Code:
    2011-04-04 13:06:57 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'reloadach' in plugin Achievements v0.972
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:233)
        at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:594)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:557)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:551)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.NullPointerException
        at com.nidefawl.Achievements.Commands.AchCommandHandler.preCheck(AchCommandHandler.java:63)
        at com.nidefawl.Achievements.AchievementsLoader.LoadAchievementsList(AchievementsLoader.java:176)
        at com.nidefawl.Achievements.Achievements.reloadList(Achievements.java:220)
        at com.nidefawl.Achievements.Achievements.onCommand(Achievements.java:396)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
     
  26. Offline

    NeatMonster

    Error with GroupManager for me :
    Code:
    (...)
    
    
            GroupManager cannot be resolved to a type
            User cannot be resolved to a type
            GroupManager cannot be resolved to a type
     loading Stats v1.0 (Is it up to date?)
    java.lang.Error: Unresolved compilation problems:
            The type org.anjocaido.groupmanager.GroupManager cannot be resolved. It is indirectly referenced from required .class files
            The import org.anjocaido.groupmanager.GroupManager cannot be resolved
            The import org.anjocaido.groupmanager.data cannot be resolved
            The import org.anjocaido.groupmanager.data cannot be resolved
            GroupManager cannot be resolved to a type
            GroupManager cannot be resolved to a type
            GroupManager cannot be resolved to a type
            GroupManager cannot be resolved to a type
            GroupManager cannot be resolved to a type
            GroupManager cannot be resolved to a type
            Group cannot be resolved to a type
            GroupManager cannot be resolved to a type
            User cannot be resolved to a type
            GroupManager cannot be resolved to a type
    
            at com.nidefawl.Stats.Permissions.GroupManagerResolver.<init>(GroupManagerResolver.java:1)
            at com.nidefawl.Stats.Stats.CreatePermissionResolver(Stats.java:438)
            at com.nidefawl.Stats.Stats.onEnable(Stats.java:574)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  27. Offline

    letmedl

    Anyone else getting this with the latest version of Stats and Achievements?

    Code:
    2011-04-04 07:35:09 [SEVERE] Unexpected exception
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.inGroup(Ljava/lang/String;Ljava/lang/String;)Z
            at com.nidefawl.Stats.Permissions.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:74)
            at com.nidefawl.Achievements.AchConditionals.meets(AchConditionals.java:51)
            at com.nidefawl.Achievements.Achievements.checkAchievements(Achievements.java:289)
            at com.nidefawl.Achievements.AchievementsCheckerTask.run(AchievementsCheckerTask.java:11)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:356)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    it basically freezes the server up, it happens after i break a block.
     
  28. Offline

    Manji

    achievements.txt says:
    Code:
    1:Cold Blooded:1:damagedealt:total:4000: Deal 6000 damage:item arrow 500
    what's intended to be correct here, 4k or 6k?
     
  29. Offline

    Skadar

    I'm not at my home PC right now, but I can report that Stats crashes my linux server hard. I'm on 617 with latest Permissions, iConomy, etc. all running nicely. I tried installing Stats last night. Copied the .jar over and restarted my server. No errors on startup and I saw that Stats updated or downloaded something. Stopped server. Restarted and got a hard java crash with every attempted stop and start. Removed Stats and restarted the server. Everything running smoothly again.
     
  30. Offline

    Codisimus

    glad to see this was updated, will be adding back to my server soon!
     
  31. Offline

    scar413

    got a strange bug, i'm not 100% sure if its achievements/stats fault.

    with
    cb#617
    essentials 2.1.17
    and
    achievements and stats 0.972

    iconomy 4.65 bootup
    error (open)

    2011-04-04 16:16:38 [SEVERE] tried to access class com.nijiko.coelho.iConomy.iConomy$Listener from class com.nijiko.coelho.iConomy.iConomy loading iConomy v4.65 (Is it up to date?)
    java.lang.IllegalAccessError: tried to access class com.nijiko.coelho.iConomy.iConomy$Listener from class com.nijiko.coelho.iConomy.iConomy
    at com.nijiko.coelho.iConomy.iConomy.onEnable(iConomy.java:174)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)


    everything works though

    another problem is, that essentials /home doesn't work anymore. no console errors, only ingame.
    error (open)

    Error tried to access class com.earth2me.essentials.User$3 from class com.earth2me.essentials.User


    as i said, it only happens with achievements/stats enabled.
     

Share This Page