[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

    captainawesome7

    You need to install Spout...
     
  3. So you must run the spout client for this, not only on the the server-side?
     
  4. Offline

    Arton

    Yea i realizet that
     
  5. Offline

    captainawesome7

    You need the Spout plugin no matter what. You need the SpoutCraft launcher if you want to see the Achievement notifications, otherwise it just appears in the chat.
     
  6. Offline

    loothelion

    That's my problem, the notification does not seem to work.


     
  7. Offline

    Torner92

    I want Achi when someone cut down a diamond ore. tested and write diamond ore and diamond_ore but none of them work.


    Breaks:
    diamond_ore:
    '1 ':
    Message: ssssss it's a very nice diamond You Have there!
     
  8. Offline

    AndyFox42

    Is it possible to have an achievement fire off for killing a certain player?
     
  9. Offline

    doddo

    I can't customize the achievements, the plugin don't work with custom config file :(

    my config:

    Code:
    Breaks:
        stone:
            '1':
                Message: Your first cobble!
    Kills:
        zombie:
            '1':
                Reward:
                    Item:
                        Amount: 1
                        Type: stone
                    Money:
                        Amount: 1
                Message: Ton premier zombie
        creeper:
            '1':
                Reward:
                    Item:
                        Amount: 1
                        Type: stone
                    Money:
                        Amount: 1
                Message: Ton premier creeper
        skeleton:
            '1':
                Reward:
                    Item:
                        Amount: 1
                        Type: stone
                    Money:
                        Amount: 1
                Message: Ton premier skelette
        spider:
            '1':
                Reward:
                    Item:
                        Amount: 1
                        Type: stone
                    Money:
                        Amount: 1
                Message: Ta premiere araignée
    Places:
        stone:
            '1':
                Message: Your first stone smelt!
    Crafts:
        torch:
            '1':
                Reward:
                    Money:
                        Amount: 5
                Message: Light it up!
    
     
  10. Offline

    Lextao

    Please add this:

    +Achievement unlocked when entering certain predefined location. (can be using WG regions or Residence zones)

    Please and Thanks in advance!!
     
  11. Offline

    captainawesome7

    I might be able to add world guard zones, but I'm kind of busy these days.
     
  12. Offline

    Lextao

    Oh if you do I would be in debt with you for the rest of my life, and also, another suggestion:
    + Achievement unlocked when completing EpicQuest quests (might be tedious)

    Thanks!
     
  13. Offline

    goldseed

    I think it will be more flexible to do like this..
    "executing console command"
    Code:
    spider:
      '1':
          RewardCommand:
                  /give <player> 50 64
                  /money grant <player> 1000
            Message:
                  Ta premiere araignée
    and you don't need to hook another plugin's API.

    Thanks...
    sorry for my poor english.
     
  14. Offline

    captainawesome7

    I could try to do that when I have time.
     
  15. Offline

    Fr0zenfr0g

    Iconomy 6 suport?

    Add 1.8 and iconomy 6 suport... Plz

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

    captainawesome7

    no need to repeat yourself, I'll get to it eventually.
     
  17. Offline

    Fr0zenfr0g

    First i ask if there was suport then i said that it wasnt compatible...
     
  18. Offline

    captainawesome7

    It is compatible...
     
  19. Offline

    Fr0zenfr0g

    but someting isnt...
     
  20. Offline

    captainawesome7

    What isn't?
     
  21. Offline

    Fr0zenfr0g

    i mean but something is not working...
     
  22. Offline

    skillinazn

    It would be nice to get a list of what blocks you can use for the achievements...Grass won't work for me and item ids such as diamond ore would go through the plugin =/
     
  23. Offline

    captainawesome7

  24. Offline

    skillinazn

  25. Offline

    Dragonslife

    @captainawesome7 - When will you do an update for this? also make it working for RB 1185. I would like to use your plugin on our server ;)
     
  26. Offline

    captainawesome7

    It works.
     
  27. Offline

    Dragonslife

    @captainawesome7 - does the fuction to make an achievement for crossing a certain block (reaching coordinates) work also?
     
  28. Would be nice if we could use our own item ids (items created with UltraItems)
     
  29. Offline

    Scandragon

    Can you update this to work with iconomy6, please?
     
  30. Todo:
    Custom icons with Spout
    Custom ids for crafted item.
    Achievements for suicides.
     
  31. Offline

    petfrank

    where is da config file!?
     

Share This Page