[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

    Scipione

    Is this working with 733 ? Anyone tried ?
     
  3. Offline

    dragonhib

    Works fine for me
     
  4. Offline

    NeoZeroo

    This is awesome. How do you get to see the stats using SQLite, though? I run a linux server, is there a way to show stats online without MySQL?
     
  5. Offline

    Shooty

    Hum, hello guy i'm french and sorry for my bad english so :

    i'v installed STATS and when I'll try /stats, when the plugin is launch on SQLITE DATABASE the command works but when i'll try /stats whenthe plugin is launch on MYSQL database nothing append, why ? and on my database of db4free nothing is write... i'll try db4free.org it's work for my website but not for the plugin if anyone can help me :/

    :/ Don't work for me in 733 (MYSQL MODE)

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

    some1

    erm problem here i use mcmmo so when i say stats the stats of mcmmo pops up any way of changing the /stats of the stats plugin?
     
  7. Offline

    GmK

    Work for me on 733 (MYSQL MODE)

    ;)
     
  8. Offline

    Shooty

    Hum can you help me ... ? I've entered the good information in each answer but not works.. when i'll try /stats anything appear but when i switch SQLITE /stats works great, i use DB4FREE, and I use other programs that work with this DB and I have no problem...

    This is my Config file :

    Code:
    sql-db = db4free.org
    sql-pass = ****
    sql-table-stats = stonecraft
    sql-user = stonecraft
    stats-afk-delay = 300   # (seconds) If there is no player-activity in this time playedfor does not get updated. Set to 0 to disable.
    stats-autoUpdate = false
    stats-datasource = mysql   #sqlite or mysql
    stats-deathnotify = true
    I can't understand ...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 6, 2016
  9. When does a new version for 733 comes?

    greetings
    Chriss
     
  10. Offline

    Lord Chaos

    I am getting this error when starting up on every achievement that gives items:

    Code:
    2011-04-29 23:07:35 [SEVERE] [Achievements-0.982] Bad command 'item watch 1' (invalid item) correct is: item <itemname> <amount>
    2011-04-29 23:07:35 [INFO] [Achievements-0.982] Disabling achievement 'Mending Fences'...
    2011-04-29 23:07:35 [SEVERE] [Achievements-0.982] Bad command 'item greenrecord 1' (invalid item) correct is: item <itemname> <amount>
    2011-04-29 23:07:35 [INFO] [Achievements-0.982] Disabling achievement 'If only I had a record'...
    2011-04-29 23:07:35 [SEVERE] [Achievements-0.982] Bad command 'item slimeorb 5' (invalid item) correct is: item <itemname> <amount>
    2011-04-29 23:07:35 [INFO] [Achievements-0.982] Disabling achievement 'Slimes? lol'...
    2011-04-29 23:07:35 [SEVERE] [Achievements-0.982] Bad command 'item waterbucket 1' (invalid item) correct is: item <itemname> <amount>
    2011-04-29 23:07:35 [INFO] [Achievements-0.982] Disabling achievement 'Now thats Hot'...
    2011-04-29 23:07:35 [SEVERE] [Achievements-0.982] Bad command 'item goldrecord 1' (invalid item) correct is: item <itemname> <amount>
    2011-04-29 23:07:35 [INFO] [Achievements-0.982] Disabling achievement 'How much wood...'...
    2011-04-29 23:07:35 [SEVERE] [Achievements-0.982] Bad command 'item arrow 500' (invalid item) correct is: item <itemname> <amount>
    2011-04-29 23:07:35 [INFO] [Achievements-0.982] Disabling achievement 'I kill shit'...
    2011-04-29 23:07:35 [SEVERE] [Achievements-0.982] Bad command 'item arrow 1000' (invalid item) correct is: item <itemname> <amount>
    2011-04-29 23:07:35 [INFO] [Achievements-0.982] Disabling achievement 'Cold Blooded'...
    2011-04-29 23:07:35 [INFO] [Achievements-0.982] loaded 63 achievements definitions
    2011-04-29 23:07:35 [INFO] [Achievements-0.982] Achievements 0.982 Plugin Enabled
     
  11. Offline

    Shooty


    What are you put in sql-db ? Because i'll will try with : jdbc:mysql://db4free.org, //db4free.org, db4free.org, jdbc:mysql:db4free.org, don't work...
     
  12. Offline

    Abadon84

    so it scould work: jdbc:mysql://sqlserveradress:3306/databasename

    oh, if jou mean in the config you only have to put in the name of the database without the jbdc stuff

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

    Shooty

    I'll try two options and no works ... but thank's for helping :)

    BIGBROTHER database works great and other plugins too but i really have problem with that :(
     
  14. Offline

    Abadon84

    in the stats&achievements config file you have to put it in with the jbdc stuff, in the config of minestats only the database without the path. are the tablenames in the config alright?

    EDIT: oh it isnt my thread^^ forget the config for minestats, you have to put it in like the first answer
     
  15. Offline

    Shooty

    What is Stats&Achievements config file ? I have just stats, i don't want use achievement... Otherwise, if can you help me by using teamviewer or other.. i show you my DB and my ftp and you can try to understand the problem ?
     
  16. Offline

    tha d0ctor

    it kinbd of works on 740 but causes read timed out errors all the time, please fix! (mysql)
     
  17. Offline

    JasonBD89

    Works 740 (MySQL)

    Would like an update to add Squids and Bookshelves too the logs
     
  18. Offline

    Abadon84

    yeah i could help you this afternoon when i am home again per teamviewer... send me a private message please with your icq or skype or something else ;)
     
  19. Offline

    kahlilnc

    I am using stats and it works for me on CB 740.
     
  20. Offline

    dslip

    @nidefawl
    Howdy, I noticed there is a version of Achievements for iconomy + craftirc. I use both of those plugins and am interested in the benefit of that version ?

    Also, Could you consider Herochat integration as it is a fantastic chat plugin but at present it stops all 'chat' stats logging.
     
  21. Offline

    nidefawl

    edit your items.txt
    This version is for ppl having problems on server load, just look some pages before this one back in this thread
    About herochat, thought i fixed it by changing the even priorites. will look into again soon
     
  22. Offline

    Mezada

    I noticed a possible error. In the stats for deaths. It will have a key for how you died ie lava, drowning, zombie, etc.

    however I noticed that when you die by monsters and there are a lot around it counts your death as if the mob that first hit you killed you. For example I have full health a creeper explodes and now I'm at half health. Next a zombie comes up and finishes me off. The stats records this as a death from a creeper and not a zombie when it was in fact the zombie that killed me. I haven't tested this out be first drowning and then dying by a zombie or something else, but that might also have there error not sure.

    I use MySQL if that matters. all and all a great plugin.

    I have one question though is there a list somewhere that lists all the possible categories and keys for those categories that the stats will capture. This would make it really nice for creating achievements before seeing first what all the stats is collecting.
     
  23. Offline

    kahlilnc

    Needs some updating. It crashes my server to much.
     
  24. Offline

    nidefawl

    Thats a bukkit bug (reporting the wrong damag amount)
    Needs no updating
     
  25. Offline

    Mezada

    hmm I don't know, but heriocdeath seems to know what monster killed me correctly. I can understand how a bukkit bug reporting the wrong damage amount can mess up the damagetaken stat but not the death stat. unless you are calculating the death just by damage taken?
     
  26. Offline

    tha d0ctor

    Something is wrong with your plugin if you use an external MySQL server and not local host, it crashes a lot for me with a bunch of read timed outs and end of streams. it worked swell before newest bukkit with external Mysql server, thanks!
     
    kahlilnc likes this.
  27. Offline

    kahlilnc

    Why is there no need for updating?
     
  28. Offline

    GmK

    Because it works perfectly on b740, except the small derps with damage and that you might have to adjust your achievements to say :/give * <item> <amount> instead of :item <item> <amount>
     
  29. Offline

    kahlilnc

    Same here.
     
  30. Offline

    tha d0ctor

    I'm glad i'm not the only person with the problem, not only does it casue a lot of crashes but if you run external mysql server the server load times is like 4 fold and huge lag spikes occur when you send block info to server among the other problems like end of stream and timed out errors
     
  31. Offline

    nidefawl


    Yes i calculate the the 'new health' by applying the damage amount to your current health. If it hits <= 0 I save the Entity for later.
    For some reason the Creepers damage does report damage >= your health and so the Creeper gets tracked as your killer.
    Will look into heroicdeath once more...



    Do you use the server for something else than Stats?
    Did it start when you updated Craftbukkit? (There is mysql-connector jar in craftbukkit since some versions, maybe it breaks something)

    Where did you get the MySQL server? Is it free so I could signup and do some testing?
     

Share This Page