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 Feb 10, 2013I'm considering making a GUI to make it easier to configure OtherDrops. Here's a first draft of a possible layout (depends on how hard it is to implement :D)...
Also thinking about moving the documentation over to the wiki (http://otherdrops.wikispaces.com/) which anyone can edit to improve (currently doesn't require login to edit, will keep it that way as long as it doesn't get vandalised).
-
View User Profile
-
Send Message
Posted Feb 10, 2013@ZariusT
Looks like you solved it already, but here are the relevant parts of the config:
Thanks!!
-
View User Profile
-
Send Message
Posted Feb 10, 2013New Release - 2.8-Beta1 (download Link Removed: http://www.mediafire.com/download.php?fex5mjb8kga61ka until Bukkit approves)
-
View User Profile
-
Send Message
Posted Feb 10, 2013@ZariusT
Well that's a relief that the problem is less us unknowingly configuring Otherdrops incorrectly, and more of the fact that we aren't fluent with Bukkit.
Currently it is fairly obvious that using the default drop entry is our only option until either of the other two are available. On our server this should overall work fairly well, because we only completely change one block, which is gold ore dropping gold nuggets. Hopefully we can code a custom script that will specifically deal with gold in the mean time.
After some testing, your suggestion for the ore drop syntax/configuration seems almost perfect for us because Otherdrops choses to not display the contents of message: "blah blah blah", when we had assumed it would constantly display the message on every block destruction. Instead, it only displays the message if it actually drops the % based item, so that's fantastic.
The worst case scenario for a server is if they changed ALL of the entries of ores to drop non-default items, then they would be very out of luck because of this. An unlikely scenario, but still plausible.
We thank you for your time and effort in helping us solve this problem, and your super fast response time to a rather specific scenario. You're explanation to why our problem exists is superb, and your solution is as perfect possible, given the circumstances.
-
View User Profile
-
Send Message
Posted Feb 9, 2013@Zephedge
Ok, I can see what the problem is. Classic issue due to the way Bukkit works with block drops.
With Mobs there is an function for clearing the drops without cancelling the event but there's no similar function for Blocks. The only way for OtherDrops (or any other block drop changing plugin) to work is to cancel the BlockBreak event and manually drop the custom item.
Because Orebfuscator runs on the "Monitor" priority it runs after any other plugin (by design) and there's no way to tell Bukkit to run OtherDrops after Orebfuscator. So Orebfusator sees the cancelled event and (as would normally be correct) assumes there's nothing to do so quits without revealing the ore.
There's a few ways around this.
... this is better than say "drop: COAL/1-2" because by including drop: DEFAULT the event does not get cancelled.
-
View User Profile
-
Send Message
Posted Feb 9, 2013@Zephedge
Got Spigot up and working with OtherDrops, fixed the NPE's Darkhand was getting. Can you send me your OtherDrops-drops config to help with fixing the issue you're getting?
-
View User Profile
-
Send Message
Posted Feb 9, 2013@ZariusT
I can totally understand that, not much worse than potentially having to do the same job two or three times in two or three different ways.
-
View User Profile
-
Send Message
Posted Feb 9, 2013@Darkhand81
Have you got drops configured for vehicles and leafdecay? Can you post or send me the config?
-
View User Profile
-
Send Message
Posted Feb 9, 2013@Zephedge
Yeah, I can see in the stats above it accounts for 10% of current OtherDrops usage. It's difficult for me to fully test against multiple servers (Bukkit, Tekkit, Spigot, etc) so I'll be primarily testing with Bukkit but happy to look into issues when reported :)
-
View User Profile
-
Send Message
Posted Feb 9, 2013@ZariusT
Spigot seems to be getting a lot of popularity just because of its efficiency fixes. I definitely recommend keeping it in mind when building Otherdrops, along with normal Bukkit.
-
View User Profile
-
Send Message
Posted Feb 9, 2013@Darkhand81
Thanks for that - I've just downloaded Spigot and trying out OtherDrops with it. (I can see the line causing the NPE errors you're getting and the next build will have a fix for that).
-
View User Profile
-
Send Message
Posted Feb 9, 2013With both Spigot 485 and CB1.4.7 RB1.0, I've been getting NPEs on a few occasions, the most frequent are boat destruction and leaf decay:
-
View User Profile
-
Send Message
Posted Feb 9, 2013@ZariusT
Thanks a lot, let me know if you need any more information.
-
View User Profile
-
Send Message
Posted Feb 9, 2013@Zephedge
Sounds like an issue with priorities but I would have through that the blockbreak event would have been sent to Orebfuscator before any other plugin gets to see it. Will try it out and see if I can work out whats happening.
-
View User Profile
-
Send Message
Posted Feb 9, 2013There seems to be some sort of conflict between Otherdrops and the Orebfuscator plugin
So for example, my problem is this: I've added entries for basically every ore in Minecraft through Otherdrops, and so technically all of those ore mining events are being handled through Otherdrops. When mining an ore, such as coal, the coal will break, drop items, and work generally as expected. However, it doesn't seem to do whatever event Orebfuscator looks for to change the hidden blocks from being obfuscated (smoothstone) into the coal ore, which is what the actual block is. However, if I mine the smoothstone around the coal, which we AREN'T modifying through Otherdrops, the coal is un-obfuscated just fine. This is what makes me think that Otherdrops isn't sending whatever block change even that Orebfuscator is looking for.
I'm not sure if this is something you feel you need to fix, or something that Orebfuscator should fix. But I figure I would see what you guys can do about this on your end.
Version notes: OtherDrops v2.7-beta2 Orebfuscator built into Spigot build #485
-
View User Profile
-
Send Message
Posted Feb 9, 2013@TommehRRR
I've added that option in the last few builds but haven't fully documented it yet.
eg:
See here for the Bukkit PotionEffectType list.
-
View User Profile
-
Send Message
Posted Feb 9, 2013Do you plan on adding a option to give a effect to a player when a action is complete? I thought of maybe making mining dirt with no Spade have a chance of poison or harm on a player, meanwhile this works well. but any verdict on if it will be added in the future?
Edit: Is it possible to remove the default drop on grass or dirt? I don't want dirt and grass falling EACH TIME... ;)
-
View User Profile
-
Send Message
Posted Feb 7, 2013@xBladeM6x
And even tough as nails Baby Villager Zombies! :D (zombie@baby!villager!18 - three times normal health as on "hard" - I'm assuming a baby zombie has the same health as a normal zombie, 6 hearts).
-
View User Profile
-
Send Message
Posted Feb 7, 2013@ZariusT Baby Zombies. I LOVE you.
-
View User Profile
-
Send Message
Posted Feb 7, 2013I personally realy love this Plugin :)
Well done ZariusT <3