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 Jun 3, 2014Badly it is not working, even whit your way to space the config file, now it's just droping the default. Maybe that helps you, sometimes it drops, what it should drop on LEAF_DECAY, when you derstory the block.
EDIT: Solution found, I got today the latest beta build. I just installed this version and everything works fine, amazing. Seems that that bug is only present in the older versions of otherdrops. I could not test that the last days because the site was offline.
-
View User Profile
-
Send Message
Posted Jun 3, 2014@Lemonn_
This is strange, because "no potential drops found" appears to indicate that OtherDrops didn't find any parameters to go along with the trigger. In other words, it's as if you didn't specify any drops to begin with - just a blank trigger with nothing to go with it.
From the snippet of your config that you provided, I don't think it's due to problematic spacing either... but just to make sure, could you space your configuration like the following?
Notice how all of my spacing is done in multiples of "4". Compare this with the example you had:
Perhaps that will help solve your problem.
-
View User Profile
-
Send Message
Posted Jun 2, 2014It's no problem to do. Here are the loggs:
http://pastebin.com/GWmeEABT
just tell me if you need something else.
-
View User Profile
-
Send Message
Posted Jun 2, 2014@Lemonn_
That's strange. Could you set your "verbose" to the highest level possible and send me a log containing the debug messages?
Normally, I would investigate this issue myself (then again, I'm a forgetful person with a lot of other things to investigate myself) but I'm going to be busy all day today. If the log proves unhelpful in helping me diagnose the issue, then I'll (hopefully) be sure to test this myself tomorrow.
Thanks for taking the time to test it on an empty server, though. It definitely does eliminate the possibility of a plugin conflict being at play.
-
View User Profile
-
Send Message
Posted Jun 2, 2014I have tried it, on a new empty bukkit server. With otherdrops as only installed plugin. But no change, I tried nearly all sorts of leaves, I removed all other drops from the config file, but still cant get it to work. All other drop settings are working fine, only settings with trigger: LEAF_DECAY aren't working. Otherdrops is a very nice plugin I realy like it, but it would be even better if I can get LEAF_DECAY to work.
Here is the config i used
Edit: The Development builds are still offline, if you need some server space to host them, just message me.
-
View User Profile
-
Send Message
Posted Jun 1, 2014@Stormbow
I would normally be tempted to say yes, because CoreProtect is for 1.7.9, but I'm not sure. You can always run a test server (from your own personal computer without needing to port forward) to test this claim. Sorry if my response was unhelpful. If you need help in starting a test server, feel free to ask me.
@bigboy2013
Concerning dropping the "contents" of a mob, I don't believe that's currently implemented (as I've made a ticket for it myself). Test to see if specifying "CONTENTS" as a drop works. If not, then it's not currently implemented.
Concerning mobs not dropping money, that's strange behaviour. I don't think the issue is solely on OtherDrops' end, and might have to do with the fact that CraftConomy allows for multiple currencies. I could be wrong, though, so don't take my word for it. Does CraftConomy have some sort of default currency? The issue is, if OtherDrops drops currency, what kind would it drop?
If this diagnosis of the issue is correct, the problem should not lie with OtherDrops needing to implement multiple currencies, but the economy plugin needing to do a better job handling multiple currencies, either through its own means, or through Vault. How they can do that, I've no ideas for. The reason OtherDrops should not be doing this, is because it's not OtherDrops "fault" it cannot recognise what type of currency to drop - it's the other plugin's "fault" for not stating some sort of default currency.
@Lemonn_
"LEAF_DECAY" should work - are you running any other plugins on your server? Have you tried other examples involving items or different damage values? From my standpoint, they've worked in previous versions, so there's really no reason they should not be working now.
-
View User Profile
-
Send Message
Posted Jun 1, 2014DevBuilds need you to renew your dyndns :(
-
View User Profile
-
Send Message
Posted Jun 1, 2014Trigger LEAF_DECAY is not working for me, if i use that example:
just nothing happens, also the standard drops for LEAF_DECAY do not work anymore then, has anyone have a solution for that problem?
-
View User Profile
-
Send Message
Posted May 31, 2014Well I've tried testing a few things, and i can get everything to work EXCEPT mobs dropping money. Dropping items and everything else seems to work just fine. I did end up trying to disable CoreProtect to try it, and for some reason, when it was enabled I got the message "Mob dropped $ money", as in it didnt specify any amount and the player got nothing. However, when I disabled coreprotect, it just spammed errors in the console. For now i'll probably just have to get/make a simple plugin to add money drops to mobs. I do have another question though, if I changed the drops from a mob, how do I make it still drop items it picked up from another player on death?
-
View User Profile
-
Send Message
Posted May 31, 2014Well I spent some time looking for an economy that should work, does anyone appear to have luck using CraftConomy? I'd rather not get an economy and have to transfer everyones' money without knowing if it even works with OtherDrops.
-
View User Profile
-
Send Message
Posted May 30, 2014I'm running CraftBukkit version git-Bukkit-1.7.2-R0 (MC: 1.7.2) (Implementing API version 1.7.2-R0.4-SNAPSHOT), OtherDrops B: 2.8b.573 for 1.7.4, and CoreProtect v2.0.9 for CB 1.7.9-R0.1.
Would the error below be due to the versions being incompatible?
http:pastebin.com/WjpDkMpM
-
View User Profile
-
Send Message
Posted May 30, 2014@My_Name_Was_Stolen
Uh, there may be a UUID problem involved. I don't have the whole picture yet, as I'm sort of busy right now, but I would like to point out a few snippets from the log you post pertaining to both problems you mentioned.
On the "stone gets denied" issue:
The only way for OtherDrops to alter the "outcome" (i.e. changing drops) of an event (i.e. a BlockBreakEvent) is to cancel the original event - as that's pretty much a built-in vanilla mechanic - and replace it with its own event. That's what I believe the first line is doing (cancelling event (dropcount=1)).
Now, OtherDrops has to hook into logging plugins in order to tell them that the original BlockBreakEvent was canceled (or else the block will have broken under OtherDrops's accord, but not of natural causes, and will then not have been recorded). This is what the second line (Attempting to log to Prism) is saying.
For the third line, it shows that passing the event - AKA logging to Prism - was not successful. Basically, what the second line tried to do is completely nullified. What does this mean? OtherDrops tried to cancel the original event, then pass the "new, modified event" to Prism. If this passes to Prism successfully, the whole process happens. If it doesn't, the original event is canceled, and the new event does not happen. So, it is essentially the denial you're seeing.
This is likely due to some problem that Prism has, or some problem that OtherDrops has when it comes to hooking into Prism. I'm not sure which one it is, but I can definitely say that the solution is beyond me, because it's a matter of a code issue.
"LONG_GRASS" drops appear to work, because it doesn't look like OtherDrops is passing the event to Prism. (I only see a single line pertaining to this.) "LEAVES" still drop apples on decay, because you have to specify the trigger as "LEAF_DECAY". Is Prism supposed to ignore logging the breaking of long grass? If not, this is a strange phenomenon that ought to have a separate investigation.
Now for the permissions-related issue.
You're running a 1.7.9 server which uses UUIDs; I suspect OtherDrops to still check players by their name when checking for permissions. If your permissions handling plugin uses UUIDs, it could be that you've assigned the permissions node "otherdrops.custom.rancher" to the UUID and not the player-name. Thus, there is a disconnect: OtherDrops tries to use your superperms plugin to look up whether the "player-name" is assigned the permissions node, but fails to do so because the permissions plugin doesn't support it. This is also just my own hypothesis that I've come up with after reading this portion of your log:
@mrogaar
Sounds like the BlockBreakEvent is getting fired twice when you're mining diamond blocks. Do you have any other plugins running? Could I see the relevant portion of your configuration? You can, optionally, provide a verbose log; I may not need it now, but if I can't diagnose the issue from the other details you provide, I will need it then.
-
View User Profile
-
Send Message
Posted May 30, 2014@LHammonds
It'l come back at some point, Zarius has been online lately.
-
View User Profile
-
Send Message
Posted May 30, 2014The domain for the dev builds / source code is completely dead now. Did anyone manage to get a copy of the source code for 2.8b.573 before it went offline?
Thanks,
LHammonds
-
View User Profile
-
Send Message
Posted May 29, 2014Another problem: Unbreaking enchantment is ignored by the plugin. If you mine one diamond block and it drops 2 then the durability goes down by 2.
-
View User Profile
-
Send Message
Posted May 29, 2014@CommodoreAlpha
Apologies for the very slow response.
As a refresher, I have two issues, one is that when I break stone, I get an error and nothing happens, as if the break event has been cancelled. The other is that my permissions for default drops from peaceful animals don't work at all, though no error. As requested, I have a server log with verbosity on extreme. I'm running otherdrops version 2.8b.573, with a bukkit beta build 1.7.9-R0.1.
Here is the log http://pastebin.com/cvcCPE4Z
Here is my config.
otherdrops:
STONE:
- drop: {COBBLESTONE@!~&rUseable Stone/1/10%, 0/1/90%}
LEAVES@0:
- drop: {SAPLING@0/1/10%}
LONG_GRASS@1:
- drop: {MELON_SEEDS/1-3/1%, PUMPKIN_SEEDS/1-3/1%}
CHICKEN:
- drop: default
permission: Rancher
COW:
- drop: default
permission: Rancher
SHEEP:
- drop: default
permission: Rancher
PIG:
- drop: default
permission: Rancher
HORSE:
- drop: default
permission: Rancher
Grass drops do work, though the leaf ones don't do as intended, which was to stop all dropping of apples. (They still drop upon despawning)
-
View User Profile
-
Send Message
Posted May 28, 2014@CommodoreAlpha
Well, I could give you a PM with our plugins. But there is a guy that almost fixed it for us. Thanks again.
-
View User Profile
-
Send Message
Posted May 28, 2014@Faldonboy
This is probably true, although I kind of assumed running things from console would result in console spam, so I steered away from it. I don't know if my assumption is true or not, however. You're definitely right in that anything having to do with "op" should make one wary.
@mrogaar
Then the problem may not be intrinsic to OtherDrops. In other words, the issue likely lies within another plugin and not OtherDrops. That is not to say it's impossible for OtherDrops to be the culprit, just unlikely.
-
View User Profile
-
Send Message
Posted May 28, 2014@CommodoreAlpha
Didn't work, got rid of the whole command. I gotta wait for someone to make it work ;). Thanks for all the help.
-
View User Profile
-
Send Message
Posted May 27, 2014@CommodoreAlpha
It might be wiser to have the command run from console. It's much safer to do so whenever possible, it could be that the temporary op status is allowing them to bypass protection plugins. I know temporary op given by OtherDrops has interfered with NoCheat in the past.