Inactive [ADMN] MobDrops v2.5 - Change what your ingame mobs drop (now with iConomy support) [1337]

Discussion in 'Inactive/Unsupported Plugins' started by Daviidi, Jun 10, 2011.

  1. Offline


    MobDrops - Change what mobs drop
    Version: V2.5

    The MobDrops plugin allows you to change what drops mobs give you, it was made intended for servers who use items like gold bars as their currency, and want mobs like skeletons to drop a gold bar on death. It can, however, be used for other purposes. The plugin allows you to set whether the mobs will keep their original drop in addition to your custom set drop. You can now also award iConomy money for killing a mob! (but not required) You can also set whether mobs only drop custom drops if killed by a player. Commands can be run from the server console, or in-game by an op.

    ([] means optional, anything in <> is compulsory for that command)

    mobdrops add <Mob name> <Item id> [Drop Count = 1 [Chance of drop out of one thousand = 1000]] - adds the item to the list of drops for that mob.

    mobdrops remove <Mob name> <Item id> [Drop Count = any [Chance of drop out of one thousand = any [Limit = none]]] - removes all items from the list of drops for that mob that match those conditions.

    mobdrops get [Mob name] - Displays the drop information for the specified mob, or all mobs.

    mobdrops clear <Mob name> - Resets the drops for the specified mob to the default drops.

    mobdrops normal <Mob name> [on/off] - sets/gets whether the specified mob will drop the default drop, along with any custom drops.

    mobdrops money <Mob name> [amount] [amountupperboundary] [moneychanceoutof1000] - sets/gets how much is awarded for killing a certain mob. If the upper boundary is specified it will drop between the lower and upper boundaries, else it will just drop 'amount', if moneychanceoutof1000 is set, that's the chance of it dropping out of 1000.

    /mobdrops money creeper 5 8 500 (will make creepers drop between 5 and 8 of your currency 50% of the time)
    mobdrops playeronly <Mob name> [on/off] - sets/gets whether the specified mob will only drop custom drops upon being killed by a player.

    mobdrops moneymessage [message] - sets the message given to a player when they get a reward for killing a mob to the set message, (if no message is specified then the player will get no message), the message replaces %a% with the amount rewarded and %m% with the name of the mob killed. For example:
    /mobdrops moneymessage You killed a %m% and got %a% dollars!
    might result in
    You killed a creeper and got 2.43 dollars!
    Item ID's can be found here.

    Feedback is always appreciated. :D

    Example usage (open)

    If you wanted the creeper to have a 5% chance of dropping a diamond sword, and to always drop two gold ingots, but never to drop it's sulphur, you would use the following:

    > mobdrops add creeper 276 1 50
    19:06:21 [INFO] Added drop successfully!
    > mobdrops normal creeper off
    19:06:29 [INFO] Turned normal drops for 'creeper' off.
    > mobdrops add creeper 266 2 1000
    19:07:03 [INFO] Added drop successfully!
    > mobdrops get creeper
    19:07:09 [INFO] Mob 'creeper':
    19:07:09 [INFO] Normal drops: off
    19:07:10 [INFO] Drop: DIAMOND_SWORD, count: 1, chance: 5.0%
    19:07:10 [INFO] Drop: GOLD_INGOT, count: 2, chance: 100.0%
    Here are some more ideas to get you thinking:

    Carrier Creeper (creepers have a 5% chance of showering their killer in TNT)
    > mobdrops add creeper 46 64 50
    > mobdrops normal creeper off
    Skeletons bows (Skeletons have a 40% chance of dropping their bow)
    > mobdrops add skeleton 261 1 400
    Slimy zombies (Zombies drop slimeballs instead of feathers)
    > mobdrops add zombie 341 2
    > mobdrops add zombie 341 4 100
    > mobdrops add zombie 341 3 100
    > mobdrops add zombie 341 2 100
    > mobdrops add zombie 341 1 100
    > mobdrops normal zombie off
    Sweet ghasts (Ghasts drop two cakes on death)
    > mobdrops add ghast 354 2
    If you find a combination particuarly good, post it and I'll include it in this list!

    Known Bugs
    • The help menu is far too long to be displayed on a players chat, but can be viewed fine from the console. It also displays the "Invalid command" message after displaying the help.

    Latest Version (Version 2.5, tested and works on RBs up to 1337, may work on other versions.)

    Version History / Changelog
    Version 2.5 (tested on builds up to 1337):
    • Fixed bug with awarded money being rounded down.
    • Added /mobdrop as an alias.
    • Changed default file to /plugins/MobDrops/ (but still uses the old file if not found)
    Version 2.4 (tested on build 860):
    • Added chances for the /mobdrops money command.
    • Added the /mobdrops moneymessage command.
    Version 2.3 (tested on build 860):
    • Added optional range for the /mobdrops money command.
    Older Versions (open)

    Version 2.2 (tested on build 860):
    • Added /mobdrops playeronly command.
    Version 2.1 (tested on build 860):
    • Added iConomy support
    • Added /mobdrops money command.
    Version 2 (tested on build 860):
    • Made stacks of items come out of the mob separately.
    Version 1 (tested on build 818 + 860):
    • Initial Release for bukkit
  2. Offline


    dont work :confused: i type /mobdrops add zombie 339 2 and it said "drop successfully added" but then when i kill a zombie nothing drops.
  3. Offline



    07:04:12 [SEVERE] Error occurred while enabling MobDrops v2.5 (Is it up to date?)
    java.lang.NoClassDefFoundError: org/bukkit/event/Event$Type
    at com.daviidi.plugins.mobdrops.MobDrops.onEnable(
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    at net.minecraft.server.MinecraftServer.t(
    at net.minecraft.server.MinecraftServer.a(
    at net.minecraft.server.MinecraftServer.init(
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.Event$Type
    at Method)
    at java.lang.ClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    ... 11 more

    I'm pretty sure it's up to date.
  4. Offline


    ??? sorry how do you change what they drop? The only document is a java file, and there is an empty folder.

    umm sorry where do you change what mobs drop? There is only a java file and a empty folder.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  5. Offline


    Well this plugin hasn't been updated for a while and you can tell by the "[1337]"
  6. Offline


    type /mobdrops help in game to get help, but anyway you need to put /mobdrops Zombie 268 1. And that means every time you kill a zombie, you get a wooden sword :)

    sorry got it now its in game sorry didnt read it properly ;)

    This is a really good plugin, essential on my server :D It really helps everything thank you!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  7. Offline


    what plugins is this not compatible with? I have VoxelUpdate, MobDrops, bLift, iConomy, NoSwear, MobDisguise, SolarRedstoneTorch, WirelessRedstone, Vault, InfChests and ChestShop, and this plugin isnt working.
  8. Offline


    i cant even download the link bring me to a website with some chick with a backpack
  9. Can I Get Direct Download Link. I Can't Download The Plugins. Can You Make A BukkitDev Threade Too?
  10. Isn't this plugin outdated as hell?
  11. Offline


    Does this work with the 'Looting' Enchantment?
  12. Offline


    I need to know how long you will continue to update this plugin and if you are going to assign the plugin over to someone else if are not able to continue
  13. I think your Web site is down.
  14. Offline


    Can you fix the download link?

Share This Page