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).
@kev3200
drop: DIAMOND_SWORD&5Namegoeshere;lore text;&6&lgoes here
@kev3200
That should work fine, Is there any error or is it just spamming the console with messages?
Hello there ZariusT, would it be possible for you to make a change in the code to make it so when you're using %loc.x/y/z, that it instead shows as 100 instead of 100.0? Or if you're not able to do that, would you be able to show me where to go so I can make the changes myself? Thank you!
@luridftw32
Why don't you just get it to drop the amount you want?
Like:
That should lower the drop chance of sulphur to 20% from creepers. Let me know if it works!
Overriding default drops do not work!
- It will let you override it with anything of a higher value.
- Setting it to drop less items then MC is defaulted to does nothing.
- Setting it to drop at a lower % chance then MC is defaulted to does nothing.
I'm trying to lower the rates of sulphur and iron bars from Creepers and Iron Golems. But it will not override unless the values are higher then default.
@nuggs1331
You can "drop" commands on player or any mob death. Just specify which mob in the config and then example: (%p = player)
ZOMBIE:
- drop: NOTHING
command: ["/!$give %p your_item_name_here 1"]
Something like that would give the player 1 of your item. You can also just change the command to whatever you want.
Source: I've tried it before.
Also a reply by one of the authors on my question would be very helpful, thanks!
Does this allow command based items such as mobs giving kits or money?
If not can it be added?
And another one,
I'm looking to have the same sword do different amounts of damage to the victim depending on the name of the sword. I got the plugin to recognize when a "different" sword is being used but no damage is dealt.
I'm using the following:
Zombie: - drop: NOTHING trigger: HIT tool: DIAMOND_SWORD lorename: "Dark Sword" message: "Dark Sword Attack!" damage.victim: 2 - drop: NOTHING trigger: HIT tool: DIAMOND_SWORD lorename: "Dragon Sword" message: "Dragon Sword Attack!" damage.victim: 4
However, when I hit a zombie, the console is spammed with a ton of "Dragon Sword Attack!" or "Dark Sword Attack!" messages and eventually times out. Is my syntax for damage wrong or the plugin?
Got a question I'm hoping someone can answer. Is there a way to configure a block to have custom lore text when dropped? Like how you can have nbt tags when using the /give command to specify item name and lore. Is there a parameter for the drops I can use to get the same effect? (hopefully supports colors and fonts as well :D)
Hey Is there a way to make a tool (such as a hoe) into a weapon? So every time you attack a mob with it, it subtracts some durability of the tool and inflicts more than ordinary damage on the victim? I've tried it, but the things I tried didn't do anything except cause the monster to die dozens of times at once, spamming loot drops in heaps.
@Argagaes
Well it doesn't really matter if it needs to be that simple, there is no point for me to use it at all if I can't do it with armor so... I guess I'll just have to wait and see. Also idk about heavy, might seem so but it works just fine? only thing that doesn't work is the !!24h, also that command of yours needs "!!" instead of "!" :) and actually I tried that what you did, didn't work, I don't know how it does it.. maybe it sets the hp to 24, but the BASE hp is something else? thats what it's counted by right?
Does this not work with forge mobs? mobs added by other mods, such as NeverMine? Also, how can i make it so that ALL mobs, or ALL aggressive mobs drop a certain thing (maybe like a global drop section, that would be nice?)
@Argagaes
This config is pretty heavy, have you tried with a simple one ?
Like :
I'm pretty sure it works, I used this feature not long ago
@Bajads
For me it seems that that should work so it's propably something with the player being dead :P
@Faldonboy UPDATE
FIXED working now with using color codes that NISOVIN of Magicspells let me in on.
THis is how I did mine. - drop: 387@!&aMagic Tome - Clumsy;&eRequires the 'Clumsy' spell.;&e&0&kMS$:tome:clumsy,1
Lore code is &0&kMS$:tome:spell,uses
OLD POST BELOW CAN BE DISREGARDED NOW Awesome I have been looking for a way to do this for a very long time. HOWEVER...
Predefined-scroll is great to drop scrolls off mobs.
BUT how about being able to drops a tome.? and writtenbook which is already a spell that way we could drops those off mobs and players can pick them up and learn them by a simple right click like they do in magic spells.
Only problem i see is there isnt a predefined-tome command.?? Any other way to drop tomes off mobs using Otherdrops would be helfull
Or is there a way with LORE.. Nisovin of magicspells says: Depending on the plugin you use for dropping items, you can probably do this already. Drop a written book with this as the last lore line:
&0&kMS$:tome:spell,uses
being sure to change tome to the name of the spell and spell to the spell name you want to teach and uses to a number.
Does Lore tags work with Otherdrops right now.. And if so can you give an example of this lore tage working on a zombie drop like you did for the predefined-scroll message you gave once on here for that example. It would help to see it since you guys are the experts we default to. Agai thank you for all you do. Thank You
Does the lightning feature work? I have the following "event" written, but it doesn't show? Is it because the player is "dead" when the server looks for where to lightningstrike?
event: LIGHTNING@HARMLESS@PLAYER
@Bajads
If PLAYER doesn't work I'd assume you need to try some other plugin, I've heard of some that allow custom player drops (and the option to disable natural inv dropping)
@Noxcode
I'm trying to spawn a zombie with 24hp with a pumpkin on head, this is how it looks:
- dropgroup: zombies trigger: MOBSPAWN flag: UNIQUE drops: - drop: ZOMBIE@eq:head:pumpkin%0!24h chance: 100
But this doesn't work, neither does with "!!" between 0% and 24h If I remove the "!24h" the zombies spawn and work fine (I also tried other things between it like "@" and "@!". What I'm trying is to run:
ZOMBIE@24h: - drop: [PUMPKIN@1!DURABILITY#1!§6God Pumpkin;&eLegendary Item;&4&lCrafted in the deepest;&4&lcorners of the hell;&4&lOnly a few have ever been created;&4&land even fewer seen/1] message.server: "§6God Pumpkin §c§lhas §c§ldropped §c§lfor §c§l%p!" command: /!$dc God chance: 100
On zombies with 24hp. And this doesn't work with the !24h or !!24h, but it does work if I spawn them with vanilla command:
/summon Zombie ~ ~ ~ {Attributes:[{Name:generic.maxHealth,Base:24}]}
So the health basicly doesn't seem to work and also breaks the zombie spawning :/
Also is it possible to set hunger as a condition? Like lets say I'd have to have less than x or higher than x or something for you to be able to trigger the event. Also pset.health didn't seem to work so just wondering if that works somehow :P (also hp param would be nice I guess ;o?)
"WARN Unrecognized target" I want players to drop certain things ... But what is the target I have to use for players? I've tried "PLAYER" and "USER" - With this showing up in the config "WARN Unrecognized target"
@Argagaes
After your creature, use a single exclamation mark followed by a integer and a "h".
This last letter refers to the health parameter.
e.g.
How do I spawn a mob with custom health?