[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

    shadydeath999

  3. It's still one of the best Stats&Achievements plugins and it still works perfect with [1060], i hope it will still work with v1.8 :)
     
  4. Offline

    shadydeath999

    it doesnt work on mc 1.8 of bukkit player join event error
     
  5. Offline

    tom

    Please update this ;)
     
  6. Still works perfect with RB1185!
    No errors, playerjoin works as intended.

    I love this plugin!
     
  7. Somehow half of the new users don't get recognized though and another half don't get updated here :(
     
  8. Offline

    ShaDooM

    after switching to permissionsbukkit, users lost all their stats (admins didnt) did anyone get it to work with permissionsbukkit?
    the stats also stay at 0 (all of em)

    edit:

    nevermind, just let the player rejoin and it works again (cb 1221)
    <3 thats what i call a plugin
     
  9. Offline

    Jdbye

    iConomy 6 support please.
     
  10. Offline

    sockenklaus

    goldseed likes this.
  11. Offline

    goldseed

    Goooood job!! Are you willing to take over this project???
    but I think this does not works cb 1240...
    PLZ..
     
  12. Offline

    MJRamon

    Doesn't work on 1240. Fork, please!
     
  13. Offline

    sockenklaus

    Hi,
    this is strange since my version of the plugin works for me on my 1240 server.
    Could you explain in which way it doesn't work for you? Post a server log too, if possible. =)

    Thanks for the positive feedback. :) Since i need Achievements and Stats for my own plugin, i will add some bug fixes to the plugin every now and then and i surely will post them into this thread. But i won't take over the project, because i haven't got the time to develop another plugin besides work and university.
     
  14. Offline

    MJRamon

    Well, you've said, that " it's a little bit quick and dirty", so I used original one :) But I'll give a shot for your version :)
     
  15. Offline

    DemonCraft

    For the Statics thing. (www.DemonCraftonline.com/stats)
    How do I add the Achievements to it?
    Also, for new items like Web's and such, how do I add those, item name or ID does not work.
    so will this be updated with new monsters and items along with the Achievement genetor.
     
  16. Offline

    sockenklaus

    Yep, it's quick and dirty, but it should work.... at least it works for me. :)

    Also i added the new blocks and items (since 1.8??) to the Stats plugin. Download it here and don't forget to delete the "items.txt" in your servers "plugins/Stats" directory before you reload, so Stats can recreate the file.
     
    GmK and ronix like this.
  17. Offline

    pandapipino

    @sockenklaus Thanks for updating it, BTW I'm having a huge lag on the old plugin v0.99 on bukkit 1124 have you fixed this problem on your version of stats?
    - I just tried your plugin Stats version Stats-0.99.1-b1 and it also lags my server. maybe you can fix it? Or I'm the only one experiencing this lag?
     
  18. Offline

    sockenklaus

    @pandapipino: I'm not experiencing any lags because of Stats. Could you post a server log please?
     
  19. Offline

    pandapipino

    http://pastebin.com/wEsxBkFy

    its a bit too many but when Stats is activated all of my players gets disconnected every minute, but when I tried to remove the Stats plugin the lag is gone and there were no massive disconnection.


    Heres my config:

    asql-db = jdbc:mysql://111.111.111.111:3306/database
    sql-pass = databasepassword
    sql-table-stats = stats
    sql-user = myusername
    stats-afk-delay = 0 # (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
    stats-debug = false
    stats-log-block-ignite = false #disable/enable logging of block ignite events
    stats-log-blockcreate = false #disable/enable logging blockcreate
    stats-log-blockdestroy = false #disable/enable logging blockdestroy
    stats-log-damage-events = true #disable/enable logging of damage AND death events
    stats-log-itemuse = false #disable/enable logging of item use events
    stats-log-move = false #disable/enable logging player move events
    stats-log-player-animations = false #disable/enable logging of player-animations (armswing)
    stats-log-vehicle = false #disable/enable logging of vehicle events
    stats-login-delay = 3600 #limit between login-count increases
    stats-message-prefix = &e[Stats]&f
    stats-save-delay = 30 #delay between automatic saving (seconds)


    - Ok I just did an experiment and tried using sqlite and it does not lag at all. When I tried using mysql database and tried to do the command /stats it will lag.

    - I'm also using other mysql supported plugin like HawkEye and it doesn't lag like this.
     
  20. Offline

    lucasdidur

    +1

    Stats 0.99 With Permissions 3

    Guys, I've changed a plugin to be compatible with the Permissions 3 while it is not updated.
    So, use only if you are using Permissions 3.


    Download http://dl.dropbox.com/u/6219825/Plugins/Stats 0.99/Stats.jar


    OBS: Here is working normally for me. No bugs

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

    sockenklaus

    Hi,

    yeah you're right. Remote MySQL connections slow down the server because the save task of Stats is executed in the same thread as the rest of the plugin.

    I think i fixed the problem in this build. :>

    @lucasdidur:
    Nice, could please post the source code and what you've changed so i can add the changes to my repository? =)
     
  22. Offline

    pandapipino

    Dude your awesome! let me try this on my server. THANKS!
     
  23. Offline

    pandapipino

    @sockenclaus
    I have another request if you can. In the config file: stats-deathnotify = true (server announce a player who died/killed by a mob/player) Now the problem is if I set it to "FALSE" the notification and announcement will be gone which is fine, the problem is If I disabled it the storing of kills will be also disabled, it seems that this config handles 2 configuration at a time.

    Request:
    Can you disable Death notify? but allowing kills to always save in the database OR you can make 2 configuration (one for the deathnotify = true and another one for saving kills = true) for the seperate features.

    *I think we don't really needed death notification since mobs are not yet updated on this plugin, there are also some other plugins that do this feature very well and its "HeroicDeath" (much more updated)

    That's All, Thanks!
     
  24. Offline

    stkeroro

    what to do with register? paste in plugins directory as like others plugins?

    lastes CB 1318 and error on console (it doent grant money)
    Code:
    11:19:59 [WARNING] Task of 'Achievements' generated an exception
    java.lang.IncompatibleClassChangeError: Expected static method com.nijikokun.reg
    ister.payment.Methods.hasMethod()Z
            at com.nidefawl.Achievements.Commands.AchCommandMoney.checkRegister(Unkn
    own Source)
            at com.nidefawl.Achievements.Commands.AchCommandMoney.handleCommand(Unkn
    own Source)
            at com.nidefawl.Achievements.Commands.AchCommandHandler.run(Unknown Sour
    ce)
            at com.nidefawl.Achievements.Achievements.checkAchievements(Unknown Sour
    ce)
            at com.nidefawl.Achievements.AchievementsCheckerTask.run(Unknown Source)
    
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
    raftScheduler.java:137)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  25. Offline

    pandapipino

    SQL error:

     
  26. Offline

    sockenklaus

    I will put this on a ToDo list. :)

    BTW: Your SQL exception looks kinda like your SQL server went offline... That's the only way i could explain that exception.

    Install Register like any other plugin: Put it in your plugins directory and reload the server. Don't forget, that you still need a economy plugin like iConomy. Register is just the API that Achievements uses to communicate with the economy plugin.
    By the way: Did you mean CB1317? That's the current recommended build. And IF you meant CB1317: When did this error occur? What is your Achievements config? What plugins are you using?

    @stkeroro: Oh by the way: Did you really use this build of Achievements?
     
    pandapipino likes this.
  27. I'm getting this error with other plugins, too.
    It's not a fault with Achievements, it seems the error comes from another source.
    When i remember right, it the error startet 2 days ago.
    And no, i'm using original Stats & Achievements.
     
  28. Offline

    stkeroro

    its register fault, it fails on enable...
     
  29. Offline

    sockenklaus

    Thats not completely right: There is some plugin that makes Register fail but it isn't Register itself. On my development server i use XmlStats, Stats, Achievements, Pail, iConomy6 and Register and it works like a charm. So there must be another plugin that crashs Register.
     
  30. Offline

    goldseed

    Is there anyone can correct this???
    thanks.
     

Share This Page