[INACTIVE][FUN/ECON] Achievement v1.3 - Custom Minecraft Achievements [1000]

Discussion in 'Inactive/Unsupported Plugins' started by IC3D, Jun 27, 2011.

  1. Offline

    IC3D

    Achievement: A simple achievement plugin!
    Version: 1.3
    If you want help, tag @captainawesome7 , not IC3D!
    This is a super simple plugin. It is a somewhat easy to configure achievement plugin that takes advantage of Spout to make it look real. To see the Achievement Get notifications, you have to have the Spout server mod and client mod installed. It keeps track of kills, places, crafting, and breaks with an SQLite database, so there is no MySQL setup required.

    Requirements:
    Features:
    • Configurable Achievements!
    • Uses breaks, placements, kills, and crafting config options to award achievements!
    Configuration:
    config (open)

    The configuration is where all the magic happens. Here you can add as may achievements as you want! The default config.yml looks like this:
    Code:
    Breaks:
        stone:
            '1':
                Message: Your first cobble!
    Kills:
        zombie:
            '1':
                Reward:
                    Item:
                        Amount: 1
                        Type: stone
                    Money:
                        Amount: 1
                Message: Your first zombie!
    Places:
        stone:
            '1':
                Message: Your first stone smelt!
    Crafts:
        torch:
            '1':
                Reward:
                    Money:
                        Amount: 5
                Message: Light it up!
    
    The breaks and places format is as follows:
    Code:
    Breaks/Places:
        itemname:
            'amountToTrigger':
                Reward:
                    Item:
                        Amount: amountofItem
                        Type: itemName
                    Money:
                        Amount: moneyAmount (3co Only)
                Message: Your message here
    You don't have to include the reward section, and can omit item or money as you see fit. An example is:
    Code:
    Places:
        dirt:
            '100':
                Message: You dirty gurl!
    The above will send me the achievement notification You dirty Gurl! when I place 100 dirt.
    Note: The crafting achievements are per time crafted, not the amount. So the code already included will give the achievement regardless of the number of torches made, it is per itemstack crafted.

    Video Demo:
    Video (open)



    Downloads
    The source code is included in the .jar

    Planned Changes:
    • Add more hooks
    Changelog:
    Version 1.3
    • Hidden fix to try to address the Driver not found errors.
    Version 1.3
    • Updated to work with Spout
    Version 1.2
    • Fixed the nullpointerexception when crafting items. (I think it was actually a but of BukkitContrib, I'm pretty sure it sent a new event when somebody clicked on the result box, and not just when an item was actually crafted)
    • Fixed the database path not working (unconfirmed, tested on a mac with file.separator, in theory it should work for Windows users as well)
    • Added iConomy Support (Untested)
    • Added messages for hooking into 3co and iConomy in the console (when enabling)
    Version 1.1
    • Added crafting achievements
    Version 1.0
    • Official Release
    Credits:
     
  2. Offline

    vinstic

    I think this mod is awesome, but I dont feel to configurate the cinfig-file :/ Can some one post a serious configuration :)
     
  3. Offline

    Carbondani

    i forgot to say it to you but it works fine thx
     
  4. Offline

    kopcap23

    Awesome plugin! CB1000 works fine. But can you help me please, when i write Item ID(I need wooden door) 324 - plugin don't see it(wooden_door and door - same). How can I put Iron or Wooden door?
     
  5. Offline

    morizuki

    anyone here can give me a nice configuration of this? XD
     
  6. Offline

    EMOberger

    OK, this plugin works well and is a smart idea. but you really need to go into more info on the way the config works, for example how would i make a achievement for shooting arrows, or how do i make multiple achievements for one item example achievement for getting one wood than an achievement for getting 100 wood. also why does it erase everything i have done? i assume it was because i configed it wrong but it still shouldn't of deleted everything that was wrong and only keep the correct things. Please comment back.
     
  7. Offline

    sddddgjd

    I get the "no suitable driver found for jdbc:sqlite" error too!
    Come on,do a tutorial on fixing this...

    LE: I may get warned from this,but you sir,are the most useless coder i have ever seen! It's not that hard to help everyone who needs it after installing your plugin!
    Anyway,the fix is easy...just install essentials,and delete anything except essentials.jar and essentialsprotect.jar! essentialsprotect gets rid of the error!
     
  8. Offline

    Andrew1431

    He hasn't added functionality for shooting arrows, and heres what wood achievement would be:

    breaks:
    wood:
    '1':
    Message: You mined 1 wood!
    '10':
    Message: You mined 10 wood!
     
  9. What about Register support?
     
  10. Offline

    Andrew1431

    This is one way i messed up to see this happen: (I'm just using 1 space as the 4 spaces required for yaml 'cause i'm lazy)

    breaks:
    wood:
    '1':
    Message: Yay! 1 wood!
    wood:
    '10':
    Message: Yay! 10 wood!

    then saved and reloaded, then opened the config, and the wood: '10' was gone, I found out I had to move the '10' to the same spot as wood:

    wood:
    '1':
    Message: yay!
    '10':
    Message: yay!

    I don't know if this is your problem, but I lost alot to this! You ahve to organize them in the same group.

    Is there a way that the clients to the server can see what achievements they can unlock so that they can work towards getting these achievements?

    EDIT: And see what they've gotten / what they haven't gotten?

    Delete the Achievements.db in the plugins/achievements/ folder :p

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

    EMOberger

    yea, i figured that out xD i thought that was the problem but it wasn't xD

    yea thats what happened, but i was saying that the config should not auto delete the problems, just have an error or something like that.

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

    Grammar Troll

    Spout is the new BukkitContrib, and since all the names and such were refactored, all the BukkitContrib plugins will have to be updated to use Spout.
     
  13. Offline

    Herd_Of_Midgets

    Hiya am new to the message stuff but iv spent a few hour's in the config creating achievements the first few worked and it all saved successfully but when i run my server i get the above error am i doing something wrong? thanks for the help.
     
  14. Offline

    Grammar Troll

    post your config.yml here, you did something wrong.
     
  15. Offline

    PALKOVNIK

  16. Offline

    rymate1234

  17. Offline

    MrKrucible

    the folder isn't generating, so what do I do now?
     
  18. Offline

    Herd_Of_Midgets

    Oh okay, here is my error am getting when i added alot of achievements alot of effort when in to it. i just need to now what am doing wrong, code wise :(.


    02:36:28 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-
    g73697a4-b1000jnks (MC: 1.7.3)
    02:36:28 [SEVERE] Could not load 'plugins\Achievement.jar' in folder 'plugins':

    while scanning a simple key
    in "<reader>", line 45, column 1:
    breaks
    ^
    could not found expected ':'
    in "<reader>", line 46, column 9:
    wood:
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(Scanne
    rImpl.java:400)
    at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.jav
    a:231)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    2)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:564)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :228)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)

    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:82)
    at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:157)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:175)
     
  19. Offline

    Zocomen

    This working with Spout?
     
  20. Offline

    Scandragon

    No it doesn't, and IC3D hasn't been online since July 24th
     
  21. I'm using Bukkit 1000 with Spout and Spoutcraft.

    Show Spoiler
    2011-08-12 12:50:30 [SEVERE] java.sql.SQLException: No suitable driver found for jdbc:sqlite:C:\Users\Gaming\Desktop\Minecraft\plugins\Achievement\achievements.db
    2011-08-12 12:50:30 [SEVERE] at java.sql.DriverManager.getConnection(Unknown Source)
    2011-08-12 12:50:30 [SEVERE] at java.sql.DriverManager.getConnection(Unknown Source)
    2011-08-12 12:50:30 [SEVERE] at me.ic3d.achievement.Achievement.onEnable(Achievement.java:100)
    2011-08-12 12:50:30 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-08-12 12:50:30 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    2011-08-12 12:50:30 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    2011-08-12 12:50:30 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    2011-08-12 12:50:30 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    2011-08-12 12:50:30 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    2011-08-12 12:50:30 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    2011-08-12 12:50:30 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-08-12 12:50:30 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-08-12 12:50:30 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  22. Offline

    Deathmarine

    It sucks that before I saw this I had already setup the player listener, block listener, Mysql, and Iconomy hooks into ..... almost the same plugin. However Nice job it was taking me to long to make anyway, however Mysql support would be awesome for a php data sheet for completed achievements, and maybe adding some more events would be nice, but I like it.... I was still stuck at "You've placed a Torch". jk

    I can answer this for yah.
    SQLiteJDBC is a Java JDBC driver for SQLite
    http://files.zentus.com/sqlitejdbc/sqlitejdbc-v056.jar
    Download this and rename it to sqlite.jar
    Put it in you servers /lib/ folder.
    Restart your server. Golden

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  23. Just did. Thanks anyway :)

    Show Spoiler
    2011-08-12 16:47:27 [SEVERE] java.sql.SQLException: No suitable driver found for jdbc:sqlite:C:\Users\Gaming\Desktop\Minecraft\plugins\Achievement\achievements.db
    2011-08-12 16:47:27 [SEVERE] at java.sql.DriverManager.getConnection(Unknown Source)
    2011-08-12 16:47:27 [SEVERE] at java.sql.DriverManager.getConnection(Unknown Source)
    2011-08-12 16:47:27 [SEVERE] at me.ic3d.achievement.Achievement.onEnable(Achievement.java:100)
    2011-08-12 16:47:27 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-08-12 16:47:27 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    2011-08-12 16:47:27 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    2011-08-12 16:47:27 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    2011-08-12 16:47:27 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    2011-08-12 16:47:27 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    2011-08-12 16:47:27 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    2011-08-12 16:47:27 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-08-12 16:47:27 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-08-12 16:47:27 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  24. I don't know what's happening but I have been deleting the .jar and the direcotry "achievements" it makes a trillion times now and it keeps coming back ??? Not sure where it keeps it saved or whatever but deleting the .jar and dirctory, fresh reboot, as soon as I launch the server, presto everything back...

    Where do you place that file if your "server" is just home pc ? I don't have mysql installed (and god I hate mysql if its not on a onlne server, makes my system QQ all over with a billion errors :( As its mysqllite Im guessing its fine with just that jar file but where to put it ? I tried my root mc directory (where the server is) and my plugin directory but both nope ..

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

    tbsman

    MySQL Support? and please add an Achivement Option for getting at a Place.
     
  26. Offline

    TOAST7312

    @captainawesome7

    I'm having issues when running it. Not sure whats going on, though. Build 1000, of course:

    Code:
    04:29:38 [INFO] [Achievement] 3co not found.
    04:29:38 [INFO] [Achievement] iConomy found, hooking in.
    04:29:38 [INFO] [Achievement] Version 1.3 by IC3D enabled
    04:29:38 [INFO] [Achievement] Test query failed! Report the following error to c
    aptainawesome7:
    04:29:38 [SEVERE] java.sql.SQLException: No suitable driver found for jdbc:sqlit
    e:C:\Users\Alexander\Desktop\Minecraft\Bukkit\plugins\Achievement\achievements.d
    b
    04:29:38 [SEVERE]       at java.sql.DriverManager.getConnection(Unknown Source)
    04:29:38 [SEVERE]       at java.sql.DriverManager.getConnection(Unknown Source)
    04:29:38 [SEVERE]       at me.ic3d.achievement.Achievement.onEnable(Achievement.
    java:100)
    04:29:38 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:126)
    04:29:38 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:878)
    04:29:38 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:272)
    04:29:38 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:162)
    04:29:38 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.enablePlugins(Craf
    tServer.java:146)
    04:29:38 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:284)
    04:29:38 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:271)
    04:29:38 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:148)
    04:29:38 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:335)
    04:29:38 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)

    It told me to report this to you, so I am. :p
     
  27. Offline

    Deathmarine

    This is a SQLite Driver under your server should be a lib folder right along with your worlds and plugins folders. If not create said /lib/ folder under the main server folder. This is lib = Library where a plugin can pull info from to do certain things, like H2 for iconomy. You need the library so it knows how to save itself on a local database. So like this (root\minecraftserver\lib\) place it there.
    As for alexander here it would be
    C:\Users\Alexander\Desktop\Minecraft\Bukkit\lib\
     
  28. Offline

    TOAST7312

    Alright, well I have the lib folder exactly where you stated above. Now would I just create my own blank .db file(if so, how; I'm all completely derp and shit :F), or is there a place I would download it from?

    Also, thanks for the prompt help. ^_^

    HUGE EDIT:
    Keep getting these errors; assume it's something to do with the missing DB file.

    Code:
            at me.ic3d.achievement.ABL.onBlockPlace(ABL.java:70)
            at org.bukkit.plugin.java.JavaPluginLoader$28.execute(JavaPluginLoader.j
    ava:434)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:90)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:74)
            at net.minecraft.server.ItemDoor.a(ItemDoor.java:82)
            at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:223)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:17:50 [SEVERE] Could not pass event BLOCK_PLACE to Achievement
    java.lang.NullPointerException
            at me.ic3d.achievement.Achievement.registerPlace(Achievement.java:166)
            at me.ic3d.achievement.ABL.onBlockPlace(ABL.java:70)
            at org.bukkit.plugin.java.JavaPluginLoader$28.execute(JavaPluginLoader.j
    ava:434)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:90)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:74)
            at net.minecraft.server.ItemBlock.a(ItemBlock.java:81)
            at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:223)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:17:53 [SEVERE] Could not pass event BLOCK_PLACE to Achievement
    java.lang.NullPointerException
            at me.ic3d.achievement.Achievement.registerPlace(Achievement.java:166)
            at me.ic3d.achievement.ABL.onBlockPlace(ABL.java:70)
            at org.bukkit.plugin.java.JavaPluginLoader$28.execute(JavaPluginLoader.j
    ava:434)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:90)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:74)
            at net.minecraft.server.ItemBlock.a(ItemBlock.java:81)
            at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:223)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:17:58 [SEVERE] Could not pass event BLOCK_PLACE to Achievement
    java.lang.NullPointerException
            at me.ic3d.achievement.Achievement.registerPlace(Achievement.java:166)
            at me.ic3d.achievement.ABL.onBlockPlace(ABL.java:70)
            at org.bukkit.plugin.java.JavaPluginLoader$28.execute(JavaPluginLoader.j
    ava:434)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:90)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:74)
            at net.minecraft.server.ItemBlock.a(ItemBlock.java:81)
            at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:223)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:18:01 [SEVERE] Could not pass event BLOCK_PLACE to Achievement
    java.lang.NullPointerException
            at me.ic3d.achievement.Achievement.registerPlace(Achievement.java:166)
            at me.ic3d.achievement.ABL.onBlockPlace(ABL.java:70)
            at org.bukkit.plugin.java.JavaPluginLoader$28.execute(JavaPluginLoader.j
    ava:434)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:90)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:74)
            at net.minecraft.server.ItemBlock.a(ItemBlock.java:81)
            at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:223)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:18:04 [SEVERE] Could not pass event BLOCK_BREAK to Achievement
    java.lang.NullPointerException
            at me.ic3d.achievement.Achievement.registerBreak(Achievement.java:151)
            at me.ic3d.achievement.ABL.onBlockBreak(ABL.java:32)
            at org.bukkit.plugin.java.JavaPluginLoader$36.execute(JavaPluginLoader.j
    ava:490)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:157
    )
            at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:121
    )
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:461)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:18:10 [SEVERE] Could not pass event BLOCK_PLACE to Achievement
    java.lang.NullPointerException
            at me.ic3d.achievement.Achievement.registerPlace(Achievement.java:166)
            at me.ic3d.achievement.ABL.onBlockPlace(ABL.java:70)
            at org.bukkit.plugin.java.JavaPluginLoader$28.execute(JavaPluginLoader.j
    ava:434)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:90)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:74)
            at net.minecraft.server.ItemBlock.a(ItemBlock.java:81)
            at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:223)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:18:10 [WARNING] Can't keep up! Did the system time change, or is the server o
    verloaded?
    14:18:10 [SEVERE] Could not pass event BLOCK_BREAK to Achievement
    java.lang.NullPointerException
            at me.ic3d.achievement.Achievement.registerBreak(Achievement.java:151)
            at me.ic3d.achievement.ABL.onBlockBreak(ABL.java:32)
            at org.bukkit.plugin.java.JavaPluginLoader$36.execute(JavaPluginLoader.j
    ava:490)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:157
    )
            at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:44)
    
            at net.minecraft.server.EntityPlayer.m_(EntityPlayer.java:103)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1198)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1180)
            at net.minecraft.server.World.cleanUp(World.java:1104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:18:21 [SEVERE] Could not pass event BLOCK_PLACE to Achievement
    java.lang.NullPointerException
            at me.ic3d.achievement.Achievement.registerPlace(Achievement.java:166)
            at me.ic3d.achievement.ABL.onBlockPlace(ABL.java:70)
            at org.bukkit.plugin.java.JavaPluginLoader$28.execute(JavaPluginLoader.j
    ava:434)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:90)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:74)
            at net.minecraft.server.ItemBlock.a(ItemBlock.java:81)
            at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:223)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:18:22 [SEVERE] Could not pass event BLOCK_PLACE to Achievement
    java.lang.NullPointerException
            at me.ic3d.achievement.Achievement.registerPlace(Achievement.java:166)
            at me.ic3d.achievement.ABL.onBlockPlace(ABL.java:70)
            at org.bukkit.plugin.java.JavaPluginLoader$28.execute(JavaPluginLoader.j
    ava:434)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:90)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:74)
            at net.minecraft.server.ItemBlock.a(ItemBlock.java:81)
            at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:223)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:18:28 [SEVERE] Could not pass event BLOCK_PLACE to Achievement
    java.lang.NullPointerException
            at me.ic3d.achievement.Achievement.registerPlace(Achievement.java:166)
            at me.ic3d.achievement.ABL.onBlockPlace(ABL.java:70)
            at org.bukkit.plugin.java.JavaPluginLoader$28.execute(JavaPluginLoader.j
    ava:434)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:90)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:74)
            at net.minecraft.server.ItemBlock.a(ItemBlock.java:81)
            at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:223)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  29. Offline

    KingCody77

    Can you make it so if the stand at so and so location they get a Achievement
     
  30. Offline

    BloppyBuilder

    Great plugin!
    The only thing that you have to add [Please ! :)] is a way to see how much achievements have been done by the player.
    Maybe a summary using Spout or just a chat command.
    Good job again!
     
  31. Offline

    TOAST7312

    Still waiting on where I can get this lib file or if I have to make it, seeing as the plugin didn't make it itself.

    EDIT: What I mean to say is I have the lib folder, but the file in there that is supposed to be is not.
     

Share This Page