[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

    Nuinbot

    I was wondering if you have had any time to look into updating this plugin for the latest Bukkit build? I am interested in starting a server and want to use this to control monster/ore drops. Thank you.
     
  3. Offline

    Celtic Minstrel

    After my exam tomorrow (well, today technically) I will have some time to get to updating my plugins; I'm placing General on first priority, but I think it shouldn't be too hard (particularly since it's partially updated already), and after I've updated that I'll look at OtherDrops. I'm not entirely sure how much time I'll have, since it's holiday season, but I will be working on it at some point if at all possible.
     
  4. Offline

    user1234567890

  5. Offline

    XXXtheGreat

    Add about an 80-tick delay. They only drop orbs if they have time to "decay" into particles, per say.
     
  6. Offline

    Undectectable

    Does this work yet where you can limit chances of items dropping? so instead of iron dropping verytime you mine an iron block it drops like 50% of the time and the other 50% is air or cobble ect?
    Thanks :)
     
  7. Offline

    Celtic Minstrel

    Something like this should work:
    Code:
    drop: {IRON_ORE/50%, COBBLESTONE/25%}
     
  8. Offline

    Sich

    If I use DROP : THIS or DROP : DEFAULT
    I have no drop... nothing drop.... On stone and log...
    If I put : COBBLESTONE or LOG, then no problem.
     
  9. Offline

    Celtic Minstrel

    ...odd. Do you get a console error with THIS?
     
  10. Offline

    Sich

    no errors, just nothing happen.
    But strange, the DEFAULT drop seem to work on creature. I only do /odr when I made change, should I try a full restart when I set DEFAULT or THIS on the drop ?

    My config :

    Code:
        STONE:
            - drop: NOTHING
            - permissions: mineur
              drop: COBBLESTONE
    
        LOG:
            - drop: NOTHING
            - permissions: bucheron
              drop: LOG
    
        CREATURE_COW:
            - drop: NOTHING
            - permissions: fermier
              drop: DEFAULT
    
        CREATURE_PIG:
            - drop: NOTHING
            - permissions: fermier
              drop: DEFAULT
    
        CREATURE_CHICKEN:
            - drop: NOTHING
            - permissions: fermier
              drop: DEFAULT
    
        CREATURE_SHEEP:
            - drop: NOTHING
            - permissions: fermier
              drop: DEFAULT
    
        CREATURE_SQUID:
            - drop: NOTHING
            - permissions: fermier
              drop: DEFAULT
    
     
  11. Offline

    Celtic Minstrel

    Well, /odr should work, but go ahead and try a full restart if you like to see if that makes a difference. I doubt it would, but who knows.


    On another note, is there anyone here with a lot of time on their hands who would be willing to help? I need a config file to help with testing, one which is engineered to demonstrate as many features as possible. There's already one included with the plugin, but at present it only covers a handful of features, so if anyone has a some time and doesn't mind browsing the OtherDrops wiki and making a weird and helpful config, I'd be very grateful. Ideally it would only add drops for a few common blocks and for friendly mobs, except where a feature requires otherwise.
     
  12. Offline

    QQCucumber

    You would be better off dropping beta builds in the thread and asking people to report whatever problem they run into. One person can't think of everything dozens of others will want to do.

    I would at least try to volunteer but I never learned to use OtherDrops, I used DropBonus, which doesn't work anymore either.
     
  13. Offline

    Celtic Minstrel

    While dropping beta builds would be good too, having an actual test suite would mean that I can do a quick test to make sure I haven't broken anything major before releasing the betas, which has been a problem in the past.

    If no-one volunteers to help by making such a config, that's okay and I'll eventually do it myself; however, having one would be a great help in testing. I'd even be willing to accept your help despite you being less familiar with OtherDrops, if you wanted to. :p There is after all the wiki information on BukkitDev, which I think is fairly exhaustive.
     
  14. Offline

    Sepulzera

    It could take me some days to get into most of the new features, but I could try to make such a config file.

    But imo the most important now would be to fix the death animation of mobs :p
     
  15. Offline

    Sich

    yep, no change... :(

    I use this for the moment :

    Code:
        LOG@REDWOOD:
            - drop: NOTHING
            - permissions: bucheron
              drop: LOG@REDWOOD
    
        LOG@BIRCH:
            - drop: NOTHING
            - permissions: bucheron
              drop: LOG@BIRCH
    
        LOG@GENERIC:
            - drop: NOTHING
            - permissions: bucheron
              drop: LOG@GENERIC
    
    And I change my config for the stone like this :

    Code:
        STONE:
            - drop: NOTHING
            - permissions: mineur
              tool: ANY_PICKAXE
              drop: COBBLESTONE
    
    without the tool condition user are able to drop cobblestone without any tool... I don't know if this is "normal".
     
  16. Offline

    mike0fmikes

    BukkitDev thread doesn't seem to have as many regular visitors so I thought I would ask ITT instead:


    Yeah...what on earth am I doing wrong with this; otherdrops keeps complaining about syntax and I've changed it every way I can think of. It bombs out for every creature on the XP part.
    CREATURE_CREEPER@POWERED:
    - tool: [ANY_SWORD, ANY_AXE, BOW, ARROW]
    drop: XP@3
    chance: 50

    also tried:
    CREATURE_CREEPER@POWERED:
    - tool: [ANY_SWORD, ANY_AXE, BOW, ARROW]
    drop: XP/3
    chance: 50

    and tried:
    CREATURE_CREEPER@POWERED:
    - tool: [ANY_SWORD, ANY_AXE, BOW, ARROW]
    drop: XP
    quantity: 3
    chance: 50

    can't get XP to drop at all. Is it possible to drop, say, 1-5 xp
     
  17. Offline

    Celtic Minstrel

    I'm not really sure what's wrong there; it's possible XP is just broken in general. Perhaps you should post what happened with each of the three? Presumably there was some kind of error message.

    With luck, I may have a new beta out just after Christmas.
     
    Jadedwolf likes this.
  18. Offline

    mike0fmikes

    All throw an invalid amount error.
     
  19. Offline

    QQCucumber

    Any news?
     
  20. Offline

    Celtic Minstrel

    I think I fixed a couple of bugs. There's no really significant progress though to be honest.
     
  21. Well, if you arent going to work on this let us know so we can switch to something else.
     
  22. Offline

    Sepulzera

    To whatelse? :D There isn't something similary.
     
  23. Offline

    user1234567890

    I'm pretty sure he's working on it. He just posted a status update yesterday. Read more than the OP to avoid misinformation. You don't need to read the whole thread, but checking the last page or two will give you a fairly good idea of what is going on.
     
  24. Offline

    XXXtheGreat

    EXP only drops after the mob has disintegrated. Put about a 60-tick delay on it, then see what happens.
     
  25. Offline

    mike0fmikes

    The problem is it's not loading at all. It throws this error:

    2011-12-28 10:17:48 [WARNING] [OtherDrops:2.0-beta8-prerelease] Invalid data for XP: 3

    No matter what data value I try, or what syntax I use to put it in there it returns this in console.
     
  26. Offline

    gabizou

    Yeah, I've been looking for a replacement and there's not really much out there. Sure Bukkit says there are thousands of plugins to use, but most of them are outdated by a CB or two.
     
  27. Offline

    mike0fmikes


    By not loading at all I mean EXP drops aren't loading at all, everything else works
     
  28. Offline

    user1234567890

    Are you running an xp orb limiting plugin?
     
  29. Offline

    Nuinbot

    Still looking for an update. I would like to get my server up and operational and this plugin is a crucial element to help deter x-rayers with a unique economy model. Thanks!
     
  30. Offline

    mike0fmikes

    I got an answer from the BukkitDev thread. It was my syntax. Issue resolved.

    you have to list xp drops like this (for anyone else running into this issue. exclude anything in ()):

    drop: EXP/4 (number of EXP in 1 orb)
    quantity: 2 (number of grouped orbs to drop)

    in that example 8 exp would be dropped in 2 orbs
     
  31. Offline

    Kane

    Hi Again :)
     
    Jadedwolf likes this.

Share This Page