OtherDrops

Make anything drop anything, anyhow!
Minecraft 1.7 features (click)!!
OtherDrops allows you to add anything from a simple "glass drops glass" or mob rewards, to a complex overhaul of your servers drops with drops differing depending on tools, biome, time, weather and much more, along with custom messages, actions and commands.
OtherDrops is lightweight* (it only acts on what you configure) and respects most protection plugins (eg. WorldGuard, Regios) settings. Many examples are included that you can enable and/or customize as you wish.
Getting Started (tutorials)
- Install & setup first custom drops
- Customising mob & block drops
- Customising money & XP rewards
- Customising fishing rewards
- Customising mob spawns
Core Features
- Drop anything!* (*from Bukkit - if it doesn't, let me know)
- Use triggers such as block break, combat, fishing & more
- Conditions to fine-tune your drops such as tool, world, regions, weather, permissions & more
- Add actions including damage, healing, messages, potion effects & more
- Easy syntax allows you to quickly customize drops & rewards for your server
- Future Support
- Where-ever possible the official Bukkit lists are used so OtherDrops supports all current and future:
- blocks, items, mobs, enchantments, potion effects, biomes,
- spawn reasons, tree, villager professions, cat & skeleton types
- Support for special item data:
- Custom names & lore text
- Enchanted weapons & armour (or add random enchantments)
- Enchant anything with unlimited levels (dirt with level 30 damage?)
- Enchanted books with any enchantment
- Written books (wtih custom title/author/pages)
- Leather armour colors
- Custom fireworks colors
- Skull types & custom player heads
- Support for special mob data:
- Custom names, HP (health) & equipment for any mob
- Baby animals (all "Ageable" mobs - chicken, cow, pig, zombie etc)
- Tame wolves (including collar color) or cats (& different cat types)
- Sheep colors (and sheared/unsheared)
- Villager professions, villager zombies, powered creepers & agressive level for pig-zombies
- Wither skeletons, Slime & lava-slimes of any size
- Economy support (via Vault)
- Support for all major economy plugins (see Vault project page)
- Players can gain, lose or steal money based on fixed amount or percentage
- Compatible with "MoneyDrop" to drop physical money items.
Conditions
- Multi-world support - create separate files to handle each world
- Add super rare drops with chance values down to 0.000000001%
- Specify tools required (or a list of tools eg. [any sword, -diamond sword])
- Lorename, Heroes (class & level) conditions
- Cooldowns
Actions
- Apply actions alongside the drop (or even without a drop)
- Damage tools and/or consume items (eg. use dyes to color wool)
- Damage or heal the victim, player or even the whole world
- Apply potion effects to the victim, player, radius, world or server
- Display custom messages (or a list of messages with one selected at random)
- Create explosions, lightning, visual effects (including particles), sound effects
- Run commands
Ideas
- Give leaves various chances of dropping apples, sticks, cocoa beans, saplings, etc on break and/or leaf decay.
- Make glass, stairs, and boats reclaimable (can be tool-specific if you wish).
- Allow gold and iron to be mined directly into ingots with a golden pickaxe.
- Allow users to right-click on cobblestone with vines in hand to turn the cobblestone mossy.
- Nerf mob traps by disabling drops from environmental damage.
- Unleash the zombie apocalypse by setting zombies to drop zombies when they die! (This can be world-specific.)
- Make mobs that don't normally spawn naturally spawn.
- Make mob spawning, drops, and events biome specific!
Documentation
Dev Builds
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Help Wanted
Would you like to help improve OtherDrops? Here are some ways to get involved:
- Media/art: OtherDrops could really do with some tutorial and example videos.
- Testers: Testers who are able to go through the plugin and rigorously check that things (both existing and new features) work as they should. PM Zarius your Skype (or other IM) details if you're interested or jump on the IRC channel.
- Programming: any assistance is welcomed - see the todo list here for some ideas. Anyone with refactoring and/or automated testing experience that wants to assist would be great.
Thanks
Many thanks to these people who helped with OtherDrops:
- Cyklo: creator of the original OtherBlocks. OtherDrops is a continuation of Cyklo's original OtherBlocks (2011) plugin.
- Celtic Minstrel: many code commits and a major overhaul of the code moving into version 2.0. Moved on to create DropFactory.
- Rofang: major update of OtherDrops documentation.
- RugRats13: lots of testing and some documentation.
- Faldonboy & Steelsouls: currently maintaining and improving the documentation.
- CommodoreAlpha: community support on the comments/forum, assisting with documentation.
Many long nights are spent improving OtherDrops so if you like it please consider a donation to my coffee fund :) 
- OtherDrops uses Metrics for anonymous usage stats (learn more).

