[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

    Atheriel

    Is there a way to edit the image that accompanies the notification message? It might be nice to differentiate between, say, breaking 1 stone block and breaking 1000.
     
  3. Offline

    Scandragon

    Any news on iconomy6 / Register support for this?
    At is point, unless you're using an outdated iconomy version, there is no point in having this plugin as it doesn't work!
     
  4. Offline

    captainawesome7

    I'm not developing or supporting plugins anymore, I'm waiting for somebody to take the plugin over.
     
  5. Offline

    Scandragon

    Ah ok.
    It's too bad, though.. This was a great plugin
    Seems too many good devs are leaving
     
  6. Offline

    Lextao

    Please someone revive this :(
     
  7. Offline

    Tolerance

    Might need to be updated before INACTIVE.
     
  8. Offline

    resba

    Inactive. Moved.
     
  9. Offline

    captainawesome7

    I wouldn't want to be mean, but you can do that to all of my plugins if you have the time. (I'm done with Bukkit)
     
  10. Offline

    Tolerance

    If anybody wants to know, Ill be trying to pick this up....
     
  11. Offline

    Fr0zenfr0g

    plz can someone start this plugin again plz
     
  12. Offline

    captainawesome7

    iiiiittttt sstttiiiillllll wwwwooorrrkkksss
     
  13. Offline

    Fr0zenfr0g

    Iconomy6...
     
  14. Offline

    Tolerance

    So is it alright if I revive this?
     
  15. Offline

    captainawesome7

    sure
     
  16. Offline

    Tolerance

    Alright, I think I'm done reviving it. :D

    I just need a tester, preferably you @captainawesome7 since you know what you are doing the most.

    Let me know!
     
  17. Offline

    Sir Savary

    @Tolerance

    If you have decided to not revive this after all, I will pick it up. I have already wrote some new code for it.
     
  18. I think Tolerance meant that he was already done with updating and that he needed a tester?
     
  19. Offline

    Tolerance

    @Zino
    Yeah, I did already update it.

    @Sir Savary
    I already revived it. Just keeping my eye out for a tester(s).
     
  20. ME ME ME ME ME ME ME ME ME ME i wanna be a tester!!!
     
  21. Offline

    Lextao

    Hope @Tolerance releases the revived version soon, my users are literally dieing without this plugin :p
     
  22. Offline

    captainawesome7

    it still works, try running it.
     
  23. Offline

    Lextao

    I don't think so.
    Show Spoiler
    [SEVERE] Error occurred while enabling Achievement v1.3 (Is it up to date?): com/iConomy/iConomy
    java.lang.NoClassDefFoundError: com/iConomy/iConomy
    at me.ic3d.achievement.Achievement.onEnable(Achievement.java:68)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:182)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:165)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:337)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:324)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:161)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ClassNotFoundException: com.iConomy.iConomy
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 11 more


    :/
     
  24. Offline

    captainawesome7

    are you using an old new version of iconomy?
     
  25. Offline

    Lextao

    Im using Ico6 :S
     
  26. Offline

    captainawesome7

    yeah I guess stuff changed, im not really doing plugins anymore so somebody else would have to update it..
     
  27. Offline

    Lextao

    um can't you update it to work with iCo6 plox ?
    ;_;
     
  28. Offline

    captainawesome7

    yeah i dont really do that anymore
     
  29. Offline

    Deathmarine

Share This Page