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

    Daviidi

    MobDrops - Change what mobs drop
    Version: V2.5

    Description
    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.

    Commands
    ([] 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.

    Code:
    /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:
    Code:
    /mobdrops moneymessage You killed a %m% and got %a% dollars!
    might result in
    Code:
    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:

    Code:
    > 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)
    Code:
    > mobdrops add creeper 46 64 50
    > mobdrops normal creeper off
    
    Skeletons bows (Skeletons have a 40% chance of dropping their bow)
    Code:
    > mobdrops add skeleton 261 1 400
    
    Slimy zombies (Zombies drop slimeballs instead of feathers)
    Code:
    > 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)
    Code:
    > 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.

    Download
    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/MobDrops.data. (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

    tangy777

    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

    Cashkid32

    Help?

    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(MobDrops.java:71)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.Event$Type
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    ... 11 more



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

    RetepWorm

    ??? 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

    Quang_Dang

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

    RetepWorm

    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

    RetepWorm

    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

    PureTurmoil

    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

    Bor_N

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

    ServerOwner5000

    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

    MLG_KICK

    Can you fix the download link?
     

Share This Page