-
View User Profile
-
Send Message
Posted Aug 24, 2013@CommodoreAlpha
@semirotta
Thank you for your answer!!
The bow with flame enchant question is original from my idea:
I have a config file that slimes drops CLAY_BALL and CLAY before (switch case by size),
I want to make a new config file that slimes drops CLAY_BRICK and HARD_CLAY but no other drops while they are killed by fire, fireaspect enchant or flame enchant.
so I have this:
- tool: [DAMAGE_BURN, ANY_SWORD@!FIRE_ASPECT, ANY_AXE@!FIRE_ASPECT, BOW@!ARROW_FIRE#1. PROJECTILE_ARROW@!ARROW_FIRE#1]
drop: NOTHING
- tool: [DAMAGE_BURN, ANY_SWORD@!FIRE_ASPECT, ANY_AXE@!FIRE_ASPECT, BOW@!ARROW_FIRE#1. PROJECTILE_ARROW@!ARROW_FIRE#1]
drop: CLAY_BRICK
chance: 100
quantity: 1
It seems this idea can't be acheive completely now. First reason is arrow entity problem, second reason is I can't stop slime spilt.
For the fishrod quention, the config is original from changelog of Release 2.8-beta4. That isn't my idea, I just test that and found this error message.
-
View User Profile
-
Send Message
Posted Aug 24, 2013@DoubleZ
I don't believe your first idea (mobs killed by bow with flame enchant drop something different) is possible. Here's why:
In order for it to be possible, you might have to make a suggestion to Zarius (via a ticket) to support a bit of extra data for entities - in this case, entities on fire. In other words, I don't currently believe there is a way to specify in OtherDrops whether an entity is on fire or not, but if you could get Zarius to implement that, then you could specify "PROJECTILE_ARROW" on fire, along with the custom drop, to successfully implement the idea you want.
Now, as for your fishing rod example, I'm not sure what you're trying to do here. If you want the most specific, accurate help possible, you're going to have to specify what you're going for there. I'm going to assume you wanted to make a fishing rod that would slightly damage and poison enemies if they were hit by the "fishing hook".
First off, I'm not sure if the "trigger: HIT" parameter works as you'd might expect. I believe as of right now, "HIT" is just an alias of "LEFT_CLICK" - hence why your example may not work. But I may be wrong, and if I am, that's good.
I'm not sure why you have a "lorename" specified. Well, I do have an idea of why you would do that, but remember, I'm reading it like the plugin would: quite literally. I don't believe certain entities - including this one - can have a "name" or "lore". Again, distinguishing between fishing hooks based on the names of the fishing rods they came from might require extra functionality to be implemented (meaning another suggestion ticket). In short, the parameter doesn't make sense to have it there.
I'm not sure why you get the errors, but I do have a few ideas. The first message might suggest that OtherDrops doesn't recognise the "PROJECTILE_FISHING_ROD" entity, which could be a bug, but I really don't know. The second suggests that you used an invalid tool for "ANY_CREATURE"; again, I'm not sure - but I believe the two messages are related. Because OtherDrops doesn't recognise the entity, the entity doesn't "exist", and is thus an invalid tool (you can't use things that don't exist).
@semirotta
Before you make dubious claims in response to someone's question, read up on the documentation, for this case, here and here. I know you weren't acting in bad faith, but misinformation is something you always want to try to avoid. Always.
There is such a thing as "PROJECTILE_FISHING_ROD", otherwise he wouldn't have used it. And again, the plugin being quite a literal reader, "FISHING_ROD" wouldn't work, because (I would assume) he's looking for the "fishing hook" to deal the effects, not the item itself. The plugin would read "FISHING_ROD" as the actual item itself; that left clicking an entity would inflict poison on it.
Also, he didn't use "ANY_CREATURE" as a tool, so I'm not quite sure why you said "ANY_CREATURE is not a tool for block". In fact, the error states "Unrecognized tool for block ANY_CREATURE" which implies ANY_CREATURE is being referred to as a "block", not a tool.
@TheMcPlayer1997
You can try this:
This basically means "Unless you right click ANY horse with a saddle named 'Horse Saddle', your action will be canceled." And do note that's most likely case sensitive. Using "drop: DENY" is pretty counterintuitive - there are no drops, I know, but "denying a drop" also means to cancel any event, so using that to cancel saddling a horse should work. If it doesn't, you would probably need to ticket Zarius for that.
I'm not sure if the example will work for a variety of reasons, however. One is that I don't remember if the Bukkit name for the horse entity is "HORSE". Another is that I don't know if you can make "tool negations" based upon lore alone. If you can't, tell me and I'll suggest another workaround I know of, though it's more intricate and requires other plugins.
@NemesisMate
Most likely, yes, you can. For the animal you want, specify the "drop" - be it an item, an entity or both - and specify "spawnedby: BREEDING". That should work pretty well.
-
View User Profile
-
Send Message
Posted Aug 24, 2013Is there a way to customize the "breeding" drop?, so you can drop aditional things when people make animals breed?.
EDIT: I think I did it with this docs.
-
View User Profile
-
Send Message
Posted Aug 24, 2013Hello. Can I somehow make so only a saddle called: "Horse saddle" (renamed in a anvil) only can be placed on horse so a saddle named "Saddle" can't be placed on a horse? Thanks.
-
View User Profile
-
Send Message
Posted Aug 24, 2013@DoubleZ
wtf is Projectile_Fishing_rod??
just use FISHING_ROD there is no such thing as projectile_fishing_rod :D
also ANY_CREATURE is not a tool for block
-
View User Profile
-
Send Message
Posted Aug 23, 2013hi, I want to set a custom drop while mob was killed by arrows fired by a bow with flame enchant.
I tried
tool: BOW@!ARROW_FIRE
but only works while swing the bow to kill the mob.
I also tried PROJECTILE_ARROW@!ARROW_FIRE, but still not works.
Another question, I used b573, and tried your custom weapon example:
- trigger: HIT
tool: PROJECTILE_FISHING_ROD
lorename: Poison Whip
potioneffect.victim POISON@60@5
damage.victim 1
message: "You've poisoned %v."
but I got the message:
2013-08-24 10:26:39 [INFO] [m[OtherDrops:2.8b.573] [mUnknown projectile: FISHING_ROD[m
2013-08-24 10:26:39 [WARNING] [OtherDrops:2.8b.573] Unrecognized tool for block ANY_CREATURE; skipping.
-
View User Profile
-
Send Message
Posted Aug 23, 2013@TheMcPlayer1997
This plugin is about drops, not crafting. You might want to look at this plugin though.
@Tony556
I don't know if this includes OtherDrops too, but most plugins seem to be unable to drop/give blocks - that don't normally support metadata - with metadata. In other words, most plugins can drop something like "LOG:2" just fine, but they won't be able to drop "STONE:1" because stone is both:
On a side note, for some reason, if you used "replacementblock" however, OtherDrops will successfully replace the block with what is configured, regardless of the "restrictions" mentioned earlier. Which is strange indeed.
However, I do not suspect your issue to be a bug unless you can prove it to be a bug. You can prove that it's a bug by using a test server and running OtherDrops alone, and seeing if this lack of metadata applies only to a specific case, like "104" dropping with no metadata, or to all block-type items that don't normally support metadata. If it applies to specific cases only, that would be quite weird, and it would probably be a bug - making it ticket-worthy. But if it applies to all the cases that I've expected, then it's not a bug.
Long story short, if...
...won't work for you, I don't know what will. You'd have to come up with a creative workaround, or this simply isn't possible.
-
View User Profile
-
Send Message
Posted Aug 22, 2013@Mal2ksc
Doing 104@1 gives me a tile.pumpkinStem.name with no meta data. (I have NEI so I can see that)
-
View User Profile
-
Send Message
Posted Aug 22, 2013Can i make custom cafting recipes for items with this plugin?
-
View User Profile
-
Send Message
Posted Aug 22, 2013I can't find any documentation for lines of lore (ItemMeta) on an item. I know there is lorename: , but what is the parameter for lore lines? Thanks!
-
View User Profile
-
Send Message
Posted Aug 21, 2013-
View User Profile
-
Send Message
Posted Aug 21, 2013Have you tried:
- drop: {104@1,104@2,104@3}
chance: 1%
-
View User Profile
-
Send Message
Posted Aug 21, 2013Is there a way to input metadata? As I want GOLD_ORE to have a 1% chance of dropping item 104 with a meta of 1-3 (it'll be random). :3
Thanks in advance,
-Tony
-
View User Profile
-
Send Message
Posted Aug 21, 2013@semirotta
Ty ;)
I want have skywars on my server but there people must take iron/gold etc. from ores
-
View User Profile
-
Send Message
Posted Aug 21, 2013@MrozoPL
you can use
region: REGIONNAME
for example if you make a forest, use worldedit & guard to name it as "diamondforest" have this in it:
OCELOT:
drop: [DIAMOND/64/100%]
region: diamondforest
Ocelots in that region will drop stack of diamonds 100% chance
-
View User Profile
-
Send Message
Posted Aug 21, 2013Is there anyway to disable otherdrops only on cuboid? Or set another otherdrops on cuboid
-
View User Profile
-
Send Message
Posted Aug 20, 2013Has anyone heard of ZariusT ? I haven't seen him on skype for a while and I am getting worried :o ... Hopefully nothing bad happened to him.
-
View User Profile
-
Send Message
Posted Aug 20, 2013@CommodoreAlpha
I followed your suggestion and tested it on a fresh server with no other plugins. Blaze still wont drop anything unless killed by a player. So I submitted a ticket.
-
View User Profile
-
Send Message
Posted Aug 20, 2013@Shraven420
I forgot to say this, but you should try testing the configuration on a testing server running only OtherDrops and the appropriate CraftBukkit build. If blazes still don't work as intended, it's probably an issue with OtherDrops that you should report (in the form of a ticket). If blazes start dropping as specified in the config, then it might be due to a plugin conflict.
-
View User Profile
-
Send Message
Posted Aug 20, 2013Well I tried this
SKELETON: - tool: ANY drop: [DIAMOND/1/100%]
and it works with fall damage and suffocation seems like its something to do specifically with blaze