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 May 27, 2014@mrogaar
That could be the problem, because "/*" is a command that acts as if the player were an operator. So maybe the event is forcibly passed. Could you try it with "/" instead and see what happens? (Note that players who can't use the command will get nothing, but it's still worth testing somehow. If you need to know how to set up an easy, free testing server from your own computer then you can ask me.)
@bigboy2013
I have CoreProtect, OtherDrops, and iConomy, and I'm completely fine, so the problem isn't simply just "OtherDrops doesn't work well with CoreProtect". I'm not sure why things are happening this way, however, as that is truly strange behaviour. People have complained about OtherDrops+Prism, and about OtherDrops+CoreProtect+Economy, but never the two together until your case. Perhaps I'll have to hypothesise a reason later on... Inconsistent behaviour is always the hardest to pin down.
Oh, protip, don't use iConomy. I don't have any suggestions for a good economy plugin; I'm looking for one to replace iConomy myself that isn't loaded with... never mind, I'll save my rants for later ;)
-
View User Profile
-
Send Message
Posted May 27, 2014@CommodoreAlpha
Well I would replace essentialsecon but I'm not really sure that is even the problem. I had prism and otherdrops on my server, and killing mobs did work for getting money, but breaking blocks wouldn't. Then I replaced prism with coreprotect and now the opposite seems to happen (mobs don't drop money, but block events work just fine). It just seems odd that essentialsecon would be causing the problem now. I'll try another economy plugin to see if it works, are there any suggested economy plugins that seem to work fine?
-
View User Profile
-
Send Message
Posted May 27, 2014@CommodoreAlpha
People can destroy blocks outside the mines (It's a prison server). Our dev is looking in to it and he claims that it's because of the command /*give.
-
View User Profile
-
Send Message
Posted May 26, 2014@mrogaar
Could you explain what kind of "griefing" is going on? As in, how is the plugin causing trouble? OtherDrops generally respects protection plugins - if an event is canceled by another plugin, OtherDrops should take no action at all.
@Faldonboy
I've never used it myself, but I've seen other people use it - I would say however, my bias is totally unfair. ;)
Basically, I see Essentials as a "lazy" one-stop solution to running a server, usually for admins who either just don't care enough to put in actual work into setting up their server (ahem, the 10000+ boring and homogenised SMP servers out there), OR admins who think more plugins eat more RAM, which is mostly false. Yes, this is a very unfair generalisation of admins who use Essentials. Did I say unfair? :P (I know this is irrational, and I know many admins are not like that.)
That, and I'm a believer in a philosophy where a plugin should focus on one task, and do that task well. Not one that tries to do everything and ends up becoming a "monopoly" like how Google is trying to offer every last internet service in the world.
So... I want to make one point very clear though. Do I think Essentials is bad? Heck yes! Is it actually bad? Heck no, because it's filling a niche I've no interest in. It works and it probably works well, but doesn't sit well with me.
Also, I mean no offense to all the SMP servers out there. It's a matter of my opinion - I don't think any of them are objectively bad.
-
View User Profile
-
Send Message
Posted May 26, 2014Now I've got a really big problem. Somehow people are able to grief everything. Is there a fix for this? Disabled the plugin for now.
-
View User Profile
-
Send Message
Posted May 26, 2014@Faldonboy
Ye, I am using Essentials. I will search for a solution :) Thanks.
EDIT: Everything works now! Thanks for being such good help.
-
View User Profile
-
Send Message
Posted May 26, 2014@mrogaar
That's essentials(or whatever plugin you're using for /give) you'll have to turn the message off in that plugin somehow.
-
View User Profile
-
Send Message
Posted May 26, 2014@CommodoreAlpha
Alright, now I've got another problem: Once I break the block I'll get the items I want, but I'm getting spammed by the message http://prntscr.com/3mp597 Is there a way to disable the message?
-
View User Profile
-
Send Message
Posted May 25, 2014@CommodoreAlpha
Just curious Commodore, what do you have against Essentials? :P I have a long list of complaints I keep to myself about them and some of their developers haha.
-
View User Profile
-
Send Message
Posted May 25, 2014@bigboy2013
No, I use CoreProtect and OtherDrops (same builds), and they work fine for me.
The problem is probably EssentialsEco, but I can't say anything for certain. I should warn you, however, that I'm extremely biased against Essentials, and as such, I would just tell you to find another economy plugin.
@mrogaar
If, by bothering, you mean asking questions, then bother me all you want! That's what I'm here for. :)
Here's a very random example that involves the use of commands:
Here, I have a single entry, for the object which is a ZOMBIE. Because I haven't specified any sort of "trigger" or "tool", it's assumed this entry will "trigger" upon a player killing a zombie (has to be direct via any sort of weapon including bow+arrows).
Within this "entry", I'm telling OtherDrops to run two commands (hence the brackets and the comma in between). Each command, for the sake of not being confusing, must be enclosed in quotation marks.
Now, within each quotation mark is the command itself. "/*" denotes that the command should be run from the player as if the player were an op (don't worry, it doesn't actually op them). Then comes the rest of the command and their arguments; just type it in as if you were actually running the command. The formatting of the "/give" command varies depending on what plugin you're using (or not using). "%p" refers to the "doer of the action", or in this case, the person who killed the zombie.
If that doesn't work, or you're still confused, feel free to leave another comment. What should happen is that killing a zombie gives whoever kills a zombie an apple and five diamonds.
-
View User Profile
-
Send Message
Posted May 25, 2014@CommodoreAlpha
Hey, do you mind giving an example on how the commands work? :# Sorry for bothering you.
-
View User Profile
-
Send Message
Posted May 25, 2014Do coreprotect 2.0.9 and OtherDrops 2.8b.573 have issue with eachother? I just got done replacing prism because they didn't work together, but after adding coreprotect OtherDrops is unable to connect with vault and essentialsecon, so my mobs cannot drop money.
-
View User Profile
-
Send Message
Posted May 25, 2014@CommodoreAlpha
That's exactly for what I'm looking for! Thanks!
-
View User Profile
-
Send Message
Posted May 25, 2014@mrogaar
Generally, you would need another plugin to do that, but keep in mind that OtherDrops can run commands (see "command:" under this page). If you have a plugin that offers the "/give" command (I don't like the vanilla command myself), then you don't need an additional plugin to force all drops into an inventory, although whether you want it or not is up to you.
With the "/give" command, you can just tell OtherDrops to run the correct command, and it will be like the item dropped, but it's instead given directly to the player. One problem with this, however, is that if the player's inventory is full, and you use the "/give" command, the player won't receive anything and the item won't drop (depending on how the "/give" command is executed).
I know CommandBook puts items directly into an inventory and has that problem. The vanilla command drops the item directly onto you, to which you pick it up instantly. But the latter's formatting is ugly. Eh, I guess it's all really up to you. :P
-
View User Profile
-
Send Message
Posted May 25, 2014@CommodoreAlpha
You're the best! Works like a charm :)
I've got one more question: Is there an option to make the mined blocks go directly to your inventory? Or do I have to find another plugin for that?
Thanks.
-
View User Profile
-
Send Message
Posted May 25, 2014@mrogaar
Apart from "GOLD_BLOCK" being spaced incorrectly, I'm not sure what's wrong with your setup. Perhaps it could've been your spacing style in general. I noticed that you space eight times for each object, and under each object you space an additional four times before starting the "entry", which takes up an additional two spaces. YAML parses spaces in sets of four, not two, which could lead to it ignoring whatever you specify within an entry.
For example, you did something like this:
When it should be like this:
Fourteen cannot be divided by four (without having a remainder), and so, anything that's not dividable by four, in terms of spacing, just isn't read by the YAML parser for some reason. I could be wrong about this, but that's the trend I'm seeing in this issue.
-
View User Profile
-
Send Message
Posted May 25, 2014<<quote>>@LanToaster: GoThe act of adding (as opposed to setting) loretext is something that another plugin should do. If you meant that OtherDrops should have specific effects based off of specific/exact loretext, it can do that. All you have to do is to specify the item, with the text, as the object.
But if you're thinking of something like "item that contains 'x phrase' within lore", that's not a feature OtherDrops currently has, but is definitely something you should make a ticket for.<</quote>>
Yea, I use RecipeManager, Adding a Lore to an Item works just fine. But "Item Contains "x phrase" within lore" is Exactly what I need. I´ll add an Ticket for that.
Thanks
-
View User Profile
-
Send Message
Posted May 24, 2014Hey, I've been trying to let OtherDrops work on a server for the last couple of hours, the problem is that it doesnt drop the quantity I want, instead it just drops 1. This is what my drops file looks like: http://pastebin.com/Y6t5iGK7
Did I forget to add something? The plugin is enabled on the server. Any help would be appriciated.
Thanks.
-
View User Profile
-
Send Message
Posted May 24, 2014@Sabbykat
Sorry for the delay. I've had a hectic week myself, along with illnesses. :)
Also, I believe I myself came off as hostile, so there's no need to apologise. I'm not sure why Zarius formats it that way, as it only seems a bit more confusing... but people have their own methods.
I would highly recommend testing this on a clean install - and it's actually far easier than you think. You don't even need to use your host, just your own computer (if it's not an arcane Windows 98 computer). Heck, you don't even need to port forward to test this stuff.
All you need to do, is to create a ".bat" file (to start CraftBukkit) and download any build (preferably latest beta build, but not a dev build) of CraftBukkit. Put the two in the same folder, and run the .bat file, and bam, you have a test server up. Just remember to put the correct plugins in the "plugins" folder.
If you're not familiar with what the contents of the .bat file should look like (it can have any name), this is the startup I use:
(On a side note, you might want to tone down the min and max heap size arguments if your computer doesn't have much RAM.)
Afterwards, launch your client of Minecraft, and "add server" with the address name of "localhost" (because it's your own computer you're running it on), and you've got a testing environment.
Now, there are two primary reasons I prefer a "clean install". First is, I've noticed you have Mo' Creatures installed, and I'm not familiar with the creature names there. It would help me sift through your logs if everything had vanilla names, basically, which leads to the second point: you need to pastebin everything OtherDrops spits at you, so I can get a clear picture on what's going on. Don't hold back; I've sifted through well over 1000 lines of verbose before (and I'm here to help anyhow).
The third reason is that it could have to do with your type of server (MCPC+ with mods, or other plugins you're using) but that's something I doubt is the case. If that's the case, troubleshooting should become relatively easy, hopefully.
@LanToaster
The act of adding (as opposed to setting) loretext is something that another plugin should do. If you meant that OtherDrops should have specific effects based off of specific/exact loretext, it can do that. All you have to do is to specify the item, with the text, as the object.
But if you're thinking of something like "item that contains 'x phrase' within lore", that's not a feature OtherDrops currently has, but is definitely something you should make a ticket for.
@Testercraft
Currently, no, and I've never heard of a plugin that had such an ability. Now, it sounds like a good feature, and I would agree, but with the way potion effects in Minecraft inherently work, it could easily become complicated.
My guess is that there is currently no method in Bukkit or Minecraft to check for what potion effects a player/entity has, let alone the amount of time left. Because there's no check, it's impossible to know how much time to "add", because you can't really add time to potion effects in Minecraft (again, because of how it works). You can only take the current time and change, or set it, to something else. There is no addition/subtraction.
If, however, these caveats are false, and it's indeed possible, it would be a great idea.
@My_Name_Was_Stolen
It sounds like there's an event getting denied somewhere, but I could be wrong. Could you do a quick test run with verbose on highest and send a log of that to me?
-
View User Profile
-
Send Message
Posted May 23, 2014Is it possible that potioneffect add time? example: i drink potion strenght 8 min and again drink so add time strenght 8 min so total 16 min