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 Mar 14, 2013@ZariusT
I am using a MCPC Plus build, latest version (1.4.7-R1.1)
MCPC Plus website
This is a Spigot/Forge/Bukkit server and I would say the ultimate form of server. Perfect compatibility with any Bukkit plugin, it is considered a native Bukkit server so no problem (Otherdrops started fine). The very good thing about this type of server is that it eliminates the need to port mods from vanilla to Bukkit. Just put the vanilla mod in the mods folder, it works. That's how I can use Divine RPG with plugins; Divine RPG is a vanilla only server mod, and cannot be used on a Bukkit only server unless you port it (which is a huge pain, considering jar of Divine RPG is over 30 mb, nobody did it so no Bukkit compatibility). Also the use of vanilla mods allows a nearly immediate update of the server while with Bukkit mods, you can wait for up to months for a port.
I will test the use of quotes as soon as I get back from work :)
-
View User Profile
-
Send Message
Posted Mar 13, 2013@steinlage
Keep in mind that each section "starts" with a dash so you really have two sections there. One that says "drop: mobspawner" and one that just says "chance:25%" so I would expect that config to always drop mobspawners (as the first section defaults to 100%). Here's how it should look if you want 25% chance:
Also note data separators should be an @ symbol, eg 52@90 and the target should be surrounded by quotes, eg:
-
View User Profile
-
Send Message
Posted Mar 13, 2013And yes I did do drop and chance on a different line, and I made sure to space not tab
-
View User Profile
-
Send Message
Posted Mar 13, 2013Hi, I've been having trouble with trying to setup rare drop chances for mob spawners. Whenever I try MOB_SPAWNER: - drop: MOB_SPAWNER - chance: 25% It does nothing and gives me no drops,I had also tried making a custom drop for every type of spawner 52;90: - drop: 52;90 - chance 25% I had no luck with that one either :/ can you please help me?
-
View User Profile
-
Send Message
Posted Mar 13, 2013@Hecatonchyr
What Tekkit version are you using by the way? Did you have any problems getting OtherDrops to start?
In regards to modded blocks, in the target I'm pretty sure it'll fail unless the id number is surrounded by quotes, eg:
With the replacement block, yes - I had to put that in there recent because otherwise you get odd issues and crashes if you happen to accidentally use a non-block Material as a replacement. I guess the code to check if a material is a block doesn't work on the modded blocks.
I think if the server admin is using OtherDrops on a modded server then I'll just assume they're being careful enough and I might allow replacementblocks for any (regardless of Material.isBlock()) id's over 500.
-
View User Profile
-
Send Message
Posted Mar 13, 2013@Faldonboy
Well I double checked my version of Otherdrops and I was using 2.7.1 because I click on the download link of the first page, which is the recommended version but not the last. So I downloaded 2.8b.156 and replaced my Otherdrops.jar.
Now, its even worse. When I click stone with a stick, message pops up indicating Test is successful, except that the block isn't replaced, its stone. I can click as many times as I want on that stone block, first message will pop up every time, no Disk Drive/Wireless Modem/Blue Wood appears (depending on what I put in the yml file).I checked the config file and the problem was allow_any_replacementblock set to false. Now on true, the stone block is replaced by the correct modded block. Still no luck with breaking it and getting a diamond, I get the default loot.
I still get modded items as drops (Zombie breaks get 5500).
-
View User Profile
-
Send Message
Posted Mar 13, 2013@Hecatonchyr
Hmm, so its only having issues if the modded block is the target of the event then. Weird..I'll make a bug report for it.
-
View User Profile
-
Send Message
Posted Mar 13, 2013@Faldonboy
I just tried. So when I click a stone with stick it creates a Wireless Modem (4044@1) and the message pops up. When I break it I get a Wireless Modem and no second message...
I tried with 4044@0 instead of 4044, because 4044@0 is Disk Drive. But it still replaces with a Wireless Modem (with message first test successful) but second test fails.
STONE:
- action: RIGHT_CLICK
tool: STICK
replacementblock: 4044@0
message: "&aFirst Test Successful!"
4044@0:
- drop: NOTHING
- tool: ANY
drop: DIAMOND
message: "&aSecond Test Successful"
I tried with 13 instead of 4044. Both message pops up and I get my diamond. I tried with 652 (blue wood). It correctly replaces by Blue Wood and message pops up, but when I break it, no diamond, and no second message, just regular drop.
-
View User Profile
-
Send Message
Posted Mar 13, 2013@Hecatonchyr
Do me a favor and try this anyways (make sure this is using the latest OD release) Modded blocks usually show up as NULL so nothing is wrong there.
Put this in your config and try it, once its in right click a stone block with a stick, it SHOULD replace the block with the disk drive. If it works the message will display. IF it works break the disk drive and a diamond should drop and display the second message.
If this test works then any problem you're having with modded blocks not working is something wrong in your config.(make sure you aren't in creative mode while testing this)
-
View User Profile
-
Send Message
Posted Mar 13, 2013@Faldonboy
I have basically all mods from Tekkit installed with Divine RPG (IC2, Buildcraft, CC, Redpower etc all 1.4.7).
When I have any modded block in hand and do
/od id
I get correct info on the block.
But when I do
/od show with the block ID given by /od id
I get a null.
For example doing /od id while holding a Disk Drive from ComputerCraft
Otherdrops ID: item in hand is ItemStack{COMPUTERCRAFT_4044 x 1} id: 4044@0 maxdura:0 dura%:null
Then if I do
/od show COMPUTERCRAFT_4044
or
/od show 4044
or
/od show 4044@0 (in case its a problem with @)
I get
Block null (BREAK):No info found
Block null (LEFT_CLICK):No info found
Block null (RIGHT_CLICK):No info found
Block null (LEAF_DECAY):No info found
Block null (FISH_CAUGHT):No info found
Block null (FISH_FAILED):No info found
It shouldn't be null. I tested tens of times with blocks from any mod and all are null, and that's why its not working for me. Vanilla blocks are fine and give correct values:
/od show GRAVEL
or
/od show 13
for example are correctly recognized and give Block GRAVEL instead of Block null.
-
View User Profile
-
Send Message
Posted Mar 13, 2013@Hecatonchyr
Thats really odd, the actual block ID for the bluewood should work, I've used OD on a Tekkit server and the modded blocks from that work perfectly fine, Divine should be no different.
-
View User Profile
-
Send Message
Posted Mar 13, 2013@ZariusT
Thanks for your help.
I can make ID works without any problem. For example:
19:
- action: BREAK
drop: [13, 1]
That sponge drops gravel and stone without any problem. Also:
ZOMBIE:
- action: BREAK
drop: [312, 5500]
That zombie drops diamond leggings and a Halite Bow (from Divine RPG) without any problem too. The thing I can't do is:
DIVINERPG_BLUEWOOD: # this is the name of the block with /od id
- action: BREAK
drop: [LOG@0, DYE@BLUE]
But as you said, modded entities are tricky but currently its not really a problem I am fine with their drops. I feel this plugin offers just complete freedom to what we can do. People fear Silverfish because they can suddently pop up during your casual mining session and ruin it. But its fun, because surprise is fun. With your plugin I can transform stone/ore mining into a mission on its own. Want that diamond ore ? Well you'll get diamond 100% of the time, but there's 10% chance that your pickaxe breaks on it, and 20% chance angry baby spiders pop up and want to hug you (damn, it contained spider eggs !). That's just brilliant.
-
View User Profile
-
Send Message
Posted Mar 12, 2013@Abnormal_Zombie
Odd, I got the impression that 10 was the default volume for some reason - I can amend that in the next build.
-
View User Profile
-
Send Message
Posted Mar 12, 2013@Hecatonchyr
It should work ok with the ID number, if you want to help get this working I could work with you (easiest on the IRC channel but Skype is fine too) to try and fix it.
Modded entities is a bit trickier and not currently supported but I would like to get this working too.
With the delay it should work the way you've got it but probably looks neater using dropgroups:
-
View User Profile
-
Send Message
Posted Mar 12, 2013Just a tip for you guys: Make sure you set the volume of a sound or else you will be able to hear it at just about any distance as if it was right next to you. (A volume of 1 seems to be the game default)
-
View User Profile
-
Send Message
Posted Mar 12, 2013Ok I tested and I couldn't make modded blocks (with ID, or with the name I obtained through /od id) or creatures drop what I want, guess the path is different and we can only meddle with vanilla blocks/entities ?
On the other side, a vanilla block/creature can drop anything, including modded blocks/items.
My config with LOG@0 works.
So basically I am left with one problem: can we modify drops of modded entities ?
Thanks
-
View User Profile
-
Send Message
Posted Mar 12, 2013Sorry for double post I didn't choose Plain Test Markup Type:
BLUE_WOOD:
- action: BREAK
drop: [DYE@BLUE, PLANK]
652:
- action: BREAK
drop: [DYE@BLUE, PLANK]
LOG@0:
- action: RIGHT_CLICK
drop: [PLANK, DIRT]
- action: RIGHT_CLICK
delay: 60
event: EXPLOSION
-
View User Profile
-
Send Message
Posted Mar 12, 2013Thanks for the replies.
Does OtherDrops supports modded items with custom IDs ? I would like for example to drop wooden planks and lapis lazuli from a blue wood block (Divine RPG). Do I have to search for the name of the block or can I just start with the ID:
BLUE_WOOD: (or any synthax that the mod use, in the config file block is called bluewood) - action: BREAK drop: [DYE@BLUE, PLANK]
or
652: - action: BREAK drop: [DYE@BLUE, PLANK]
I would also like to know how to add a delay between two results (I want an item to be dropped from a block after right clicking it, and several seconds later that block explodes).
Does it work:
LOG@0: - action: RIGHT_CLICK drop: [PLANK, DIRT] - action: RIGHT_CLICK delay: 60 event: EXPLOSION
-
View User Profile
-
Send Message
Posted Mar 12, 2013@MCCharlieCraft @Abnormal_Zombie
Oops - yeah, left health off the villagers, fixed in the latest devbuild (http://ifami.dyndns.org:8080/job/OtherDrops/25/)
-
View User Profile
-
Send Message
Posted Mar 12, 2013@Hecatonchyr
You can have otherdrops issue a command instead of a custom drop, you can use this in combination with other plugins to do pretty much anything you want. And example would be using an essentials command to spawn in a lore item with custom colors, lore data, and whatever else you want.