Inactive [MECH] MobLoot v4.0 - Simple Mob Drop Plugin [1.2.3-R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by AOD_Batman, May 9, 2011.

  1. Offline

    AOD_Batman

  2. Offline

    kahlilnc

    So with this you can stop drops and add some with percentages?
     
  3. Offline

    Thumm

    Does this override the default drops? if so would there be a way for it to just add to the default drop unless specified to override? And of course percentages would be a nice touch :)
     
  4. Offline

    AOD_Batman

    You can stop drops by setting the drop to "0" and you can set your own drops. Unfortunately it doesn't include percentages, yet. Always have to leave room for version 2. :p

    Currently it will override the default drop, have no drop, or use the default drop. There currently isn't a way to add to the default drop yet. I will see about adding this to version 2.
     
    kahlilnc likes this.
  5. Offline

    Fyrecrypts

    Yeah, would love for this to be a little more configurable. # of drops, and percent chance to drop particularly. Thanks for making it, it's a good start to an alternative to ecoCreature.
     
  6. Offline

    Plague

    last two versions have to be visible without a spoiler
     
  7. Offline

    Sphax

    How can we define data for block or items ?
    Also, is it possible to let it drop X times the same item ?

    Hope a percent chance will be added in the next version. :)

    Something like that would be cool as a format :
    Code:
    Zombie: [352:0:2:50,339:0:1:20,351:10:1:90]
    "351:10:1" would mean "90% chances to drop 1 light green dye" (90 is the % chance, 10 is the data value and 351 the item ID)
     
  8. Offline

    AOD_Batman

    There is only one version of MobLoot out currently. :eek: I changed the top post to the boring template included in the submission post if that was the issue. :confused:
     
  9. Offline

    yeahbro

    It drops one item/block but it is an infinite resoure, can you plz help fix this!
     
  10. Offline

    Master_Queef

    Awh man, I suppose you wouldn't make a version for #740?
    Nevermind, it works on #740, I'm a herp derp.

    Thank you sir for this awesome plugin.
     
  11. Offline

    AOD_Batman

    I like this idea and will try to implement it into the plugin. ;)

    Edit: I currently have the data class implemented as such...

    Code:
    ItemID:DataID:Quantity:DropChance
    Code:
    ItemID:Quantity:DropChance
    This will automatically set DataID to 0.

    Code:
    ItemID:Quantity
    This will automatically set DataID to 0 and DropChance to 100.

    Code:
    ItemID
    This will automatically set DataID to 0, DropChance to 100 and Quantity to 1.
     
  12. Offline

    Sphax

    Great ! :)
    Is it implemented in the last version ?
     
  13. Offline

    AOD_Batman

    Not yet. I'm working on it right now. Just fixing the last few bugs. ;)

    Released version 2.00! :) Which fixes all of your problems! Enjoy!

    Download the ZIP file for instructions on how to use the new options in General.yml. ;)

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

    Sphax

    Wonderful ! Thanks for your great work !
    About the chance : Is the chance applied for each number of loot ?

    For example, if I set 4 sulfur with 50% chances : Will I get 50% chance to get 4 sulfur or will I get 50% chance to get 1 sulfur 4 times ?

    I would prefer the second option. ;)
     
  15. Offline

    AOD_Batman

    Right now it's 50% chance to get the 4 sulfur. Though you could always just do the following:

    Code:
    "289:1:50","289:1:50","289:1:50","289:1:50"
    instead of

    Code:
    "289:4:50"
     
    Sphax likes this.
  16. Offline

    Sphax

    Ho great ! :)
     
  17. Offline

    strupan

    mm I am using 733 and with this plugin, plugin worked for a bit but stopped working completely making my mobs not drop anything at all now?

    http://pastebin.com/eEn1ZA5j is my config

    and no errors in console what so ever?

    nvm fixed it, the quotes ._.

    love this fucking plugin

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

    marinating

    The /ml command conflicts with /ml for MagicCarpet. Other than that, awesome.
     
  19. Offline

    strupan

    one suggestion.

    remove drops from mob spawners?

    i have actually seen this done before?
     
  20. Offline

    Sphax

    This plugin works pretty well and I love it!

    Here is my config if some-one is interested:
    Show Spoiler
    Code:
    world:
    #sulfur, glowstone, redstone, cookie
        Creeper: ["289:0:4:50","348:0:1:10","331:0:1:10","357:0:1:20"]
    #feather, egg, seed
        Chicken: ["288:0:4:80","344:0:1:20","295:0:1:20"]
    #leather
        Sheep: ["334:0:1:60"]
    #
        Giant: []
    #leather
        TamedWolf: ["334:0:1:50"]
    #slime ball
        Slime: ["341:0:1:100"]
    #spider-web
        Spider: ["30:0:1:80"]
    #
        Pig: []
    #sulfur, glowstone, redstone, cookie, gold apple
        ElectrifiedCreeper: ["289:0:4:60","348:0:1:20","331:0:1:20","357:0:1:30","322:0:1:10"]
    #ink sack, raw fish
        Squid: ["351:0:1:100","349:0:1:20"]
    #leather
        Wolf: ["334:0:1:50"]
    #bone, paper, slime-ball, light-green dye, redstone, leather chest, leather leggings
        Zombie: ["352:0:2:30","339:0:1:20","341:0:2:20","351:10:1:10","331:0:1:10","299:0:1:1","300:0:1:1"]
    #
        Cow: []
    #bone, arrow, bow, stick, dark-grey dye
        Skeleton: ["352:0:2:50","262:0:4:20","261:0:1:10","351:8:2:20","280:0:1:10","351:15:1:10"]
    
    #Very difficult world = more drops for some mobs
    wasteland:
        Creeper: ["0"]
        Chicken: ["0"]
        Sheep: ["0"]
        Giant: ["0"]
        TamedWolf: ["0"]
        Slime: ["0"]
        Spider: ["0"]
        Pig: []
        ElectrifiedCreeper: ["0"]
        Squid: ["0"]
        Wolf: ["0"]
    #bone, paper, slime-ball, light-green dye, redstone, leather chest, leather leggings
        Zombie: ["352:0:2:40","339:0:1:30","341:0:2:30","351:10:1:20","331:0:1:20","299:0:1:2","300:0:1:2"]
        Cow: ["0"]
    #bone, arrow, bow, stick, dark-grey dye
        Skeleton: ["352:0:2:60","262:0:4:30","261:0:1:20","351:8:2:30","280:0:1:10","351:15:1:20"]
    
    netherWorld:
    #gold sword, red dye
        PigZombie: ["283:0:1:20","351:1:1:30"]
    #sulfur, clay, white wool, red apple, diamond
        Ghast: ["289:0:2:50","337:0:1:20","35:0:1:100","260:0:1:20","264:0:1:1"]
    
     
  21. Offline

    Schlumpfpirat

    It's actually a pretty cool plugin.
    But I got a question.
    When I have for example
    Cow: ["65",298:0:1:10"]
    will the leather drop in addition of a 10 percent change to the leather helmet or does only one of both drop?
    I guess an explaining configexample would definivly cause more downloads.
     
  22. Offline

    rareshutzu

    2011-05-19 11:31:07 [SEVERE] while parsing a block mapping; expected <block end>, but found Scalar loading MobLoot v2.0 (Is it up to date?)
    while parsing a block mapping
    in "<reader>", line 2, column 5:
    Creeper: []
    ^
    expected <block end>, but found Scalar
    in "<reader>", line 30, column 8:
    - '352:0:2:25'
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:73)
    at net.mcbat.MobLoot.Config.ConfigManager.loadConfig(ConfigManager.java:36)
    at net.mcbat.MobLoot.MobLoot.onEnable(MobLoot.java:34)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    I don't get it? o.o
     
  23. Offline

    rareshutzu

    No help?..
     
  24. Offline

    Sphax

    Maybe replace quotes by double quotes ( ' by " )
    :)
     
  25. Offline

    rareshutzu

    I don't think so. I added first an item via chat in-game so it created a line with one quote. After that added other items just as the first line..
     
  26. Offline

    Sphax

    Post your full config file.
     
  27. Offline

    rareshutzu

    world:
    Creeper: []
    Chicken:
    - '288:0:5:26'
    - '352:0:2:25'
    - '344:0:1:13'
    Sheep: []
    Giant: []
    TamedWolf: []
    PigZombie: []
    Slime: []
    Spider:
    - '287:0:7:35'
    - '30:0:1:10'
    Pig:
    - '319:0:2:100'
    - '352:0:2:25'
    - '329:0:1:1'
    - '39:0:1:20'
    - '40:0:1:20'
    ElectrifiedCreeper: []
    Squid: []
    Wolf: []
    Zombie:
    - '289:0:2:15'
    - '352:0:3:20'
    - '351:15:1:25'
    Cow:
    - '334:0:2:100:
    - '352:0:2:25'
    - '296:0:3:12'
    Ghast: []
    Skeleton:
    - '352:0:6:24'
    - '261:0:1:8'
    - '262:0:3:30'
     
  28. Offline

    Schlumpfpirat

    I got a question.
    When I have for example
    Cow: ["65",298:0:1:10"]
    will the leather drop in addition of a 10 percent change to the leather helmet or does only one of both drop?
     
  29. Offline

    AOD_Batman

    Change:

    To:




    The 1xRail will drop all the time and the leather helm will also have a 10 percent chance to drop. In short, both have a chance to drop at the same time.



    I also have the thread now on watch so I will receive emails when someone replies to here. ;)
     
  30. Offline

    rareshutzu

    Dumb me.. Anyway. Thanks alot, I've made it by reseting the confing and putting drops in "[]"
     

Share This Page