[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

    barghest

    Excellent. I'll be keeping my eye on this one. On my old hMod server, I used achievements mostly to make jokes about how much I hate gravel, but my plan is to use various CraftBukkit plugins (including Achievements) to allow players to "earn" access to blocks they cannot "legally" get, such as pig spawner blocks, grass blocks, and Nether blocks.

    My RPG-lite adventure/quest/explore hybrid Minecraft server vision thanks you for porting this. ;)

    EDIT: Let's put more "words" in pointless "quotes"... heh.
     
  3. Offline

    Kainzo

    Right ... so how do you view the stats of a player? /stats NAME? Perhaps I missed something
     
  4. Offline

    subram

    It works Fine :D
     
  5. Offline

    DJ411

    Will this work with iConomy? So where if i get an achievement i get money?

    Will achievements have the ability to move users to different groups? when groups are complete will it be able to move someone from ex Guest to builder?
     
  6. Offline

    Nideco

    I certainly hope that the Stats plugin will in the end just record as much stats as is possible in (Craft)Bukkit, so you can be as creative as can be with the achievements you give the players.
     
  7. Offline

    earthiverse

    Thank you a lot for bringing this to Bukkit! This was the first plugin i searched for and have been looking for it daily.

    A bug I see right off the bat is a new player appears to have warped `4` times, and the spaces travelled are very inaccurate (I moved approximately 3-4 spaces, and it showed in stats that I had moved 78 spaces.)
     
  8. Offline

    lonelydime

    Maybe someone could make a default achievements.txt file for lazy server admins like myself ;)

    Great plugin!
     
  9. Offline

    Kattlan

    Anyone got an example? Like for damagedealt:Sheep:40?
     
  10. Offline

    scar413

    is there a full list of actions that stats-plugins is tracking? would be a great help to build a complete achievementslist
     
  11. Offline

    poopiepants

    First, I would like to say thank you so much for the plugin!
    Nice for someone to do some work for the community on their free time.

    Will there be any web/html files created for display on the web?
    Would be nice to see both stats and achievements on the web.

    What about some configurable basic stats for in game?

    Thank you

    Poopiepants
     
  12. Offline

    bogboom

    Any way to view the stats in game or out of game.. Other than the text file?
     
  13. Offline

    SeeD419

    Example of my Achievements.txt - http://pastebin.com/XFFGBiQH

    You can use this as a base for your own, hope someone finds this helpful.
     
  14. Offline

    Nathan C

    Wow, thank you man! Was very easy to import my previous player achievements and settings to this one. It is just like the old hey0 one!

    Thanks again. Keep up the good work!
     
  15. Offline

    bLazem

    wicked so glad this got ported. My achievements.txt took a bit of time to create. Stats helped us today to find a greefer and got him banned. His Stats file showed the tnt he had stolen from a mods unprotected (fail) chest. First person banned from our server.
     
  16. Offline

    lonelydime

    Thanks for posting your sample txt, it helped a lot!

    Ok so maybe I missed something, but I keep getting the console error that it cannot find the achievments.txt is empty.

    Code:
    2011-01-22 20:57:48 [INFO] [Achievements]: Found required plugin: Stats
    2011-01-22 20:57:48 [INFO] [Achievements]: Found required plugin: GroupUsers
    2011-01-22 20:57:48 [INFO] [Achievements]: achievements.txt is empty
    2011-01-22 20:57:48 [INFO] [Achievements]: Achievements v16 Plugin Disabled
    
    It's most certainly not empty. I've tried putting it in the craftbukkit directory, plugins, plugins/achievements, plugins/Achievements. Can I get some help here, the source link is incorrect or I'd try and find the directory it's supposed to be located in.

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

    poopiepants

    If you have too many achievements and you list them, it will only show one page.
    Text that goes on a second line will change color to white.

    Not sure if maybe I am missing some config settings.

    Thank you
     
  18. Offline

    Foolscap

    I'm so happy this is ported, I have a nice long list of achievements from hMod I can't wait to use again!

    Are there plans to make this less dependent upon the GroupUser plug-in, as the author has maintained he won't be supporting it any longer?
     
  19. Offline

    poopiepants

  20. Offline

    XhiZor

    Could someone explain how do you install that achievements plugin?
     
  21. Offline

    DJ411

    will this work with iConomy? so when i get an achievement i can give money to that user?

    i know i'm repeating my question but its not getting answered.
     
  22. Offline

    Rallerbabz

    Need update...GroupUsers doesnt work so well anymore - not compatible with much - so could you convert it to use Permission?
     
  23. Offline

    bLazem

  24. Offline

    l5p4ngl312

    Yes. Please move to permissions. And also iConomy support ^^
     
  25. Offline

    lonelydime

    Everyone seems to be ignoring the help post as I also need help setting up this plugin and with no readme on how to do so and no source for achievements, it's a pain to figure out. If someone has managed to set it up and get it working, while you're asking for permissions support can you offer a hand :)
     
  26. Offline

    jimmydorry

    If it's like any other plugin, then if it is a zip... extract it... then dump the JAR into the plugins and the folders in the same structure they were zipped as. You then need to run the server once, and stop it cleanly. Modify any required settings, and then you should be good. I'm not going to touch this mod till it has Permissions support, so I can't say anything more specific.

    And the source code is also in the OP... as far as I can tell.
     
  27. Offline

    Hypo2010

    Can you add support for the Permissions plugin?
     
  28. Offline

    nidefawl

    Will be added!

    Good to hear :)

    Added.
    The command is:
    money <amount>

    The permissions tools dont allow that at the moment. Thats why I've done my own hMod-like permission system

    Don't know if i get around doing something releasable.
    I did integrate it in my own page.
    For an example look at http://craftland.org/?s=players
    You can also integrate stats into your plugins without using any SQL, I will post some examples later

    Ingame stats will definitely be added!

    If you don't mind I willl add some of those lines to the default achievements.txt

    Yeah I like the hey0-datasource style. I wrote NijiPermissions/groupUsers wrappers and my own permission system, so I can use all the old hMod-DataSources/groups/commands and still benefit from the new plugins

    Sorry! Fixed the source link.
    What OS are you using? Are you sure its not a filesystem permission problem?

    I changed the fileloading-path definition a bit in the new version.
    Let me hear if it works for you when its uploaded!

    I will add pages and and some better formatting.

    Permission support will be added!

    New version will be up as soon as I have it working with Niji's Permissions
     
  29. Offline

    Kayonesoft

    This is fantastic news indeed.
    This is the single thing holding me back from using this addon at the moment.
    Great to hear you're working with Niji!
     
  30. Offline

    lonelydime

    Got it, thanks!
     

Share This Page