[MECH] OtherDrops 2.8- Ultimate block/mob/player drop editing [1.5.2]

Discussion in 'Archived: Plugin Releases' started by Zarius, Jun 12, 2011.

  1. Offline

    Zarius

    [​IMG]


    Want to fix glass/stairs/boat drops? Want to gather ice/glowstone/grass in a balanced manner? Want to smelt ore with golden tools? Want to cause chaos with undead that rise again? Now you can, simply by enabling the included example files or delve into the more advanced customisation and make drops work the way you want.

    OtherBlocks aims to give you ultimate control over what item that blocks/entities drop when destroyed, depending on how they were destroyed. Compatible with WorldGuard. Lightweight! Only scans what it needs to and ignores the rest.
    Download: BukkitDev (download link on there) | Source Code

    Included Modules
    * Fix undroppables: fix drops for stairs, glass (don't use your hands - ouch), boats & bookshelves (1.8 stairs included)
    * Gold tools (basic): gold tools have a chance of dropping the complete block for grass, ice & glowstone.
    * Gold tools (smelt): gold tools have a chance of mining an ingot directly from ores.
    * Ore Extraction: using the usual tools, ingots are ripped out of ores, leaving the stone behind.
    * Leaf overhaul: adds leaf drops (apples, cocoa, leaves, sticks & a very small chance of golden apple).
    * Undead Chaos: beware the night! Zombies & skeletons rise again and even players rise back from the dead (player deaths spawn more zombies/skeletons).
    * and more...

    Custom Configuration Examples
    Code:
        # Simple glass drop fix
        GLASS:
          - drop: GLASS
     
        # Players drop Zombies on death, 50% of the time
        PLAYER:
          - drop: CREATURE_ZOMBIE
            chance: 50%
     
        # Spiders killed with any sword at night have a 10% chance to drop web,
        # otherwise they drop whatever they normally would
        CREATURE_SPIDER:
          - tool: ANY_SWORD
            time: NIGHT
            drop: WEB
            chance: 10%
     
        # Trees drop apples (or cocoa from birch trees)
        SPECIAL_LEAFDECAY@GENERIC:
          - drop: APPLE
            chance: 5%
        SPECIAL_LEAFDECAY@BIRCH:
          - drop: DYE@BROWN
            chance: 5%
    
    If you are getting errors with the word "snakeyaml" in it, your config file isn't properly formatted.
    Test it on this website (or this one).

    See the dev.bukkit page for full details on how to set up OtherDrops, a complete parameters list and further examples.


    Changelog

    Newest changelog details here.


    Main author: @Zarius
    Contributors: @Celtic Minstrel, raws
    Original author: @cyklo
     
  2. Offline

    Nutella83

    Not work for me and i don't find where is the probleme:

    bukkit say:
    [OtherDrops:2.3] Loading file: otherdrops-drops.yml
    [OtherDrops:2.3] Using Bukkit superperms.
    [OtherDrops:2.3] Couldn't load WorldGuard
    [OtherDrops:2.3] OtherDrops loaded
    [OtherDrops:2.3] Payment method found (iConomy version: 6)

    So i think otherdrops are enable

    My otherdrops-drops.yml:
    SAND:
    - drop: DIRT

    I start my serv i hit sand and he give me sand. =7

    i have try:
    SAND:
    - tools: ALL
    drop: DIRT

    that not work too.

    help pls. ^^
     
  3. Offline

    Zarius

    Nutella83 - can you change the "verbosity" setting to high in the otherdrops-config.yml file and post again what the OtherDrops startup shows? Also, is your otherdrops-drops config indented properly? You need to have two spaces in front of the "SAND:" line and four spaces in front of the "- drop: DIRT" line (the library that reads the config file is very particular sometimes)
     
  4. Offline

    Nutella83

  5. Offline

    Zarius

    Thanks, I can see from that error that you're not indentation the configuration correctly. Try and make it look like this (paying particular attention to spacing - and do not press the tab key, must be spaces):

    Code:
      SAND:
        - drop: DIRT
          tool: ANY
    
     
  6. Offline

    Nutella83

    That work fine! =)
    Thx

    That work for bloc but not for monster now. ^^"

    bukkit say me:
    http://nsa21.casimages.com/img/2012/02/24/120224024750397583.png

    In my yml i have repeat this code 3 time with change zombie by spider and creeper only:

    #---------------------------------------------------------------

    CREATURE_ZOMBIE:
    - tool: ALL
    drop: WOOD_SWORD/20%
    drop: SAND/10%
    drop: LEATHER/40%
    drop: STICK/40%
    drop: APPLE/20%
    drop: RAW_FISH/30%
    drop: WOOD/7%

    - tool: WOOD_PICKAXE
    drop: WOOD_SWORD/10%
    drop: SAND/10%
    drop: LEATHER/30%
    drop: STICK/30%
    drop: APPLE/20%
    drop: RAW_FISH/20%
    drop: WOOD/5%
    damagetool: 20

    - tool: STONE_PICKAXE
    drop: WOOD_SWORD/30%
    drop: SAND/20%
    drop: LEATHER/50%
    drop: STICK/50%
    drop: APPLE/30%
    drop: RAW_FISH/30%
    drop: WOOD/20%
    damagetool: 15

    - tool: IRON_PICKAXE
    drop: STONE_SWORD/10%
    drop: LEATHER/75%
    drop: APPLE/50%
    drop: RAW_FISH/50%
    drop: WOOD/30%
    damagetool: 10

    - tool: DIAMOND_PICKAXE
    drop: STONE_SWORD/20%
    drop: LEATHER/100%
    drop: APPLE/75%
    drop: RAW_FISH/75%
    drop: WOOD/50%
    damagetool: 8

    - tool: GOLD_PICKAXE
    drop: IRON_SWORD/10%
    drop: LEATHER/100%
    drop: APPLE/100%
    drop: RAW_FISH/100%
    drop: WOOD/75%
    damagetool: 5

    - tool: WOOD_SWORD
    drop: WOOD_SWORD/10%
    drop: SAND/10%
    drop: LEATHER/30%
    drop: STICK/30%
    drop: APPLE/20%
    drop: RAW_FISH/20%
    drop: WOOD/5%
    damagetool: 20

    - tool: STONE_SWORD
    drop: WOOD_SWORD/30%
    drop: SAND/20%
    drop: LEATHER/50%
    drop: STICK/50%
    drop: APPLE/30%
    drop: RAW_FISH/30%
    drop: WOOD/20%
    damagetool: 15

    - tool: IRON_SWORD
    drop: STONE_SWORD/10%
    drop: LEATHER/75%
    drop: APPLE/50%
    drop: RAW_FISH/50%
    drop: WOOD/30%
    damagetool: 10

    - tool: DIAMOND_SWORD
    drop: STONE_SWORD/20%
    drop: LEATHER/100%
    drop: APPLE/75%
    drop: RAW_FISH/75%
    drop: WOOD/50%
    damagetool: 8

    - tool: GOLD_SWORD
    drop: IRON_SWORD/10%
    drop: LEATHER/100%
    drop: APPLE/100%
    drop: RAW_FISH/100%
    drop: WOOD/75%
    damagetool: 5
    #---------------------------------------------------------------

    I don't find why, but drop on monster are disable

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

    Zarius

    Not disabled perhaps - how many zombies did you kill to test? It seems like the way you wrote that config (which is understandable) causes it (for tool: ALL) to be just "drop: WOOD/7%". Not sure if you want a chance of each item dropping independently (so there might be a chance of many items dropping) or just a chance of one item dropping.

    For multiple drops you can write it two ways:
    Code:
      ZOMBIE:
        - tool: ANY
          drop: [WOOD_SWORD/20%, SAND/10%, LEATHER/40%, STICK/40%, APPLE/20%, RAW_FISH/30%, WOOD/7%]
         # the line above will calculate each chance independently (so you might get multiple drops)
     
        - tool: ANY
          drop: {WOOD_SWORD/20%, SAND/10%, LEATHER/40%, STICK/40%, APPLE/20%, RAW_FISH/30%, WOOD/7%}
         # the line above will choose just one item based on the chances (no multiple item drops)
    
    Basically you can't have more than one "drop: " line in each group (starting with the dash "-" character).

    Nutella83

    Also, will be tidier and easier to read if you post your config to http://pastebin.com/ when you have a problem.

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

    Nutella83

    Thx u again that work perfectly now =)
     
  9. Offline

    Zarius

    New 2.4-beta2 release - grab it on the GitHub download page.

    * fix issues with explosion_tnt & explosion_creeper not working
    * fix for [item, item, etc] drops doing double damage to tools
     
  10. Offline

    Nutella83

    Can you add "other" into the tools selection?
    i will be useful for me cause i wanna make the stone hurt if he is not break with a pickaxe, my code is:

    COBBLESTONE:
    - tool: ALL
    drop: NOTHING

    - tool: NOTHING
    (if i set all, break with pickaxe hurt me, and with nothing, for exemple, with a block of dirt, i can break it without dommage)
    damageattacker: 10
    message: Outch.

    - tool: ANY_PICKAXE
    drop: COBBLESTONE/75%
    damagetool: 10
     
  11. Offline

    Celtic Minstrel

    Nutella83
    Code:
      - toolexcept: ANY_PICKAXE
        damageattacker: 10
        message: Ouch.
    
     
  12. Offline

    Zarius

    Or my preferred way :)

    Code:
      COBBLESTONE:
        - tool: [-any_pickaxe]
          damageattacker: 10
          message: "Ouch."
    
     
  13. Offline

    Nutella83

    thx that work =)
     
  14. Offline

    Celtic Minstrel

    Either way means the same thing, but I tend to prefer less "clutter" (in this case the [] and - count as clutter).
     
  15. Offline

    kahlilnc

    Is there color support for messages? And is it possible to. . .For example:
    Code:
        LEVER:
            - action: LEFT_CLICK
              message: "Flush!"
            - action: RIGHT_CLICK
              message: "Flush!"
    If the player clicks it to many times within a certain time limit I want it to say, "toilet water backs up" XD Something like that but is this possible? And for the color support is that implemented?
     
  16. Offline

    Zarius

    kahlilnc

    Yes, colour codes are supported - &1...&9...&a...&f - check out the parameters page (search for "message") for more info on colour codes and variables you can use in "message".

    About the clicking within a time limit - that's tricky and more of a scripting thing than drops. I have been thinking about custom variables which would allow counting of clicks but there'd be no have the time limit.
     
  17. Offline

    Celtic Minstrel

    Zarius – What about &k for ChatColor.MAGIC?
     
  18. Offline

    kahlilnc

    Yeah I've honestly tried the color codes with &k,
    Code:
        LEVER:
            - action: LEFT_CLICK
              message: "Flush!"
            - action: RIGHT_CLICK
              message: "&7Flush!"
    The right click action wont show up like usual when I though in game like if I left out the color code. But the left click will in white
     
  19. Offline

    Zarius

    Hmm... I didn't know about &k - why k and not g (after f)?

    Hmm.. &k causes the characters to spin - is this what you were looking for? I can put it in.

    btw: All OtherDrops will do is translate &k to §k, so if you want to use ChatColor.MAGIC right now just use §k instead.

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

    Zarius

    Version 2.5-prerelease1 (download - Hawkeye release on GitHub download page)

    * updated for BukkitR5
    * due to Bukkit changes - will not work in BukkitR4 or earlier
    * add flag: WORLDGUARD_BUILD_PERMISSION
    * add ChatColor.MAGIC (&k) support
     
    kahlilnc likes this.
  21. Offline

    Celtic Minstrel

    New events? Which new events are relevant?
     
  22. Offline

    Zarius


    Hmm... I'll remove that bit to reduce confusion :) I just meant that I updated to Bukkit's new event registration system (ie. using "@EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true)" and implementing Listener rather than extending BlockListener, etc.
     
  23. Offline

    SeoToX

    Can you please update it to 2010+ builds?
     
  24. Offline

    Zarius

    The pre-release 3 posts above doesn't work for you? Let me know because I'm currently working on 2010 so I might need to release a new "pre-release" (I know that Ocelots don't work with that first pre-release as Bukkit didn't support them when I built that version - fixed now).
     
  25. Offline

    SeoToX

    I have a few errors ^^

    Code:
    2012-03-02 15:12:07 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:08 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:08 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:09 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:10 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:10 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:11 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:12 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:13 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:13 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:14 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:14 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:15 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:15 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:16 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:16 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:17 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:18 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:19 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:19 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:20 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:21 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:21 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:22 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:22 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:23 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:26 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:27 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:28 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:28 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:29 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:29 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:30 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:31 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:31 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:32 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:48 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:49 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:49 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:50 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:50 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:51 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:51 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:12:51 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:12:52 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:53 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:53 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:54 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:54 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:55 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:55 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:12:56 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:56 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:57 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:57 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:58 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:58 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:12:59 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:13:00 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:13:00 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:00 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:13:01 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:13:01 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:13:02 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:13:02 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:13:03 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:13:03 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:04 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:05 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:05 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:13:05 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:13:08 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:13:08 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LOG, Data: 3
    2012-03-02 15:13:17 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:18 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:29 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:29 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:29 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:30 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:30 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:30 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:30 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:31 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:31 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:31 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:31 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:32 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:32 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:32 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:32 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:33 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:33 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:33 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:34 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:34 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:34 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:35 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:35 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:35 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:36 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:36 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:36 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:36 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:37 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:37 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:37 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:38 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:38 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:38 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:39 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:39 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:39 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:40 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:40 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:40 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:41 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:41 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:41 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:42 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:42 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:42 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:43 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:43 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:43 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:44 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:44 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:44 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:44 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:45 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:45 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:45 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:46 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:46 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:46 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:47 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:47 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:47 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:48 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:48 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:48 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:48 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:48 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:49 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:49 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:49 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:50 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:50 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:51 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:51 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:51 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:52 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
    2012-03-02 15:13:52 [WARNING] [OtherDrops:2.5-pre1] CommonMaterial.getBlockOrItemData() failed. Material: LEAVES, Data: 3
     
  26. Offline

    Zarius

    Not my fault! :D Bukkit hasn't added Jungle TreeSpecies yet, just discovered that myself about 15 minutes ago.

    2.5-pre2 (download - Hawkeye release on GitHub download page)

    * fix some minor issues with pre1
    * add support for Ocelot cat types (WILD_OCELOT, BLACK_CAT, RED_CAT, SIAMESE_CAT)
    * add support for STONE_BRICK@CIRCLE
    * fix issue with drop: DYE@THIS
    * fix problems with SHEEP@UNSHEARED

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

    Zarius

    Release 2.5-pre3 (download & HawkEye version on GitHub download page)

    * add new MessageAction - supports message.attacker, .victim, .world, .server
    * fix grilledfish=rawfish alias (now correctly =cookedfish) and added fish=rawfish
    * fix issue where drop: NOTHING did not clear mob drops

    example of new messages:
    Code:
    PLAYER:
      - drop: DIAMOND
        message.attacker: "This message is same as message: ..."
        message.victim: "You got pwned by %p with %t."
        message.world: "Hey world! %p killed %v with a %t."
        message.server: "Hey everyone! ... nothing."
    
    Yes, you can use all of the messages at once if you wish. Next feature is to allow default colours for each message type in the otherdrops-config.yml file but haven't got much time for a while so wanted to push this release quickly to see if there are any bugs I missed.
     
    kahlilnc likes this.
  28. Offline

    PseudoKnight

    What is "[WARNING] [OtherDrops:2.5-pre3] EVENTS ARE NULL" ?
     
  29. Offline

    Zarius

    It's a bug in the way I wrote the new configuration - doesn't affect anything (apart from an obscure setting with event:TREE) but I've fixed it locally.
     
  30. Offline

    dragonking

    hi, i want to use otherdrops together with heroes plugin, however i cant get the perms to work right, any help would be apreciated.

    config (otherdrops):
    otherdrops:
    STONE:
    - tool: WOOD_PICKAXE
    drop: COBBLESTONE
    - tool: WOOD_PICKAXE
    drop: COAL
    chance: 1
    permissions: [miner1, miner2]

    log (extract)
    2012-03-04 15:26:51 [SEVERE] [Heroes] There are no permissions defined for miner1

    2012-03-04 15:26:53 [INFO] [OtherDrops] Loading OtherDrops v2.3.
    2012-03-04 15:26:53 [INFO] [OtherDrops:2.3] Events node created.
    2012-03-04 15:26:53 [INFO] [OtherDrops:2.3] Events loaded: [EXPLOSION, SHEAR, UNSHEAR, SHEARTOGGLE, DYE, TREE, FORCETREE, LIGHTNING, STORM, THUNDER]
    2012-03-04 15:26:53 [INFO] [OtherDrops:2.3] Loading file: otherdrops-drops.yml
    2012-03-04 15:26:53 [INFO] [OtherDrops:2.3] Loading file: whelpcraft/doragu.yml
    2012-03-04 15:26:53 [INFO] [OtherDrops:2.3] OtherDrops loaded.
    2012-03-04 15:26:53 [INFO] [OtherDrops:2.3] Payment method found (iConomy version: 6)

    also, i am no expert in yaml so is it possible to do like:
    otherdrops:
    STONE:
    - tool: WOOD_PICKAXE
    - drop: COBBLESTONE
    - drop: COAL
    chance: 1
    permissions: [miner1, miner2]

    or something like that, because it gets really hard to manage the different values when you start to have a lot of drops on the same block with different tools xD

    (great plugin btw)
     
  31. Offline

    strontkever

    question:

    how do i make bow/arrow kills drop money?
     

Share This Page