[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

    Kane

    I know who and what he is. No need to be so anal in life this aint a porno!
     
  3. Offline

    QQCucumber

    You seem incredibly insistent on calling a plugin that's up to date with the current RB dead when one of the authors just replied and said he plans to update it (just not soon).
     
  4. Offline

    Kane

    They know better the problem is the trolls like you who don't. I'm Kane and this is how Kane has and always has been. Now go away I thought this was dead why you talking here!
     
  5. Offline

    QQCucumber

    Yes, insisting over and over that an active plugin is dead isn't trolling, but saying telling you it isn't dead, is. Great logic there champ.

    Well, you specifically addressed me, and I replied to you. Easy enough to figure out.
     
  6. Using OtherDrops v1.96 i have modified Ice to drop Ice, which it does in all worlds except for the Nether. Im guessing the Nethers natural anti water properties somehow messes with things and makes it drop water instead of ice when broken.

    Can this be solved somehow? Im using Build 1550.
     
  7. Offline

    RugRats

    This plugin isn't dead. It's updated for the latest RB! Plus hopefully we have celtic working on it.
     
  8. Offline

    Jadedwolf

    To be fair, there is huge bugs that needed to be looked at on the "lastest RB" let alone the new stuff and bugs when they or "if" they update to 1.0.1RB
     
    RugRats likes this.
  9. Offline

    Sepulzera

    There is no sense to keep updating an "old" RB, when a new one is expected soon.
    Just stay calm, you can't predict whats coming next.
     
  10. Offline

    diannetea

    Except that they can use the latest dev build of Bukkit to base their code off of. Plenty of other plugins are already up to date to something from the past few days.
     
  11. Offline

    Celtic Minstrel

    Eheh.... well, I haven't looked at it in the past month or so. I guess I might find enough time in the next few days to do something, but I do have exams to study for as well.
     
  12. Offline

    halley

    Using Bukkit 1550 (post 1.0 non RB), on Snow Golem deaths, getting this NPE.

    Code:
    16:05:36 [SEVERE] Could not pass event ENTITY_DAMAGE to OtherDrops
    java.lang.NullPointerException
            at com.gmail.zariust.common.CommonEntity.getCreatureData(CommonEntity.java:53)
            at com.gmail.zariust.otherdrops.subject.CreatureSubject.<init>(CreatureSubject.java:41)
            at com.gmail.zariust.otherdrops.event.OccurredDropEvent.getEntityTarget(OccurredDropEvent.java:424)
            at com.gmail.zariust.otherdrops.event.OccurredDropEvent.<init>(OccurredDropEvent.java:124)
            at com.gmail.zariust.otherdrops.listener.OdEntityListener.onEntityDamage(OdEntityListener.java:59)
            at org.bukkit.plugin.java.JavaPluginLoader$63.execute(JavaPluginLoader.java:700)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    
    Is there a Jenkins somewhere I can fetch latest builds?
     
  13. Its spitting out that error for me aswell. ALOT.
     
  14. Offline

    alanine

    Would be much so appreciated, it's a very useful tool, replacing the need for many others, including many of which are not available.

    Any details on wether any information regarding an API may be available? Or maybe I am just unable to find it.

    ------------------------
    Also a few things are off within Beta 8, #1566 ( I think? It's the one with the ender dragon destruction fix)
    --
    If I use a command within the drop, it ignores the tool consumption specified. (Didn't check, perhaps other things become nulled also)
    --
    If I trigger a 'generic explosion', everything goes as anticipated, but an explosion is also created at the same coordinate within different realms. I didn't check the nether.
    --
    If I do something fun, such as make thunder occur whenever a player dies for a few select reasons, everything works great, except their inventory is doubled. This is regardless of the 'drop' that I specify.
    ------------------------

    Hopefully you do well with your studies and are able to continue development. It is really appreciated, the uses of this are really underrated. Thanks. ^Sorry for not making a ticket also. Never done, and unsure if it's suitable for multiple instances.

    **Oh, and since I've made a post: If further development continues, would it be possible to add a delay to a specific parameter?

    For example, I use X on Z, then Z turns into Y. But then I want it to wait 60 ticks before Y explodes.

    Currently, 60 ticks will elapse, and the block replacement and explosion occur at the same time.
     
  15. Offline

    deadalucard

    Whenever i change the drops for a mob theyre is a chance on death he will replace a nearby block with the drop. destroying basicaly lava in mobfarm as well as any block ot migh be very cose to/inside

    anyone has a fix for that?
     
  16. I dont have the above problems but when i specify drops for a animal or mob they will no longer drop exp orbs.
     
  17. Offline

    Celtic Minstrel

    Generally if you have multiple issues, you make one ticket for each issue.

    This is already possible with drop groups:

    Code:
    Z:
      - tool: X
        dropgroup: something
        drops:
          - replacementblock: Y
          - delay: 60
            event: EXPLOSION
    
     
  18. Hey Zarius mate, just letting you know I'm back around, and eagerly awaiting the 1.0 update of this plug-in, it's insanely useful.
     
  19. Offline

    Jadedwolf

    @Celtic Minstrel @Zarius
    Now that there is an official RB out. Now there is no more excuses to why this shouldn't be updated. :(
     
  20. Offline

    Celtic Minstrel

    I still have two more exams. :(
     
    kahlilnc likes this.
  21. Offline

    RugRats

    I got 6 more :D :/
     
  22. Offline

    Zach Hinchy

    Is it possible to disable drops for users in Creative Mode?
     
  23. Offline

    user1234567890

    Can't wait for 1.0!
    And make sure you get Endermen working. When they are used in a drop config, they break the entire plugin until they are deleted from the file.
     
  24. I would be happy if you could just squelch the errors for the time being. Its making log file grow by like 20MB/day.
     
  25. Offline

    Sich

    I have problem with de "DEFAULT" drop event... I have to specify what to drop, or I have nothing...
    Like this :

    LOG:
    - drop: NOTHING
    - permissions: bucheron
    drop: LOG

    if I put drop: DEFAULT then it's never drop anything.... Any idea to help me ? :(
     
  26. Offline

    Celtic Minstrel

    I dunno; drop: DEFAULT is a funny case at the moment. In this particular case it seems like drop: THIS will do what you want? That'll always drop the block itself, not the block's default drop, but in this case they happen to be the same.
     
  27. Offline

    Sich

    In fact I want to restrict drop to some group.
    In this case I want that the log drop nothing for everyone exept for the people with de perm 'bucheron'.

    It's not the same block that I try to drop, but the default (Stone > cobblestone / Cow > food / leather / etc).

    the DEFAULT drop is documented here : http://dev.bukkit.org/server-mods/otherdrops/pages/drops/ in the special value... but he doesn't work :(
     
  28. Offline

    Celtic Minstrel

    Ah, so you just picked a bad example. :p The DEFAULT drop is definitely supposed to work, but there are technical difficulties in making it work at the moment. I'm not exactly sure why it's not working, sorry.
     
  29. Offline

    Sich

    ok ok... because for the log it's not so easy... because you have different type of wood...
     
  30. Offline

    fromgate

    Hello!
    Please help me, I can not understand how I can prevent farming. I'm going to leave default drop, but only if mob was killed by player. If mob burns, or exploded, etc it must drop nothing.
    I've tried:
    Code:
        PIG:
            - tool: ALL
              toolexcept: [ANY_DAMAGE, ANY_EXPLOSION]
              drop: DEFAULT
            - tool: [ANY_DAMAGE, ANY_EXPLOSION]
              drop: NOTHING
    But it didn't work.
     
  31. Offline

    Celtic Minstrel

    That's why I suggested "drop: THIS" for the log.

    That's not enough info. I need to know how it didn't work.
     

Share This Page