[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

    Kayonesoft

    Oh I just thought of something else.
    Is/can there be a trigger for elevation? So I can grant an achievement to someone who goes above the clouds or someone who hits bedrock?
     
  3. Offline

    atristoffate

    Awesome. I was waiting for Permissions support! Testing this out today on my server. (craftbukkit #137)
     
  4. Offline

    nidefawl

    no,
    i could check the coordinates onMove though
    but i don't want to overdo it right now, let's wait till we have the basic stuff in like itemdrop/pickup, death and kill
     
  5. Offline

    Kayonesoft

    Fair enough. Sorry to overwhelm you.
    Just offering suggestions, that's all. [​IMG]
     
  6. Offline

    joey

    where do i put the achievements.txt
     
  7. Offline

    scar413

  8. Offline

    atristoffate

    Is there any way you can separate the achievement list that we create achievements in from the list that players view? I love this plugin but the current /listach allows players to see the base configuration for each achievement instead of a tidy achievement/requirements list. If possible, I'd love to see a player list that shows each achievement and what's required to complete it. (Perhaps even list the reward(s))

    Also, insignificant in the scale of things, but there's a typo in the /stats help file. Sumary should read "summary".
    Thanks a lot for a fantastic set of plugins!
     
  9. Offline

    joey

    ive noticed a few bugs not sure if its what im running just incase im runing
    Essentials,MCDocs,WorldEdit,SignEdit,WorldGuard,WarpGate,SimpleShop,iConomy,Permissions,Achievements,Stats,FriendlyCreepers,iChat
    With
    newest build for bukkit
    okay ive noticed
    Pickup isnt working
    1:Undergrawnt Completed:1:itempickup:lightstone:1:Complete the quest Undergrawnt.:item fishingrod 1
    Damage taken by mobs is off by alot of hearts (like 25 hearts per half)
    1:HACKXOR! REPORTED! I:1:damagetaken:total:500:dIE ALREADY!?:item goldpants 1
    get that by getting hit by zombie about 5-6 times
    Anyone else having this bugg? or am i doing it wrong?
     
  10. Offline

    Kayonesoft

  11. Offline

    Cosmic Break

  12. Offline

    uncovery

    I am getting errors such as this:

    SEVERE: Could not pass event PLAYER_LOGIN to Stats
    java.lang.NoSuchMethodError: com.nijikokun.bukkit.Permissions.Permissions.getHandler()Lcom/nijiko/permissions/PermissionHandler;
    at com.bukkit.nidefawl.Stats.Permissions.NijiPermissionsResolver.check(NijiPermissionsResolver.java:22)
    at com.bukkit.nidefawl.Stats.Stats.Perms(Stats.java:55)
    at com.bukkit.nidefawl.Stats.StatsPlayerListener.onPlayerLogin(StatsPlayerListener.java:275)
    at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.java:150)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:201)
    at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:116)
    at net.minecraft.server.NetLoginHandler.b(SourceFile:113)
    at net.minecraft.server.NetLoginHandler.a(SourceFile:47)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-01-28 15:20:23 [INFO] Binkydude [/77.169.125.234:53934] logged in with entity id 1211
    Player count: 2
    Jan 28, 2011 3:20:23 PM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_JOIN to Achievements
    java.lang.NoSuchMethodError: com.nijikokun.bukkit.Permissions.Permissions.getHandler()Lcom/nijiko/permissions/PermissionHandler;
    at com.bukkit.nidefawl.Stats.Permissions.NijiPermissionsResolver.check(NijiPermissionsResolver.java:22)
    at com.bukkit.nidefawl.Stats.Stats.Perms(Stats.java:55)
    at com.bukkit.nidefawl.Achievements.Achievements$AchievementsListener.onPlayerJoin(Achievements.java:396)
    at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.java:129)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:201)
    at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:75)
    at net.minecraft.server.NetLoginHandler.b(SourceFile:121)
    at net.minecraft.server.NetLoginHandler.a(SourceFile:47)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Jan 28, 2011 3:20:28 PM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to Achievements
    java.lang.NoSuchMethodError: com.nijikokun.bukkit.Permissions.Permissions.getHandler()Lcom/nijiko/permissions/PermissionHandler;
    at com.bukkit.nidefawl.Stats.Permissions.NijiPermissionsResolver.check(NijiPermissionsResolver.java:22)
    at com.bukkit.nidefawl.Stats.Stats.Perms(Stats.java:55)
    at com.bukkit.nidefawl.Achievements.Achievements$AchievementsListener.onPlayerCommand(Achievements.java:409)
    at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.java:135)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:201)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:554)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:528)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:65)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
     
  13. Offline

    treepunch

    I just got this running on my server and LOVE it. You are amazing. Can't wait to see how to get this live on the webpage.
     
  14. Offline

    M1sT3rM4n

    Works great, but some things I would like to see is ability to format the prefix.
     
  15. Offline

    nidefawl

    already on the todo list

    read the todo list!

    will be added!

    could you please update to Permissions 1.9 and try again?

    Permissions 1.9?

    will be added!
     
  16. Offline

    Cosmic Break

    i have permissions 1.9, it just says 1.7 in the console.
     
  17. Offline

    uncovery

    ok I do not get teh error anymore since I updated permissions to 1.9 (thanks for the hint)
    Now there is one issue left:

    If I start the server and a new person joins (level "guest", not able to use stats) and then is promoted to level "user" by manually editing the permissions, the permissions file is reloaded and the user rejoins even, the stats for that user are not tracked and the user cannot use the commands even.
    Only after the server is restarted, the users stats are tracked.
     
  18. Offline

    nidefawl

    I already fixed it. will be in the next update...
     
    uncovery likes this.
  19. Offline

    uncovery

    one (small?) request: Can you split the words in the stats by _ ?
    I am writing a web interface for the stats for my server and it would be very easy to display them nicely if I would only have to substitute the _ with spaces. So the category "Damagedealt' should be "Damage_dealt" instead...
    --- merged: Jan 29, 2011 4:57 AM ---
    Also can I set the permissions so that the /listachievements is disabled? I want to keep it secret ...
     
  20. Offline

    jimmydorry

    Nice plugin. It works with the latest permissions plugin.
     
  21. Offline

    XhiZor

    I can't get achievements plugin to work I put the achievements.jar in my plugins folder add - 'ach' and - 'achadmin' to permissions, but everytime I type any command like /achievements or /listachievements nothing happens, console says: "XxHiZoRr issued server command: achievements" and then goes the line saying "Unknown console command."
    Here's my permissions settings: http://tinypaste.com/2fbbc2
     
  22. Offline

    nidefawl

    Achievements do not work without Stats
    I can't see any stats-permissions in your config
     
  23. Offline

    joey

    will it be released by today? or is it not close to being done?
     
  24. Offline

    XhiZor

    OK now I added stats to permissions (And put the .jar in plugins folder of course) and my console gives me this http://tinypaste.com/d1730 it says that achievements.txt is empty but it's not and it's where it should be.
    P.S. Stats works perfectly
     
  25. Offline

    dark navi

    I may be completely over-looking something, but I can't seem to find SQL files to generate the tables... any help?
     
  26. Offline

    boom_roasted

    Question, I unlocked the achievement "I Kill S***" and I was supposed to be given an award. Well my inventory was full so it said "You have an award waiting for you. Your inventory is full. You should free up some space."

    So I freed up some space in my inventory how do I go about getting my award?

    Great plugin btw!
     
  27. Offline

    joey

    are u going to release pick up soon please :( Ur one of my favorite programers and its the only thing stopping our server from going out of beta :)
     
  28. Offline

    Moxieman19

    Erm, how do I see exactly what is being tracked for stats?

    Also, my damagetaken doesn't seem to update. Hm.

    EDIT: Well, my damagetaken does update, but not for fall damage. And the scale seems way off for everything else. I got killed by a zombie and it recorded as 100 hearts worth of damage. Woah.
     
  29. Offline

    SeeD419

    Build 169

    <snipped error>
     
  30. Offline

    nidefawl

    Sorry, will be added!


    3-4 days maybe...

    I'll add some documentation on categorys/dtats beeing logged.
    And I'll do some more testing on this before I release the next update, thanks for reporting

    Outdated Stats version!
     
  31. Offline

    SeeD419

    I assumed it was the new bukkit release that broke it.

    I'll update and re-test.
     

Share This Page