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

    Ghostaunt

    Does it work with 816 please ? And is there a config file drop set drops ?
     
  3. Offline

    DutchxJapie

    Please make a config file so you can edit drops easy!
     
    kahlilnc and MCrofl777 like this.
  4. Offline

    MCrofl777

    Hey nice Plugin
    BUT the /mobdrops moneymessage doesn't work!
    Invalid Command. Use "mobdrops help" for help.

    and one question: can I add color to the message?
    something like
    /mobdrops moneymessage &2+%a%$
    "&2" for green text.
     
  5. Offline

    SoulSauce

    I'm sorry if this is a stupid question. I'm not very knowledgable about java, but is this not compiled? Can you help me compile it or add a .jar to download? I want to try it out. It sounds interesting.
     
  6. Offline

    kahlilnc

    Can you add support for different dyes, such as cocoa beans and other dyes?
     
  7. Offline

    Hopium

    been having trouble with wolf drops, i dunno if because once you attack a wolf it changes the type it is or what but i can't for life of me get the drops to work on wolves. is there a name for enraged wolves besides just 'wolf'.
     
  8. Offline

    Milchshakee

    can you add a config.yml and permission support ?
     
  9. Offline

    alfskan

    is it support mob spawner?
     
  10. Are you going to continue work on this plugin? Because it says "-Sorry if my plugins become inactive, I don't work on my plugins any more-" Underneath and I need this kind of a plugin on my server, but I need to be able to rely on it updating.
     
  11. Offline

    crohakon

    When I try /mobdrops remove creeper 289 it returns a message telling me no mobs are named creeper. Whats up with that?
     
  12. Offline

    Brandon Egnell

    ok i maybe the only on thinking it but im going to say it. I would like a Config file. Im sorry but when i want to get something done i like it all to be where i can see it. But if something like the file im looking for is for a zombie. And zombies need to drop x amount of this and that. and same with skeletons. and creepers. so on and so forth. Its nice to be able to see all the mobs in one spot and just have like a visual reference to go by. If you could that would be great. Or even if there is a way to edit the DATA file let me know
     
  13. Offline

    morizuki

    is this working in 953 with no issues?
     
  14. Offline

    ostepop2211

    HELP:
    What am i doing wrong???
    I cant get moneyreward for sheep, Zombiepigman, wolf, skeleton or Giant to work :(

    Is it due to the older version?
     
  15. Offline

    Sleazin

    It worked for me when i tried pigzombie
    "/mobdrops add pigzombie 283"
    Zombie Pigman always drops 1 Gold Sword. :)
     
  16. Offline

    oqenscool

    please update this awesome plugin!
     
  17. Offline

    Sleazin

    please make a config file so we can edit drops out of game! also ive found a bug where monster data is randomly erased.
    also /mobdrops playeronly <monster name> on/off doesnt seem to work anymore.
     
  18. is there a way to make it so that it only drops 1 thing at a time?
     
  19. Offline

    ItsQ

    Realy nice mod!
    Thank you!

    Use: /mobdrops add <mobname> <Item id> <Amount> <1000>
    1000 = 100% Droprate

    Dont type the "< >" in game

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  20. i mean you add multiple things but it gives a random chance of only dropping one of the items at a time every time
     
  21. is it possible to add color support to it, duno if it can be done in it's current state. :)
     
  22. Offline

    fryn

    How do you install this plugin?
     
  23. Offline

    Superhykle

    how do i make a mob kill message with colours?
     
  24. Offline

    Soulslayerzx

    Is it possible to make the droprates in decimals. Cuz If I typed /mobdrops add pig yellowflowerid 1. Its gonna look very unatural that everytime I kill a pig ,there a 100% chance a yellow flower comes out.
     
  25. Offline

    kush

    Is there away to turn off the moneymessage? I set it to blank in game and it doesn't show a blank line after each kill but when the server restarts a blank line pops up after each kill until I set the moneymessages blank again.
     
  26. Offline

    zachman922

    I probably sound stupid but how do i use this? i normally only use jar files. any help?
     
  27. Offline

    Yurikoma

    this dosn't appear to work anymore
    and the creator hasn't been on since jul
     
  28. Offline

    Trielkin

    How come i start my server with this and a config file is not created?

    If you could fix that or something the download button will be clicked again..
     
  29. Offline

    OracleOfTime

    does it work with the latest build?
     
  30. Offline

    zaklooz

    how do you use it?
    i put it in my plugin folder but it doesent work
     
  31. Offline

    Maxxgold

    Is this outdated. Not getting drops from pig zombie's in the Nether
     

Share This Page