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

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

  1. Offline


    Stats and Achievements

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

    • 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>
    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:
    Permissions for v0.9+:
    Show Spoiler

    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.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:
    Please donate --> [​IMG]

    Please read the Wiki before posting:

  2. Offline


    I tested out the mysql, and nothing happenes (i set mysql on true) no bin folder were created and no mysql.properties...
  3. Offline


    Still getting the null pointer error I reported earlier.
    I am only running permissions, not longer using groups.
    Any help would be appreciated. thanks.
  4. Offline


    really nice, gonna use it in the near future for my server
  5. Offline


    Ditto, had to disable it after a few hours, made our server nearly unplayable with lag. It'll be great once it's optimized more!
  6. Offline


    stay tuned for the next update. it'll be a huge difference!
  7. Offline


    the cpu usage is huge :S I hope that will be fixxed and a suggestion too: Better mysql listening/writing for one player one table, and in the table the tab "damagetaken" "blockdestroy" ... and not for every stat one table for every player... this is not the best solution... and not the fastest...
  8. Offline

    Nathan C

    You know where I could get a script that will pull the achievements and list them per player on the website?
  9. Offline


  10. Offline


    The full inventory message comes up, but doesn't ever attempt to re-deliver the prize? I'm not sure how this is supposed to work, but I figure the best way (and probably the way it's intended to work) would be to just remove that achievement from the players list (when the item can't be delivered), that way in 60 seconds (or whatever) it would try to give them the reward again.

    My main point is, if your inventory is full, you lose all your prizes permanently right now, it'd be sweet if that got fixed :)
  11. Offline


    i dont know what you mean, it uses 1 table. Even though i did not invent this concept (I'm not the original author) it should work really well.
    In the next update there are dirty flags implemented and it uses a shared sql-connection to keep things low on memory.

    Thats what it does righ now! Don't know if there was a bug on 0.2c.

    Still working on testing and documentation before I load it up (its running at craftland.org right now)
  12. i think he means 1 table per player ...... means :

    now it's like this
    player | category |stat |value
    | | |
    xy | stat | blockdestroyed |xy
    xy | stat | blockcreated | xy

    and this would be better:
    id | player | lastlogout | lastlogin | blockcreatedsand | blockcreateddirt | aso ......
    1 |xy |time1 |time2 |xy |xy |

    so you have such a table per player and not per stat,
    this is much better for online applications and not so complicated to do something with this data
  13. Offline


    and everytime you add a custom stat or there is new event in bukkit you need to modify the table and add columns.
    this table would have about 375 columns on my data right now. you could do colums for every category. well its thats not how stats is intended to work (very extendable)

    this is not better, you just have to use the right sql statement in you application!

    Edit: if you have lots of data I would not use Flatfiles anyway
  14. Offline


    Any ideas what could be causing this?
    [SEVERE] [Stats-v0.2c] Stats attempting to unload an player that's not loaded: ssechaud
  15. Offline


    the player has either no permission, or could not be loaded (mysqlerror/filesystem-problem)
    there could be several reasons the player has no permission.

    i'm looking forward to get the ne version out soon, should fix lots of stuff and has improved error handling
  16. Offline


    :eek:! Will it also handle color modding too :D
  17. Offline


    some, yes
    --- merged: Feb 4, 2011 1:12 AM ---
    update is online.
    anyway. right after putting it up I found a little memory-leak!
  18. Offline


    That's weird. I already have color in my achievements. :confused:
  19. Offline


    Dont know what you mean o0
    Please explain more.
    Do you mean green colored achievements and not having them achieved ?
  20. Offline


    1:&6[Trinitrotoluene]&3:1:blockcreate:tnt:1:Wait, what are you doing with that?:money 10
    Achievement name is in orange, everything else is in white. Works fine for me. You can still get the achievement and it displays correctly in chat.
  21. Offline


    did not test if it works on setting colors in the achievements.txt
  22. Offline


    Doesn't work with version 2.0 of Permission. Also, when you type /stats sometimes it stops the server.
  23. Offline


    Ah yes, I'm still on 1.9 permissions.
  24. Offline


    Hmm I see you have a statement for using MySql but where would I put that? In the flatfile?

    Also - I assume I would lose all my flatfile stats and achievements correct?
  25. Offline


    Just updated to stats .3, doing a /stats in game on build 238 just shuts the server down, no errors.
    M1sT3rM4n likes this.
  26. Offline


    I get same result, deleted all other plugins beside stats and achievements, any command from either plugin restarts the server, every time for me. /ach /listach /stats, any of them, server just reboots.
  27. Webstats
    Version: v1.1

    Show stats+archievments on Webspage
    Login with Authorize data , but atm you only can add or edit email to database

    edit language.php for german or english
    edit settings.php
    edit header.psd

    Preview : http://tinyurl.com/64b3mbf
    Download : http://tinyurl.com/6ykc3yt
  28. Offline

    Heinz Harald

    I have the same error. /ach /listach /stats restarts the server since i`ve updated to .3
  29. Offline


    Confirmed, running b239, permissions v2.0 and v0.3 of stats, and commands reset the server.
  30. Offline


    I am getting this as well. Just so you know ;) lol.
  31. Offline



Share This Page