[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

    GmK

    Great job - but could you please update the OP to say that it doesnt work with Permissions 2.5.4? I updated, only to see it is all broken, and had to go back to 0.8 again.
     
  3. Offline

    crazydog

    Here's a suggestion:

    I'd like to track all players stats, but I don't want people who just connect to the server for a minute and then leave.

    How about a setting where if a player leaves and their playedfor value is less than a specified amount, all his stats are removed from the database?
     
  4. Offline

    turtlelink2

    how do i promote user to group on a specific or all worlds?
     
  5. Offline

    NickBrahz

    Everytime somebody gets an achievement, this shows up in console and crashes my server.

    Code:
    12:19:11 [SEVERE] java.lang.NoSuchMethodError: com.earth2me.essentials.User.get(Lorg/bukkit/entity/Player;)Lcom/earth2me/essentials/User;
    12:19:11 [SEVERE]       at com.nidefawl.Achievements.Commands.AchCommandMoney.handleCommand(AchCommandMoney.java:34)
    12:19:11 [SEVERE]       at com.nidefawl.Achievements.Commands.AchCommandHandler.run(AchCommandHandler.java:123)
    12:19:11 [SEVERE]       at com.nidefawl.Achievements.Achievements.checkAchievements(Achievements.java:336)
    12:19:11 [SEVERE]       at com.nidefawl.Achievements.Achievements$CheckerTask.run(Achievements.java:240)
    12:19:11 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
    12:19:11 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:345)
    12:19:11 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    12:19:11 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    12:19:11 [SEVERE] Unexpected exception
    java.lang.NoSuchMethodError: com.earth2me.essentials.User.get(Lorg/bukkit/entity/Player;)Lcom/earth2me/essentials/User;
            at com.nidefawl.Achievements.Commands.AchCommandMoney.handleCommand(AchCommandMoney.java:34)
            at com.nidefawl.Achievements.Commands.AchCommandHandler.run(AchCommandHandler.java:123)
            at com.nidefawl.Achievements.Achievements.checkAchievements(Achievements.java:336)
            at com.nidefawl.Achievements.Achievements$CheckerTask.run(Achievements.java:240)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:122)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:345)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    >
    
     
  6. Offline

    nidefawl

    Can't work on updates for a while as my internet is not working.
    What exactly got broken from 0.8 to 0.9?
     
  7. Offline

    NickBrahz

    Would be nice to be able to run this plugin without it causing a complete server shutdown everytime somebody get's a achievement...
     
  8. Offline

    wokka1

    Thats not very many details, this works just fine with build 556 and .9 stats/achievements, along with a slew of other plugins and using the sqlite for stats only.
     
  9. Offline

    scar413

    you can change the mcmmo stats command in die mcmmo.properties file
     
  10. Offline

    DonutEcstasy

    Erm, I am kinda confused and I know this is retarded but... How do you add a achievement?
     
  11. Offline

    eRko16

    Hi, I have an idea, what about make command /top, which player type /top it show him Player which have most played time
     
  12. Offline

    nitroxygen

    this is not working for me in CB 602

     
  13. Offline

    nidefawl

    You will have to wait some days...
     
  14. Offline

    eRko16

    Hi, I have an idea, what about make command /top, which player type /top it show him Player which have most played time

    Please how to fix these errors:

    21:29:59 [INFO] [Stats-0.9] Moving items.txt to plugins\Stats/items.txt
    21:29:59 [SEVERE] [Stats-0.9] Exception while reading plugins\Stats\items.txt (A
    re you sure you formatted it correctly?)java.lang.NumberFormatException: For inp
    ut string: "2257bedblock"
    21:29:59 [SEVERE] java.lang.NumberFormatException: For input string: "2257bedblo
    ck"
    21:29:59 [SEVERE] at java.lang.NumberFormatException.forInputString(Unknow
    n Source)
    21:29:59 [SEVERE] at java.lang.Integer.parseInt(Unknown Source)
    21:29:59 [SEVERE] at java.lang.Integer.parseInt(Unknown Source)
    21:29:59 [SEVERE] at com.nidefawl.Stats.ItemResolver.hModItemResolver.load
    Items(hModItemResolver.java:293)
    21:29:59 [SEVERE] at com.nidefawl.Stats.ItemResolver.hModItemResolver.<ini
    t>(hModItemResolver.java:21)
    21:29:59 [SEVERE] at com.nidefawl.Stats.udpates.Update2.execute(Update2.ja
    va:20)
    21:29:59 [SEVERE] at com.nidefawl.Stats.Stats.onEnable(Stats.java:570)
    21:29:59 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:118)
    21:29:59 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:451)
    21:29:59 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:217)
    21:29:59 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:92)
    21:29:59 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:70)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:204)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:191)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServe
    r.java:131)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:246)
    21:29:59 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:366)
    21:29:59 [INFO] [Stats-0.9] Adding bedblock (26) to items.txt
    21:29:59 [INFO] [Stats-0.9] Updating stats in database
    21:29:59 [INFO] [Stats-0.9] Updated 0 stats.
    21:29:59 [INFO] [Stats-0.9] Adding repeateron (93) to items.txt
    21:29:59 [INFO] [Stats-0.9] Updating stats in database
    21:29:59 [SEVERE] [Stats-0.9] SQL exceptionjava.sql.SQLException: [SQLITE_CONSTR
    AINT] Abort due to constraint violation (columns player, category, stat are not
    unique)
    21:29:59 [SEVERE] java.sql.SQLException: [SQLITE_CONSTRAINT] Abort due to const
    raint violation (columns player, category, stat are not unique)
    21:29:59 [SEVERE] at org.sqlite.DB.newSQLException(DB.java:383)
    21:29:59 [SEVERE] at org.sqlite.DB.newSQLException(DB.java:387)
    21:29:59 [SEVERE] at org.sqlite.DB.execute(DB.java:342)
    21:29:59 [SEVERE] at org.sqlite.DB.executeUpdate(DB.java:363)
    21:29:59 [SEVERE] at org.sqlite.PrepStmt.executeUpdate(PrepStmt.java:85)
    21:29:59 [SEVERE] at com.nidefawl.Stats.udpates.Update2.UpdateItemStatKey(
    Update2.java:77)
    21:29:59 [SEVERE] at com.nidefawl.Stats.udpates.Update2.execute(Update2.ja
    va:35)
    21:29:59 [SEVERE] at com.nidefawl.Stats.Stats.onEnable(Stats.java:570)
    21:29:59 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:118)
    21:29:59 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:451)
    21:29:59 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:217)
    21:29:59 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:92)
    21:29:59 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:70)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:204)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:191)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServe
    r.java:131)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:246)
    21:29:59 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:366)
    21:29:59 [INFO] [Stats-0.9] Updated 0 stats.
    21:29:59 [INFO] [Stats-0.9] Adding repeateroff (94) to items.txt
    21:29:59 [INFO] [Stats-0.9] Updating stats in database
    21:29:59 [INFO] [Stats-0.9] Updated 0 stats.
    21:29:59 [INFO] [Stats-0.9] Adding bed (355) to items.txt
    21:29:59 [INFO] [Stats-0.9] Updating stats in database
    21:29:59 [INFO] [Stats-0.9] Updated 0 stats.
    21:29:59 [INFO] [Stats-0.9] Adding repeater (356) to items.txt
    21:29:59 [INFO] [Stats-0.9] Updating stats in database
    21:29:59 [SEVERE] [Stats-0.9] SQL exceptionjava.sql.SQLException: [SQLITE_CONSTR
    AINT] Abort due to constraint violation (columns player, category, stat are not
    unique)
    21:29:59 [SEVERE] java.sql.SQLException: [SQLITE_CONSTRAINT] Abort due to const
    raint violation (columns player, category, stat are not unique)
    21:29:59 [SEVERE] at org.sqlite.DB.newSQLException(DB.java:383)
    21:29:59 [SEVERE] at org.sqlite.DB.newSQLException(DB.java:387)
    21:29:59 [SEVERE] at org.sqlite.DB.execute(DB.java:342)
    21:29:59 [SEVERE] at org.sqlite.DB.executeUpdate(DB.java:363)
    21:29:59 [SEVERE] at org.sqlite.PrepStmt.executeUpdate(PrepStmt.java:85)
    21:29:59 [SEVERE] at com.nidefawl.Stats.udpates.Update2.UpdateItemStatKey(
    Update2.java:77)
    21:29:59 [SEVERE] at com.nidefawl.Stats.udpates.Update2.execute(Update2.ja
    va:53)
    21:29:59 [SEVERE] at com.nidefawl.Stats.Stats.onEnable(Stats.java:570)
    21:29:59 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:118)
    21:29:59 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:451)
    21:29:59 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:217)
    21:29:59 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:92)
    21:29:59 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:70)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:204)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:191)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServe
    r.java:131)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:246)
    21:29:59 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:366)
    21:29:59 [INFO] [Stats-0.9] Updated 0 stats.
    21:29:59 [SEVERE] [Stats-0.9] Exception while reading plugins\Stats\items.txt (A
    re you sure you formatted it correctly?)java.lang.NumberFormatException: For inp
    ut string: "2257bedblock"
    21:29:59 [SEVERE] java.lang.NumberFormatException: For input string: "2257bedblo
    ck"
    21:29:59 [SEVERE] at java.lang.NumberFormatException.forInputString(Unknow
    n Source)
    21:29:59 [SEVERE] at java.lang.Integer.parseInt(Unknown Source)
    21:29:59 [SEVERE] at java.lang.Integer.parseInt(Unknown Source)
    21:29:59 [SEVERE] at com.nidefawl.Stats.ItemResolver.hModItemResolver.load
    Items(hModItemResolver.java:293)
    21:29:59 [SEVERE] at com.nidefawl.Stats.ItemResolver.hModItemResolver.<ini
    t>(hModItemResolver.java:21)
    21:29:59 [SEVERE] at com.nidefawl.Stats.udpates.Update2.execute(Update2.ja
    va:56)
    21:29:59 [SEVERE] at com.nidefawl.Stats.Stats.onEnable(Stats.java:570)
    21:29:59 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:118)
    21:29:59 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:451)
    21:29:59 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:217)
    21:29:59 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:92)
    21:29:59 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:70)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:204)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:191)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServe
    r.java:131)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:246)
    21:29:59 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:366)
    21:29:59 [SEVERE] [Stats-0.9] Exception while reading plugins\Stats\items.txt (A
    re you sure you formatted it correctly?)java.lang.NumberFormatException: For inp
    ut string: "2257bedblock"
    21:29:59 [SEVERE] java.lang.NumberFormatException: For input string: "2257bedblo
    ck"
    21:29:59 [SEVERE] at java.lang.NumberFormatException.forInputString(Unknow
    n Source)
    21:29:59 [SEVERE] at java.lang.Integer.parseInt(Unknown Source)
    21:29:59 [SEVERE] at java.lang.Integer.parseInt(Unknown Source)
    21:29:59 [SEVERE] at com.nidefawl.Stats.ItemResolver.hModItemResolver.load
    Items(hModItemResolver.java:293)
    21:29:59 [SEVERE] at com.nidefawl.Stats.ItemResolver.hModItemResolver.<ini
    t>(hModItemResolver.java:21)
    21:29:59 [SEVERE] at com.nidefawl.Stats.Stats.onEnable(Stats.java:571)
    21:29:59 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:118)
    21:29:59 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:451)
    21:29:59 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:217)
    21:29:59 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:92)
    21:29:59 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:70)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:204)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:191)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServe
    r.java:131)
    21:29:59 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:246)
    21:29:59 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:366)
    21:29:59 [INFO] [Stats-0.9] Using Nijis Permissions for permissions
    21:29:59 [INFO] [Stats-0.9] Plugin Enabled
    21:29:59 [INFO] SuperJump version 0.1 has been enabled!
    21:29:59 [INFO] TimeAnnounce - Copyright 2011 - Shannon Wynter (http://fremnet.n
    et) - Source released under GPL3
    21:29:59 [INFO] TimeAnnounce version 1.0 is enabled :)
    21:29:59 [INFO] TPack: Loading Cuboids...
    21:29:59 [INFO] TPack: An error occured while loading cuboids! (Don't worry if t
    his is your first time running TPack)
    21:29:59 [INFO] TPack version 2.0 is enabled!
    21:29:59 [INFO] Whitelist: Trying to load whitelist and settings...
    21:29:59 [INFO] done.
    21:29:59 [INFO] Whitelist version 2.7 is enabled!
    21:29:59 [INFO] WorldEdit 4.2 enabled.
    21:29:59 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
    for permissions.
    21:29:59 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugi
    n for permissions.
    21:29:59 [INFO] WorldGuard: Single session is enforced.
    21:29:59 [INFO] WorldGuard: TNT ignition is blocked.
    21:29:59 [INFO] WorldGuard: Lighters are PERMITTED.
    21:29:59 [INFO] WorldGuard: Lava fire is blocked.
    21:29:59 [INFO] WorldGuard: All fire spread is disabled.
    21:29:59 [INFO] WorldGuard 4.0-alpha1 enabled.
    21:29:59 [INFO] Done (0.381s)! For help, type "help" or "?"

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

    turtlelink2

    I asked this before but how do I access group manager multiworld stuff, I need people to be promoted on a specific world not just the one they are in at the time of the achievement or it could be all worlds
     
  16. Offline

    Josh Ice

    I'm having a bit of trouble. I'm not sure how to get my MySQL database connected correctly. I usually use localhost or localhost:3306 as the server for my database but it doesn't seem to work. It throws me a connection error. I really don't want to use sqlite as I already have a MySQL server running all the time. Anyone know what I'm supposed to put under the server variable in the config file? Any help would be appreciated.

    Update: More info. The error I'm getting actually says that there's no suitable driver found.

    Update2: Alright, got it working. Didn't realize that the address designated the database. The reason it didn't connect is because my database wasn't named minecraft. A quick change to the end of the url :
    jdbc:mysql://localhost:3306/stats

    made it work.
     
  17. Offline

    Sawn

    Great news :)

    It seems that latest builds have modified many aspects of Bukkit that may cause mush work for plugin devs so it's understandable :)

    I'm not a dev but I'm trying to make a nice web interface in PHP for my users to consult their stats/achievements/dynmap/... (no prebuilt one suited my needs) and I've been confronted to a specific problem : I'm generating global and per-player top-destroyed/placed/used/dropped blocks arrays and I consider some blocks/objects to be redundant like 'log' and 'wood' (I know log was the old name for wood but it seems still used in stats), 'reedblock' and 'reed', 'redstoneore' and 'redstoneorealt', etc ...

    So I would like to suggest a feature for the next version :

    I know those objects names are differents in-game for a reason but I would like to merge some of them by adjusting a configuration parameter.

    Like, for example :

    Would it be possible to implement ?
     
  18. Offline

    nidefawl

    you can set the the names in the items.txt
     
  19. Offline

    foulosophe

    doesn't work with craftbukkit 1.4 ?
     
  20. Offline

    ronix

    No, it doesn't - seems we have to wait a while for the update.
     
  21. Offline

    foulosophe

    Yeah, okay, thanks =) We will wait
     
  22. Offline

    Sawn

    Arf i'm such a morron x)

    Didn't remember this file, I was searching to do such a thing with my SQL requests...

    Thanks for the answer. :)
     
  23. Offline

    citricsquid

    I made exactly the same mistake and had the same problem, your question (and nidefawls answer) helped me too -- thanks!
     
  24. Offline

    unachemaxwell

    I noticed this as well as me and a friend of mine ran around killing each other for 2 hours the other day :p still at 0.

    Eagerly awaiting this to be patched for 1.4! Keep up the good work.
     
    Fright01 likes this.
  25. Offline

    derchris

    Yupp, that's the only plugin left I had running on 1.3 which is not working on 1.4.
     
    bnm12 and goldseed like this.
  26. Offline

    killerbeez

    Gogo 617
     
    bnm12 likes this.
  27. Offline

    Steve Member

    Hmm just blows up on startup here:-
    Code:
    15:31:55 [SEVERE] tried to access class com.nidefawl.Achievements.Achievements$AchievementsServerListener from class com.nidefawl.Achievements.Achievements loading Achievements v0.9 (Is it up to date?)
    java.lang.IllegalAccessError: tried to access class com.nidefawl.Achievements.Achievements$AchievementsServerListener from class
     com.nidefawl.Achievements.Achievements
            at com.nidefawl.Achievements.Achievements.onEnable(Achievements.java:178)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    15:31:55 [SEVERE] tried to access class com.nidefawl.Achievements.Achievements$AchievementsServerListener from class com.nidefawl.Achievements.Achievements loading Achievements v0.9 (Is it up to date?)
    java.lang.IllegalAccessError: tried to access class com.nidefawl.Achievements.Achievements$AchievementsServerListener from class
     com.nidefawl.Achievements.Achievements
            at com.nidefawl.Achievements.Achievements.onEnable(Achievements.java:178)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    With only stats installed it throws the expected out of date stuff:
    Code:
    15:57:21 [INFO] [Stats-0.9] Moving items.txt to plugins\Stats/items.txt
    15:57:21 [INFO] [Stats-0.9] Adding bed (355) to items.txt
    15:57:21 [INFO] [Stats-0.9] Updating stats in database
    15:57:21 [INFO] [Stats-0.9] Updated 0 stats.
    15:57:21 [INFO] [Stats-0.9] Adding repeater (356) to items.txt
    15:57:21 [INFO] [Stats-0.9] Updating stats in database
    15:57:21 [INFO] [Stats-0.9] Updated 0 stats.
    15:57:21 [INFO] [Stats-0.9] Using bukkit's isOp() for permissions
    15:57:21 [SEVERE] PLAYER_ITEM loading Stats v0.9 (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_ITEM
            at com.nidefawl.Stats.Stats.initialize(Stats.java:638)
            at com.nidefawl.Stats.Stats.onEnable(Stats.java:580)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    And with only achievements:
    Code:
    16:02:04 [SEVERE] Nag author: '<NoAuthorGiven>' of 'Achievements' about the following: onPluginEnable has been replaced with a n
    ew signature, (PluginEnableEvent)
    
    So I'm guessing some sort of race condition when both plugins are enabled hence the first set of IllegalAccessError errors ?

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

    foulosophe

    when for update ? Doesn't work with 1.4 :'(
     
  29. Offline

    NeatMonster

    Please update, not working with GroupManager for me.
     
  30. Offline

    Pawned

    I can confirm that this is broken using GroupManager.
     
  31. Offline

    ratty

    I tried 0.96 on CB 617 and it shows everyone as offline. It loads up without problems and never any console errors.
     

Share This Page