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

    Drmsi9292

    Loving it so far. Running into an issue, though. I run MultiVerse, and the world we allow mobs to roam free in results in this error message whenever something dies or is killed:

    The config for this mobworld is exactly the same as my main world, which appears to work perfectly. Any idea what's going on?
     
  3. Offline

    AOD_Batman

    I think what is going on is MobLoot is loaded before MultiVerse and when MultiVerse gets loaded it loads the other worlds. Try running the /mll command to see if it will load the other worlds. I'll look into fixing this. ;)
     
  4. Offline

    GmK

    Also, I always rename MultiVerse.jar into aMultiVerse.jar, solved 100% of my problems with plugins loading before it.
     
  5. Offline

    m5k

    Hey, excellent plugin. Could you add a permission to get the different drops, so only particular groups get the drops? I wanna allow this for my Hunter class players but make everyone else drop default things.
     
  6. Offline

    AOD_Batman

    @marinating @Drmsi9292 @GmK

    MobLoot v2.01 released.
    • Fixes MultiVerse issue.
    • Changed command names to prevent confliction with MagicCarpet. Original command names will still work if there is no conflicting plugins.
     
  7. Offline

    Drmsi9292

    Thank you very much :)
     
  8. Offline

    rareshutzu

    Is it working on 818? :D
     
  9. Offline

    AOD_Batman

    Yes, it appears to be working on 818. :D
     
  10. Offline

    rareshutzu

    Okay, thanks!
     
  11. Offline

    Oroboro

    What would be the correct config for making ghasts drop diamond everytime they are killed? I've tried killing them but they don't seem to drop anything.
    Here is my config:
    world_nether:
    Creeper: []
    Chicken: []
    Sheep: []
    Giant: []
    TamedWolf: []
    PigZombie: []
    Slime: []
    Spider: []
    Pig: []
    ElectrifiedCreeper: []
    Squid: []
    Wolf: []
    Zombie: []
    Cow: []
    Ghast:
    - '264:0:1:1'
     
  12. Offline

    AOD_Batman

    ItemID : DataID : Quanity : Chance

    Right now you have it at a 1% chance to drop.
     
  13. Offline

    telmo

    is there a way to deactivate the drops for mobs that die due to fire in daylight?
     
  14. Offline

    AOD_Batman

    Not yet.
     
  15. Offline

    Icemelt

    Exactly what we needed, thank you.
     
  16. Offline

    Phinary

    Can you make this work with the mob "Monster"?
     
  17. Offline

    AOD_Batman

    Wow, I didn't even know that was a real mob. I figured it was just a parent class. I will add the mob in the next update.
     
  18. Offline

    Phinary

    Awesome! Thanks :D

    Please add monster soon :D Its the only thing I need to make my events PERFECT

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

    baffu

    Having a problem... I get this:
    17:40:03 [SEVERE] Error occurred while enabling MobLoot v2.01 (Is it up to date?): while scanning a plain scalar; found unexpected ':'
    while scanning a plain scalar
    in "<reader>", line 2, column 15:
    Creeper: [317:1:40,86:1:10]
    ^
    found unexpected ':'
    in "<reader>", line 2, column 18:
    Creeper: [317:1:40,86:1:10]
    ^
    Please check http://pyyaml.org/wiki/YAMLColonInFlowContext for details.

    at org.yaml.snakeyaml.scanner.ScannerImpl.scanPlain(ScannerImpl.java:1582)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchPlain(ScannerImpl.java:860)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:348)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseFlowSequenceEntry.produce(ParserImpl.java:635)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseFlowSequenceFirstEntry.produce(ParserImpl.java:623)
    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.composeSequenceNode(Composer.java:203)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    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.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:82)
    at net.mcbat.MobLoot.Config.ConfigManager.loadConfig(ConfigManager.java:38)
    at net.mcbat.MobLoot.Config.ConfigManager.<init>(ConfigManager.java:29)
    at net.mcbat.MobLoot.MobLoot.onEnable(MobLoot.java:30)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:799)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:140)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)


    Im trying to run the config:
    Code:
    world:
        Creeper: [317:1:40,86:1:10]
        Chicken: [354:1:20]
        Sheep: []
        Giant: []
        TamedWolf: [86]
        PigZombie: []
        Slime: []
        Spider: [272:1:50,267:1:10,276:1:1]
        Pig: []
        ElectrifiedCreeper: [322]
        Squid: []
        Wolf: [262:10:50,303:1:50]
        Zombie: [260:1:40,322:1:1]
        Cow: [334:2:50,319:1:50]
        Ghast: []
        Skeleton: [261:1:30,226:5:70,352:2:50]
    Whats wrong?
     
  20. Offline

    AOD_Batman

    Missing quotes:
    Code:
    world:
        Creeper: ['317:1:40','86:1:10']
        Chicken: ['354:1:20']
        Sheep: []
        Giant: []
        TamedWolf: ['86']
        PigZombie: []
        Slime: []
        Spider: ['272:1:50','267:1:10','276:1:1']
        Pig: []
        ElectrifiedCreeper: ['322']
        Squid: []
        Wolf: ['262:10:50','303:1:50']
        Zombie: ['260:1:40','322:1:1']
        Cow: ['334:2:50','319:1:50']
        Ghast: []
        Skeleton: ['261:1:30','226:5:70','352:2:50']
     
  21. Offline

    baffu

    Oh you need those... I forgot.
    Also is the las number like:
    Skeleton: ['261:1:30','226:5:70','352:2:50']
    Is that a 30% chance of drop item 261?

    Great Plugin BTW Love it!

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

    AOD_Batman

    Yes, it would drop item 261x1 at a 30% chance.
     
  23. Offline

    baffu

    Great! Loving the plugin!
     
  24. Offline

    nefling

    Hi i have a little problem. My General.xml file loofks like this

    Creeper: []
    Chicken: []
    Sheep: -'264:1:100'
    Giant: []
    TamedWolf: []
    PigZombie: []
    Slime: []
    Spider: []
    Pig: -'264:1:100'
    ElectrifiedCreeper: []
    Squid: []
    Wolf: []
    Zombie: []
    Cow: -'264:1:100'
    Ghast: []


    when i kill one of those mobs there is no diamonds only a normal drop. Any sugestions what i did wrong?
    Thanks.
     
  25. Offline

    AOD_Batman

    Code:
    Creeper: []
    Chicken: []
    Sheep: ['264:1:100']
    Giant: []
    TamedWolf: []
    PigZombie: []
    Slime: []
    Spider: []
    Pig: ['264:1:100']
    ElectrifiedCreeper: []
    Squid: []
    Wolf: []
    Zombie: []
    Cow: ['264:1:100']
    Ghast: []
    
    -or-

    Code:
    Creeper: []
    Chicken: []
    Sheep:
      -'264:1:100'
    Giant: []
    TamedWolf: []
    PigZombie: []
    Slime: []
    Spider: []
    Pig:
      -'264:1:100'
    ElectrifiedCreeper: []
    Squid: []
    Wolf: []
    Zombie: []
    Cow:
      -'264:1:100'
    Ghast: []
    
    Also if something is going to only drop 1 and have a 100% drop rate you can just specify the itemID for example:

    Code:
    Creeper: []
    Chicken: []
    Sheep: ['264']
    Giant: []
    TamedWolf: []
    PigZombie: []
    Slime: []
    Spider: []
    Pig: ['264']
    ElectrifiedCreeper: []
    Squid: []
    Wolf: []
    Zombie: []
    Cow: ['264']
    Ghast: []
    [CODE]
     
  26. Offline

    nefling

    I tried all of them but its not working. There is only normal drop ;/
     
  27. Offline

    AOD_Batman

    It's working for me on build 860. My config looks like so:

    Code:
    world:
        Creeper: []
        Chicken: []
        Sheep: ['264']
        Giant: []
        TamedWolf: []
        PigZombie: []
        Slime: []
        Spider: []
        Pig: ['264']
        ElectrifiedCreeper: []
        Squid: []
        Wolf: []
        Zombie: []
        Cow: ['264']
        Ghast: []
        Skeleton: []
    
     
  28. Offline

    nefling


    Working ;]. I was missing the first line with the name of my world ;] Thanks for help
     
  29. I have some Problems, my Mobs doesnt seem to Drop Anything.
    Heres my Config:
    Any Ideas?
     
  30. Offline

    AOD_Batman

    Need to quote each individual drop and not the entire list, like so:

    Code:
    world:
      Creeper: ['264:0:1:0.1','266:0:1:0.25','265:0:1:0.5','289:0:2:75','2256:0:1:0.01','2257:0:1:0.01']
      Chicken: ['288:0:2:80','344:0:2:10']
      Sheep: []
      Giant: []
      TamedWolf: []
      PigZombie: ['264:0:1:0.1','266:0:1:0.25','265:0:1:0.5','289:0:2:45']
      Slime: []
      Spider: ['266:0:1:0.1','265:0:1:0.25','287:0:2:75']
      Pig: []
      ElectrifiedCreeper: ['264:0:1:10','266:0:1:20','265:0:1:30','289:0:5:75']
      Squid: []
      Wolf: ['319:0:1:10','320:0:1:10','349:0:1:10','350:0:1:10']
      Zombie: ['266:0:1:0.1','265:0:1:0.25','288:0:2:45','352:0:2:30','297:0:2:20']
      Cow: []
      Ghast: []
      Skeleton: ['266:0:1:0.1','265:0:1:0.25','288:0:2:10','297:0:2:20','352:0:2:80','261:0:2:1','262:0:5:60']
    
     
  31. Danke, funktioniert glaubich.
     

Share This Page