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 Aug 3, 2013@MixDatSalt
You mean like when you hit something, it would splash an potion? that would be cool. (You can add potion effects though)
I wish Zarius adds "on hit" effect. If zombie hits you , he can cause nausea or such.
-
View User Profile
-
Send Message
Posted Aug 3, 2013@ZariusT Hey is is possible to add potions to sword victims?
-
View User Profile
-
Send Message
Posted Aug 3, 2013@aoikishu
You may want to consider using RecipeManager, as its support for crafting recipes is much more complex and advanced than any other crafting plugin in the history of history.
If that plugin doesn't have what you wanted, make a ticket request over there. There's nothing wrong with you making this kind of request to OtherDrops, but boy, the list of feature requests sure is long! You'd have a better chance at having your request implemented via RecipeManager, and sooner too, because RecipeManager is specialised in dealing with crafting, whereas OtherDrops is much more broad.
-
View User Profile
-
Send Message
Posted Aug 2, 2013@ZariusT
The point is: I have a maze in my server, last layer is Obsidian obstacle course with a lot of lava... I wanted to do it so if player falls to the lava, but gets fast enough to Obsidian again = he/she gets health back and fire resistance. No breaking, just the movement. I got this working with Netherrack once (so it did explosion and sent message KABOOM) but i don't remember how, I thought it was this way.
And the error http://pastebin.com/KrYJKNTk , it just fails to load the dependencies or what ever and causes issues. My server is now a mess coz of this :(
EDIT:
When i added this
CREATURE_HOSTILE:
- msir: 5 # if a mobspawner is within 5 blocks of the death location
spawnedby: [CUSTOM, SPAWNER, OTHERDROPS]
drop: NOTHING
I keep getting this error: http://pastebin.com/Kzfjktkb
EDIT2:
SemiRPG plugin BETA is incoming today to my server... no point while this plugin aint working :(
-
View User Profile
-
Send Message
Posted Aug 1, 2013I want my players to have a small chance of getting a one of a kind drop when crafting. I requested an on_craft trigger in the github. Is there a way to get a one of a kind drop?
I want it so if someone gets this drop that no one else can get it until the item has been destroyed.
If I had a way of knowing who has the item at any given time I could manually change the chance to 0% and if he lost it change it back to a small % but that's the only thing I can think of at the moment.
-
View User Profile
-
Send Message
Posted Aug 1, 2013@Hangar
Sorry, I don't think that one's fixed just yet, hopefully this weekend.
-
View User Profile
-
Send Message
Posted Aug 1, 2013@raducostel93
Saving the delayed events is not yet possible. I'm sure there are plugins that do this out there other than RegenBlock but I'm not familiar with them. RegenBlock should work with OtherDrops - I've added specific support for it but they did change their API recently so you'll need to work with the latest beta (or possibly even wait for the next OtherDrops beta release) to use alongside the latest versions of RegenBlock.
@semirotta
Thanks, I'll look into that error.
Hmm, you could probably replace the wither with something else in the main world, eg:
Not sure about the fire resistance but you could try removing the playermove trigger and seeing if it gives you the potion effects when you break obsidian (you may want to change the target to a breakable block just for the test).
-
View User Profile
-
Send Message
Posted Jul 31, 2013Sorry, but did the July 30 dev build fix the TNT NPE issue? I'm not sure from the change notes and I miss my OD :/
Thanks.
-
View User Profile
-
Send Message
Posted Jul 31, 2013@ZariusT
Ya the problem is obviously this, perhaps i just have to let them farm those experience points and emerald ores. I still wonder why the plugin says unknown material XP or experience...? Shouldnt it work ?
But i'll add the
CREATURE_HOSTILE:
- msir: 5 # if a mobspawner is within 5 blocks of the death location
spawnedby: [CUSTOM, SPAWNER, OTHERDROPS]
drop: NOTHING
I just downloaded latest dev (uploaded about 1 day ago)
http://pastebin.com/99MARgDN
this error popped out. Only added the creature_hostile thing.
Also is there a way to prevent Wither to be spawned in normal world?
EDIT:
How come player movement is not triggering this fire resistance and regeneration for a player at region called maze?
OBSIDIAN:
- region: maze
trigger: PLAYERMOVE
potioneffects: [FIRE_RESISTANCE@100@3, REGENERATION@100@3]
and i am using the latest DEV build of Otherdrops, gives this http://pastebin.com/w5RsKfat
-
View User Profile
-
Send Message
Posted Jul 31, 2013ZariusT how can i save the delayed events? you said its not possible with this plugin but can you recommend me any other plugin that will regen certain blocks for a custom amount of time? other than RegenBlock cause that one doesnt work with OtherDrops..It would be nice if you'd add this feature to other drops :)
-
View User Profile
-
Send Message
Posted Jul 30, 2013@semirotta @CommodoreAlpha
There are a couple of separate issues here - firstly is the NPE that semirotta got which is related to CoreProtect and should be fixed in the latest dev build.
Secondly is the issue of overriding "spawner" spawned mob drops. Please note: SPAWNER _only_ applies if the mob has been spawned directly by the spawner (ie. vanilla mob). If any plugin (eg. SilkSpawners or OtherDrops) changes the mob it will likely be via overriding the event and custom spawning a new mob at the same location. In this case it will no longer be a SPAWNER spawned mob but rather the spawn-reason will be "CUSTOM" (or "OTHERDROPS" as I set a separate flag for mobs spawned via OtherDrops) and there is no way to tell that the original mob was via a spawner.
The reason for this is that there is no way via the Bukkit API (that I'm aware of anyway) to modify the type of an entity therefore OtherDrops cancels the mobspawn event and manual spawns a new mob.
If SilkSpawners is doing this too than unfortunately there is no way you can tell that the mobs were spawned by a spawner, unless SilkSpawners tags the custom mob it spawns it some way. You could try using the OtherDrops "msir" condition, eg.
Though you wouldn't want to put msir to much bigger than 10 or 15 as firstly it has to scan through more blocks and secondly you'll get more false positives (eg. mobs spawning naturally). Hmm, you could probably add "spawnedby: [CUSTOM, SPAWNER, OTHERDROPS]" to that and it would ignore the natural spawns.
Probably easy to beat as I imagine a lot of traps have the death point quite a long way from the spawner itself... :\
-
View User Profile
-
Send Message
Posted Jul 30, 2013@semirotta
To be honest, I don't think your issue has anything to do with CoreProtect/OtherDrops, but let's not rule that one out entirely.
First of all, get a testing server (run it on your own computer, you don't need a host and you don't need to port forward). Run OtherDrops with your current config on that testing server, and only the OtherDrops plugin. If you can replicate your issue (mob-spawner mobs still dropping stuff), it's an issue on Zarius's side.
If you can't replicate it, it's a matter of a plugin incompatibility, most likely. If it is a plugin incompatibility, I have a theory as to why your issue happens:
You have a plugin which overrides mob-spawner mechanics, where all "mob-spawn" events that have been induced by mob-spawners are overriden by the plugin. In other words, if the offending plugin "detects" a mob spawn event with "reason: mobspawner", it will override this by copying the mob-spawn data, canceling the event, doing its own thing with the data, and spawning it via its own method. Thus, the plugin essentially changes "mob spawn event reason: mobspawner" to "mob spawn event reason: plugin/other". OtherDrops, when you specify "spawnedby: SPAWNER", does not look at "mob spawn event reason: plugin/other", only "mob spawn event reason: mobspawner", and that could be causing all of your problems.
You could just ask, "Why doesn't OtherDrops just support 'spawnedby: PLUGIN' and I could use that instead of 'spawnedby: SPAWNER'?". Well, if Zarius did implement that, and you did use it, not many admins would use "spawnedby: PLUGIN" because one could foresee many issues with it. In other words, not many people would use this feature because it would interfere with other plugins that purposefully spawn mobs. And there are probably much better alternatives to this.
If you want to confirm whether or not my theory is true, try testing this:
If creepers do indeed drop nothing, whether or not they were spawned by a mobspawner, my guess is that there's nothing wrong with what OtherDrops is doing.
And if my theory is correct, you would most likely need to ask SilkSpawners (or whatever other mobspawner-related plugins you're using) to pass the mob-spawn event with the "more appropriate reason"; in this case, tagging the reason as "mobspawner" instead of "plugin/other".
-
View User Profile
-
Send Message
Posted Jul 30, 2013@ZariusT
CoreProtect v2.0.8 for 1.6.1 Jul 02, 2013
There is no 1.6.2 version anywhere. I cant freaking use LogBlock coz my server hosts are such an dumbasses who cannot make it work, tried to fix the problem myself but there is absolutely nothing i could do, so i must use this CoreProtect instead (ive used it before)
And i still wonder why the
- spawnedby: SPAWNER
drop: DENY
is not working. Its like, even when mobs spawn from spawners they still drop the items. I have tried drop: air/nothing too. The hostiles are spawned by Silkspawners i think. People can get spawn eggs from shops and craft a spawner / drop an spawn egg from monsters to craft spawners.. but id like to prevent drops or at least the experience & emerald ore drop from spawner spawned monsters.
Basically what I am trying to do is, prevent EXPERIENCE and EMERALD ORE from dropping of the monsters which are spawned by SPAWNER. This is so people cannot farm experience points and the money (emerald ore) but obviously I have no idea how to do this.
I have now this:
- spawnedby: SPAWNER
drop: [DEFAULT, -EMERALD_ORE, -EXPERIENCE]
in each mob i have in the config but the plugin wont regocnize EXPERIENCE, XP or XP/0...
-
View User Profile
-
Send Message
Posted Jul 29, 2013@semirotta
If you read the error message carefully you can see what the problem is. It failed to load the CoreProtect dependency. Nothing in your config would have caused that, perhaps you already had the error or just updated CoreProtect? What version of CoreProtect are you running?
-
View User Profile
-
Send Message
Posted Jul 29, 2013@ZariusT
Well normal zombies and all... Thats why its so odd. Also i now suddenly started to get error, all i did was change % chance of one item of dropping and reloaded (od reload)
http://pastebin.com/RAqnaHiM
What on earth?
Whole config:
http://pastebin.com/D0jVLFJS
-
View User Profile
-
Send Message
Posted Jul 29, 2013@semirotta
That should work - are the mobs the original spawner spawned mobs or custom mobs from OtherDrops?
-
View User Profile
-
Send Message
Posted Jul 29, 2013Question number 9,525,672,996,246,998:
CREATURE_HOSTILE:
- spawnedby: SPAWNER
drop: AIR
How come this wont work? I try deny experience and other drops from mobs which spawn from spawners.
I am still getting the experiences and drops.
-
View User Profile
-
Send Message
Posted Jul 29, 2013@CommodoreAlpha yes its working great but ZariusT is right, delayed events are not saved. Thanks
@ ZariusT I used RegenBlock i get spammed with a lot of errors when someone is mining but they do regen with no problem. I dont know how stop the errors :(
EDIT : @ZariusT is there any way to keep save the delayed events?
-
View User Profile
-
Send Message
Posted Jul 29, 2013@Hangar @Q2Lummox
Yes, I can confirm that's the same error, thanks for reporting it though, will look into it tonight.
-
View User Profile
-
Send Message
Posted Jul 29, 2013@Hangar
I have the same error (already reported).
ZariusT says is working on it, patience ;)