OtherDrops

https://lh3.googleusercontent.com/-6F70Lqix6ss/USZFvy65wNI/AAAAAAAAA3s/L3hzRyfpJOU/s600/od%2520logo-fill.jpg

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)

Core Features

Note: features in orange are only available in the latest beta versions

  • 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
  • Where-ever possible the official Bukkit lists are used so OtherDrops:
    • supports all current and future blocks, items & mobs
    • supports all current and future enchantments & potion effects
    • supports all current and future biomes, spawn reasons & tree species
    • supports all current and future 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
    • Custom HP (health) for any mob
    • Custom equipment (w/custom drop chance)
    • Baby animals (all "Ageable" mobs - chicken, cow, pig, etc)
    • Tame wolves (including collar color) or cats (& different cat types)
    • Sheep colors and/or whether they haven been sheared
    • Villager professions
    • Powered creepers
    • Baby & villager zombies
    • 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])
  • Add lorename requirements
  • Heroes class & level conditions
  • Cooldowns

Actions

  • Apply actions alongside the drop (or even without a drop)
  • Damage tools
  • 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.

--

Many long nights are spent improving OtherDrops so if you like it please consider a donation to my coffee fund :) Donate

Metrics

  • OtherDrops uses Metrics for anonymous usage stats (learn more).

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of ZariusT ZariusT Jul 27, 2014 at 23:55 UTC - 0 likes

    @Kyfwana: Go

    I think using drop: DENY (on PLAYER) should work, be aware that players will not metro any items.

    BFAK:29094,007bd3b9c7cf630d7476ff7167537f6c25a18c7cb0a513a3ca0e0730674ba6c5

  • Avatar of Kofeyy Kofeyy Jul 27, 2014 at 08:24 UTC - 0 likes

    @Tri7stan: Go

    That build doesn't work properly with CoreProtect - you need the latest dev build.

  • Avatar of Kyfwana Kyfwana Jul 26, 2014 at 20:28 UTC - 0 likes

    How do I make it so players do not drop their inventory. I don't want them to keep their inventory, I just don't want them to drop it. I do want them to drop other items however.

  • Avatar of Tri7stan Tri7stan Jul 26, 2014 at 12:59 UTC - 0 likes

    OtherDrops initial failed

    info:
    CraftBukkit version git-Spigot-1493 (MC: 1.7.9) (Implementing API version 1.7.9-R0.3-SNAPSHOT)
    OtherDrops v2.8b.573
    CoreProtect v2.0.9

    detail:

    /ver
    26.07 20:53:07 [Server] INFO This server is running CraftBukkit version git-Spigot-1493 (MC: 1.7.9) (Implementing API version 1.7.9-R0.3-SNAPSHOT)

    26.07 20:40:48 [Server] INFO Enabling OtherDrops v2.8b.573
    26.07 20:40:48 [Server] WARN java.lang.NumberFormatException: multiple points
    26.07 20:40:48 [Server] WARN at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1101)
    26.07 20:40:48 [Server] WARN at java.lang.Double.parseDouble(Double.java:540)
    26.07 20:40:48 [Server] WARN at com.gmail.zariust.otherdrops.Dependencies.loadCoreProtect(Dependencies.java:168)
    26.07 20:40:48 [Server] WARN at com.gmail.zariust.otherdrops.Dependencies.init(Dependencies.java:100)
    26.07 20:40:48 [Server] WARN at com.gmail.zariust.otherdrops.OtherDropsConfig.load(OtherDropsConfig.java:300)
    26.07 20:40:48 [Server] WARN at com.gmail.zariust.otherdrops.OtherDrops.onEnable(OtherDrops.java:110)
    26.07 20:40:48 [Server] WARN at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316)
    26.07 20:40:48 [Server] WARN at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324)
    26.07 20:40:48 [Server] WARN at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
    26.07 20:40:48 [Server] WARN at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugin(CraftServer.java:465)
    26.07 20:40:48 [Server] WARN at org.bukkit.craftbukkit.v1_7_R3.CraftServer.enablePlugins(CraftServer.java:383)
    26.07 20:40:48 [Server] WARN at net.minecraft.server.v1_7_R3.MinecraftServer.n(MinecraftServer.java:359)
    26.07 20:40:48 [Server] WARN at net.minecraft.server.v1_7_R3.MinecraftServer.g(MinecraftServer.java:333)
    26.07 20:40:48 [Server] WARN at net.minecraft.server.v1_7_R3.MinecraftServer.a(MinecraftServer.java:289)

    /co version
    26.07 20:51:08 [Server] INFO - CoreProtect -
    26.07 20:51:08 [Server] INFO Version: CoreProtect v2.0.9.
    26.07 20:51:08 [Server] INFO Storage: Using MySQL.
    26.07 20:51:08 [Server] INFO Download: http://dev.bukkit.org/server-mods/coreprotect/
    26.07 20:51:08 [Server] INFO Sponsor: http://hosthorde.com

    Last edited Jul 26, 2014 by Tri7stan
  • Avatar of GriinLab GriinLab Jul 25, 2014 at 17:23 UTC - 0 likes

    Is there any possibility to drop items straight to eq?

  • Avatar of Nokaaj Nokaaj Jul 25, 2014 at 15:30 UTC - 0 likes

    @kev3200: Go

    Hmm .. okay so I need to use an existant item. I didn't use "COAL_ORE" for the drop but only as target for the event. For the drop it was INK_SACK@23, which seem to take the last name of the real item which is "Bone Meal" as priority (@15). So I need to find an "almost" unused item as a reference for my new ores, otherwise the players should craft existant items with it (considering the custom item will refer as the original item). Thank you anyway. :) I'll retry and edit my post.

    EDIT : I used Flint as custom item :

        COAL_ORE@1:     
            - drop: 318@!~Cobalt
              tool: [IRON_PICKAXE, DIAMOND_PICKAXE]
              quantity: 1-3
            - drop: NOTHING
              tool: ANY
    

    And it still show me the name "COBALT" in caps ... what version of Bukkit are you using ?

    Last edited Jul 25, 2014 by Nokaaj
  • Avatar of kev3200 kev3200 Jul 25, 2014 at 10:16 UTC - 0 likes

    @Nokaaj: Go

    Lol you are ahead of me in that aspect. I tried to recreate your problem but I couldn't even get the name to show up at all :P So much for help... You're gonna need CommodoreAlpha or another mod to answer that question sorry.

    EDIT: I did manage to recreate your example using STONE instead of COAL_ORE.

    STONE: - drop: STONE@!Cobalt

    This worked fine. It gave me a stone block named "Cobalt" (in lower case, not caps)

    Last edited Jul 25, 2014 by kev3200
  • Avatar of Abnormal_Zombie Abnormal_Zombie Jul 23, 2014 at 17:04 UTC - 0 likes

    Could you please update replacetool so that it accepts all types of data? I'm glad this plugin is still up and running. No server should be without it.

    EDIT: - The console can get spammed if using "replacetool" a lot. - consumetool doesn't work if the item is being eaten.

    Last edited Jul 24, 2014 by Abnormal_Zombie
  • Avatar of Nokaaj Nokaaj Jul 23, 2014 at 10:27 UTC - 0 likes

    If you want to see my last Post

    EDIT : Okay I tried again like this :

        COAL_ORE@1:
            - tool: ANY_PICKAXE
              drop: INK_SACK@23!~Cobalt
              quantity: 1-2
    

    It seems to work very well but I don't have the custom name of the item yet.

    The item I drop have the name "Bone Meal" instead of "Cobalt". Where is the error ?

    I tried again with an item which doesn't have metadata value : the drop have his name in uppercase.

        59@8:     
            - drop: 296@!~Malt
              quantity: 1-2
    

    returns an item called "MALT" and not "Malt". :/

    EDIT2 : Drops on named mobs or specific region both don't work. (I use Bukkit for 1.7.9)

    Last edited Jul 24, 2014 by Nokaaj
  • Avatar of kev3200 kev3200 Jul 23, 2014 at 02:55 UTC - 0 likes

    @Nokaaj: Go

    This definitely sounds plausible. Not being a moderator I wouldn't be able to give you a final say-so, but from my experimentings with the plugin, it sounds like it should work. The plugin would just respond when that block was destroyed and act accordingly. The best way to find out would be to try it :)

    Also the word you're looking for is not "damage value" of 1, but 16:1 = block 16 with a "metadata" of 1.

    Last edited Jul 23, 2014 by kev3200

Facts

Date created
Aug 27, 2011
Categories
Last update
Jul 04, 2013
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
OtherDrops
Downloads
78,978
Recent files

Authors