[INACTIVE][MECH] BlockDrops v2.31 - Add and customize the items anything drops! [185+]

Discussion in 'Inactive/Unsupported Plugins' started by Snowl, Jan 25, 2011.

  1. Offline


    BlockDrops - Add and Customize the items your blocks ANYTHING drops!
    Version: 2.31
    By Request of http://forums.bukkit.org/threads/custom-drops-please.1198/#post-24213

    Ever wanted your dirt to drop a chainmail helmet? Want your sand to drop diamonds? Here's the answer!

    BlockDrops is a plugin that allows you to customize what your vehicles/blocks/mobs drop.

    Features (open)

    • *Infinite* Block Drops per block
    • Any block is customize-able
    • Percentage System
    • Drop damaged blocks (different dyes dropped, different cloths)
    • Drop on break of boat/minecart
    • Drop on Creeper Explode
    • Drop on mob death

    Thanks to http://forums.bukkit.org/threads/kitplugin-v1-02-dispense-kits-to-your-players.1201/ for the properties help.

    Available blocks/mobs/vehicles to drop from:
    Blocks (open)

    All blocks, past and future.
    Monsters (open)

    • CreeperExploded
    • Spider
    • Skeleton
    • Zombie
    • Player
    • Cow
    • Chicken
    • Giant
    • Ghast
    • Pig
    • Creeper
    • Sheep
    • Slime
    Vehicles (open)

    • Boat
    • Minecart
    • PoweredMinecraft
    • StorageMinecraft

    How to use BlockDrops:
    How to Use (open)

    Create a file in the directory where CraftBukkit is, called "blockdrops.properties". This is where you adjust what drops what.
    Open up blockdrops.properties
    Add your custom drops. The format for adding drops is
    [Block/Monster/Vehicle];[Block/Item you want to drop]:[Chance for drop (Range 0.0001 to 1.0)]

    Extra options (only for blocks) are
    [Block/Monster/Vehicle];[Block/Item you want to drop]:[Chance for drop (Range 0.0001 to 1.0)]:[Damage the item has (Range from -127 to 127. Normal is 0)]:[Block/Item held to make Block/Item drop]
    You require the damage option if you have the Block/Item option, but both are optional.

    To make a Vehicle/Block/Mob not drop it's normal blocks add [Vehicle/Drop/Mob]=0 to override it.

    An example blockdrops.properties:
    #Overwrite stone's drops
    #Always drop a cake
    #Drop a broken wooden pickaxe 0.1% of the time
    #Make a note block drop a boat
    #Make a creeper drop a stone
    #Make a boat return a boat

    Changelog (open)
    Version 2.31:
    • Fixed the WorldGuard and any other protected blocks issue.
    Version 2.3:
    • Fixed a bug where breaking a block but not breaking it at the last millisecond caused it to drop the item
    • Fixed a bug where breaking a block while protected by WorldGuard made it drop the item
    • Added creation of blockdrops.properties on startup
    Version 2.2:
    • Added overwrite for mobs
    Version 2.1:
    • Fixed version issues
    • Fixed Override issues
    Version 2.0:
    • Added dropping from every mob and animal, PoweredMinecraft and StorageMinecraft
    Version 1.5:
    • Added dropping from a boat or minecart when destroyed (besides when broken by itself)
    Version 1.45:
    • Added drops when using a certain tool
    Version 1.4:
    • Fixed a critical bug that would crash the client, stop saving of players data and NPE's after prolonged usage (again PropertiesFile >_<)
    Version 1.3:
    • Added damage for blocks so you can drop different wool colours and wool dyes (An example drop with damage is 1:351:1.0:11
    Version 1.2e:
    • Fixed a bug where propertiesfile overwrit the file.
    • Uploaded new version where fake lag is introduced to fix a bug.
    Version 1.2d:
    • Fixed a bug where destroying a block that had it's normal drop overwritten caused the next block to break slightly faster with a shovel.
    • Changed overwrite setting to [BLOCK]=0
    Version 1.2c:
    • Actually fixed a bug where destroying a block that had its normal drop overwritten destroyed a block next to it properly
    Version 1.2b:
    • Fixed a bug where destroying a block that had its normal drop overwritten destroyed a block next to it
    Version 1.2:
    • Adding 0:0.0 now overrides the normal blocks drop.
    Version 1.1:
    • You can now customize what a creeper drops once it explodes.
    Version 1.0:
    • Infinite block drops per block
    • Drops now drop at the block
    Version 0.7:
    • Bugfixes and in-ability to spawn air (as that corrupts the world)
    Version 0.6:
    • Percentage system implemented
    Version 0.5:
    • One custom drop per block
    Version 0.1:
    • Dropping blocks working
    • Initial Release

    Attached Files:

  2. Offline


  3. Offline


    Got this running CB 420 (first build with MineCraft 1.3 support)

    [SEVERE] Could not pass event ENTITY_DEATH to BlockDrops
    java.lang.NoSuchMethodError: org.bukkit.World.dropItemNaturally(Lorg/bukkit/Location;Lorg/bukkit/inventory/ItemStack;)Lorg/bukkit/entity/ItemDrop;
        at com.Snowl.bukkit.blockdrops.BlockDropsEntityListener.onEntityDeath(BlockDropsEntityListener.java:697)
        at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.java:334)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
        at net.minecraft.server.EntityLiving.o(EntityLiving.java:462)
        at net.minecraft.server.EntityLiving.a(EntityLiving.java:442)
        at net.minecraft.server.EntityCreeper.a(EntityCreeper.java:63)
        at net.minecraft.server.EntityLiving.a(EntityLiving.java:390)
        at net.minecraft.server.EntityMonster.a(EntityMonster.java:47)
        at net.minecraft.server.Entity.P(Entity.java:280)
        at net.minecraft.server.Entity.H(Entity.java:250)
        at net.minecraft.server.EntityLiving.H(EntityLiving.java:116)
        at net.minecraft.server.Entity.f_(Entity.java:165)
        at net.minecraft.server.EntityLiving.f_(EntityLiving.java:228)
        at net.minecraft.server.EntityMonster.f_(EntityMonster.java:34)
        at net.minecraft.server.EntityCreeper.f_(EntityCreeper.java:51)
        at net.minecraft.server.World.a(World.java:1011)
        at net.minecraft.server.WorldServer.a(WorldServer.java:53)
        at net.minecraft.server.World.f(World.java:993)
        at net.minecraft.server.World.d(World.java:970)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:334)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:252)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
  4. Offline


    least for me doesn't seem to work with the new bukkit/minecraft
  5. thanks :D
  6. Offline


    Can anyone please fix this for CB 424+
  7. Offline


    Yes, I agree, I would love to see this for the new 1.3 update, apparently ENTITY_DEATH
  8. The latest minecraft update changed alot of the code which means alot of mods have gone down, just be patient and wait for the creator to update the plugin.
  9. Offline


    ; ( i needed this to function my economy system, go go go blockdrop!
    update! thanks! hah
    --- merged: Feb 24, 2011 1:27 AM ---
    bump for this update!
  10. Offline


    This is a big addon. Makes mining much more addictive. Please update :D
  11. Offline


    damn nobody else interested?

    this mod is the besssst.

    please pay attention to this mod!
  12. Offline


    I like this plugin, too, but constant posts telling the author to update isn't going to speed anything up (for this plugin or any other author/plugin). I'm also under the impression from one of his posts that this plugin might not be a priority for him anymore (if at all on his list of priorities). As much as players on my server will hate me, I can't include this plugin when I update my server to 1.3 unless it also gets updated. It's out of my hands though since I have no clue how to write plugins or know anyone that can update it. I might look for an alternative once I get my server on 1.3 if this hasn't been updated, but I'm in no rush.
  13. Offline


    I have tomorow off (first in a while) and so I will try and get it to work in 420.
  14. Offline


  15. Offline


    Telling the author to upgrade? I think we were trying to bump his thread so it gets noticed by him not to speed things up.

    Thanks SO much, my server can't live without your plugin sir!
  16. Offline


    Great news! Looking forward to the update. Thank you so much.
  17. Offline


    Any updates?
  18. Offline


    update please :D
  19. Offline


    Any progress David? My server REALLY need this ;(
  20. Offline


    Still working on it...
  21. Offline


    glad to see you updating this. i love this plug-in.
    do you know if it will someday be possible to have the mob drop only if killed by a player.
    i know you would currently have to re-write some code and we would no long be able to turn off
    the natural drops.
    Natural drops don't bother me as much as players in Mob grinders. I can't make a fair mob killing economy with this method of exploitation.
    only natural drop most of us turn off is Sulfur and i just installed MineTnT to solve that
  22. Offline


    Use iMonster to disable drops unless killed by player.
  23. Offline


    use that on top of yours or can imonster do all the same things plus do what i need?
  24. Offline


    iMonster isn't compatible with 1.3 as far as I know
  25. Offline


    On top of mine.

    Awaiting BlockDamageLevel to be fixed before I can release 1.3 compatible version:
  26. Offline


  27. Offline



    Omfg! Thanks so much lets hope they fix it very soon!

    So happy to see you are working on it! Thanks SOO much!

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


    Much appreciated. BlockDrops is one of the most powerful, game-experience-changing mods out there. I look forward to using it again. :)

  29. Offline


    hurrrrry and fix it bukkit :p i needs me some blockdrops (final plugin i need for my rpg server)
  30. Offline


    Just wondering, could you use OnBlockBreak instead?

    P.S.: Love the plugin man.
  31. Offline


    You guys posting "hurry up and fix" should click on the little donate button under the author's post. :)

Share This Page