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 23, 2014@Faldonboy
The drop does not work. Nothing happens when you break the stone, it regenerates, as if you're trying to break something in a region you don't have access to. I removed regenblock and now I'm getting a different error. Also, I'm using the latest version of PEX which has updated to UUID's.
http://pastebin.com/6XFWQreP
-
View User Profile
-
Send Message
Posted May 23, 2014@My_Name_Was_Stolen
That error looks more like its related to RegenBlock than OtherDrops, my guess is their newer versions changed something that OtherDrops depended on. I'm unsure of why the custom permissions would have broken in 1.7.9, the only reason I can think of is that you're using a permissions plugin that hasn't updated to use the UUID system yet.
EDIT: Does the custom drop for your stone still work even with the error?
-
View User Profile
-
Send Message
Posted May 22, 2014I am using otherdrops version 2.8b.573 on a bukkit 1.7.9BR0.1 server. I have been getting this error
http://pastebin.com/s7EcKaQQ
Whenever players break smooth stone, while previously it worked fine. This is what I have in my otherdrops-drop file
otherdrops:
STONE:
- drop: {COBBLESTONE@!~&rUseable Stone/1/10%, 0/1/90%}
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
As a side note, the animal drops don't seem to work. They give the default drops even if the player does not have the proper permission
-
View User Profile
-
Send Message
Posted May 22, 2014Commodore, Thanks for the Answer.
I didnt get around to to test it yet. But I doubt it will work.
The Result i am Aiming is for a kind of dynamic Lore Text. (Wich Players can add to any Weapon with a Crafting Recipe) To enable additional Effects.
So for Examample a IronSword without a name can be Attached with with an "Lore Text" wich enables for example the User to get Healed when Hitting enemys.
Or He can attach that LoreText to a Special named Item wich already has some Lore.
-
View User Profile
-
Send Message
Posted May 21, 2014@CommodoreAlpha
Sorry for the delay! Hectic week, ugh.
I didn't mean to come off hostile if I did. And yes, I should call it a 'drops file' for this plugin for clarity, I agree.
As for the drop 'pattern' - I usually do it your way too. However, Zarius designed that drop file with that specific format, citing it was superior to 'your' method (the common method we shall call it?). Rather foolish to disagree with the creator of a plugin, though, I've been meaning to go and test the old format again now that i have a bit of free time to confirm/deny it's an issue with that properly.
Not confusing our round about at all. If the format changes fail, I'll toss you the 'log' from it on highest verbose (and take a look myself, not a master at this stuff but I can usually pick out obvious oddities/errors) and then see how things play out.
Thanks for the patience/assistance!
Drop format change did nothing, both the 'standard' variation and the one I use end with double drops, 100% drop. Tested on an object (melon) and a animal (pig) both using the classical pattern, with variable drop rates, 1% items always dropped, and always 2x.
The console wise, I saw something - but I got spam-bombed to hell by this before I could copy the other parts.
23:06:45 [INFO] [OtherDrops:2.8b.573] PerformDrop (HIT, CREATURE_MoCreatures.KomodoDragon@!ADULT!!!!ItemStack{AIR x 1}%10.0%!!ItemStack{AIR x 1}%10.0%!!ItemStack{AIR x 1}%10.0%!!ItemStack{AIR x 1}%10.0%!!ItemStack{AIR x 1}%10.0%%20.0h w/ [VOID]) no potential drops found 23:06:45 [INFO] [OtherDrops:2.8b.573] PerformDrop (HIT, CREATURE_MoCreatures.Bear@!ADULT!!!!ItemStack{AIR x 1}%10.0%!!ItemStack{AIR x 1}%10.0%!!ItemStack{AIR x 1}%10.0%!!ItemStack{AIR x 1}%10.0%!!ItemStack{AIR x 1}%10.0%%20.0h w/ [VOID]) no potential drops found 23:06:45 [INFO] [OtherDrops:2.8b.573] PerformDrop (HIT, CREATURE_MoCreatures.KomodoDragon@!ADULT!!!!ItemStack{AIR x 1}%10.0%!!ItemStack{AIR x 1}%10.0%!!ItemStack{AIR x 1}%10.0%!!ItemStack{AIR x 1}%10.0%!!ItemStack{AIR x 1}%10.0%%20.0h w/ [VOID]) no potential drops found
repeating dozens if not hundreds of times. i see this same 'message' with zombies, and other mobs that suffocate due to spawning into walls, or such variables. I can't gather much else due to this damn spam of the above. -.-;...
Doing a clean install isn't quite that simple due to the way hosting of my server works, but if push comes to shove I guess I'm losing an afternoon to try and clean up and make it viable *sigh* >.<
If there's any other info you need, just tell me.
-
View User Profile
-
Send Message
Posted May 21, 2014@LanToaster
As a parameter, no, but this page could help. (See the section with names and lores.)
-
View User Profile
-
Send Message
Posted May 21, 2014Is it Possible to have a Condition for a Certain Line in the LoreText?
I just found in the Conditions a flag for the Name.
-
View User Profile
-
Send Message
Posted May 16, 2014@Sabbykat
Sorry about the part of my comment with the configuration file and all, I just thought you might've forgotten to check "otherdrops-config.yml" because you put your drops file in the pastebin, but not your config file (not that it's necessary now anyway). It still helps to call it a drops file, however, because it's less ambiguous that way. Or maybe a drops-configuration file, whatever you're good with.
Double drops, hm? I think someone else had a similar issue before. My guess isn't that OtherDrops is acting strangely. My guess is that something is passing an event, twice, to OtherDrops; OtherDrops then just reacts to each event and pushes forth the configured drop each time. Would you mind doing a "test run" with OtherDrops on the highest verbosity and pasting that to me (via comment)?
Now, the truly strange part is that percentages don't work. Judging from a look at your paste (of your drops), it's probably because of the way you formatted - feel free to prove me wrong on that point, however. You have it set up like this, for example:
When I've always seen it done like this:
I'm not entirely sure why you opted to set up your configuration via the first format, as I haven't seen any examples written out like that here (I haven't checked the examples that come with the plugin, however). I'm also not sure why that would work either, compared to the latter format (seeing as how there's no "entry" specified in the first format, so I'm not even sure how OtherDrops is able to read it to begin with). But, as you said before, examples in the first format were given to you by Zarius, so I'm now pretty doubtful the problem actually stems from formatting. (Doesn't hurt to try testing it out.)
If switching the format works, then great! But if it doesn't fix the "percentage issue", then clearly I am completely wrong about formatting (although the latter is still better practice), and the issue lies elsewhere. I'll still try to help if that's the case.
It might help also, as @diannetea suggested, to test this all on a clean testing server. I doubt MCPC+ would cause any problems, but it wouldn't hurt to test it on CraftBukkit.
Sorry if I come off as confusing/roundabout/rude, but I wrote this when I was tired. Hopefully I'll be able to respond to your next comment with a fresher perspective. :)
-
View User Profile
-
Send Message
Posted May 16, 2014@Sabbykat
Make a test server starting with necessary plugins (for me Essentials, PEX, Vault+Economy, maybe a few other things) and then add OtherDrops. Test to find out if it is happening or not. If not (shouldn't be), stop server, slowly add groups of 5 plugins from your plugin folder and start it up again. Test for the problem again. Rinse and repeat. If you add a group that has a conflict then remove the new plugins one by one until you find out what the culprit is.
-
View User Profile
-
Send Message
Posted May 16, 2014@CommodoreAlpha
I'm quite aware what the configuration file is, I simply call the drops file a configuration file as well (which it is in essence).
To confirm your idea, that is indeed false as I suspected that may be the issue too. I turned many such functions on and off and tested each extensively with no results. % drops DO NOT work with the file I listed, and always drops everything - as well, it's always 2x the amount listed. (it does seem to work with amounts, i.e. drop: 1-2, it'll drop 2-4 so it does obey that setting, just doubled heh).
I'm entirely stumped what the issue is.
-
View User Profile
-
Send Message
Posted May 16, 2014@CommodoreAlpha
Ticket? Do you mean in todo list GitHub?
other issue. when come fixtool too armor? :)
-
View User Profile
-
Send Message
Posted May 15, 2014@robodude99
You could try PMing ZariusT for this, as I'm completely ignorant in coding.
But, I did do a quick search through the repository, and came up with these two pages; I don't know which one is the one you want, but it should be able to help you in your search:
DropType.java & CustomDrop.java
-
View User Profile
-
Send Message
Posted May 15, 2014I am a developer modifying this plugin for my own server, where exactly in the code does it determine whether the drop is going to occur or not based on the chance? I cannot seem to find it.
-
View User Profile
-
Send Message
Posted May 15, 2014@Testercraft
If you want more effects, you'll have to explicate what they are within a ticket, and possibly give a reason on why it would be a good idea to add.
I'm also just a documenter; I'm not the plugin's developer, and I don't know how to code, so I can't do anything about that.
-
View User Profile
-
Send Message
Posted May 15, 2014@CommodoreAlpha
Can you update more effects? :)
-
View User Profile
-
Send Message
Posted May 15, 2014@Sabbykat
That's not the config, that's the "drops file". The config should be named "otherdrops-config.yml" or something like that.
Make sure that "loot_overrides_default" is set to "false", and see if that will fix your problem. But I can ascertain that the problem rests on your side (as in, it's not a bug specifically from OtherDrops).
@Testercraft
To my knowledge, most, if not all of the "effects" (in other words, parameters) are already listed in the parameters page. I think breeding is an unimplemented feature, but I don't quite remember.
@pepper82 @ReeferX7
Sometimes, the continuous integration server goes down. You'll just have to wait until it comes back up, as there's little I can do about that.
-
View User Profile
-
Send Message
Posted May 14, 2014Right! I'm having a rather large issue with the plugin, namely, the settings ignore % drop (say it's 1% drop, it'll ALWAYS drop), and when items drop - it's always twice the intended number (I want 1 diamond to drop, it always drops 2 for example).
Plugin version: 2.8b 573
Server version: 1.6.4
Server-mod: MCPC+
Config: http://pastebin.com/znuXEJHQ
note for above, this 'config' was given to me by zarius - so I should not have any user-side mistakes in it.
I fresh installed the entire mod/config, etc, with no difference in results. tweaked various things. Done google searches to no avail, etc. I'm at my wits end what is wrong. Hopefully someone can enlighten me!
-
View User Profile
-
Send Message
Posted May 14, 2014Is more list effects? example breeding?
-
View User Profile
-
Send Message
Posted May 14, 2014dev builds offline
-
View User Profile
-
Send Message
Posted May 13, 2014@CommodoreAlpha
I try to download dev build but link dont work, can tell me where can i find this? thnks for your help!