[FUN/MECH/MISC] GreatLoot v2.1.13 - Customizable Entity Loot Tables [1.0.1-R1]

Discussion in 'Inactive/Unsupported Plugins' started by SiKL0N3, Jul 17, 2011.

  1. Offline

    SiKL0N3

    [[Decommissioned]]
     

    Attached Files:

    rooski and Suddsoppa like this.
  2. Offline

    CaiusTSM

    This is useful.
     
  3. Offline

    chilldy

    I've installed it set the permissions up and edited the config, but the server isn't recognizing the commands.
     
  4. Offline

    Dothackking

    The plugin seems to be having problems with percentages, also, can you make it /lootsenable upon starting? it says it supposedly is, but it doesn't seem to work.


    Show Spoiler
    2011-07-24 02:56:30 [SEVERE] Could not pass event ENTITY_DEATH to GreatLoot
    java.lang.NullPointerException
    at org.siklone.greatloot.GreatLootEntityListener.onEntityDeath(GreatLootEntityListener.java:43)
    at org.bukkit.plugin.java.JavaPluginLoader$56.execute(JavaPluginLoader.java:635)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:141)
    at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:436)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:726)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run
     
  5. Offline

    MatthewEB

    I'm having trouble with my config file. I've pasted it below. Any help would be appreciated.

    Code:
    onstart:
        load: 'true'
    loot:
        player:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        pigzombie:
            amounts: '1'
            lootids: '57'
            chances: '90'
            causes:
        fish:
            amounts: '1, 1, 1, 1'
            lootids: '349, 349, 352, 338'
            chances: '95, 5, 10, 5'
            causes:
        cow:
            amounts: '1, 1, 1'
            lootids: '335,335,335'
            chances: '50, 20, 5'
            causes:
        skeleton:
            amounts: '1, 1, 2, 2, 3, 1, 1, 1, 2'
            lootids: '262, 262, 262, 262, 262, 261, 352, 352, 352'
            chances: '95, 70, 50, 30, 10, 95, 70, 30'
            causes:
        creeper:
            amounts: '1, 1, 1, 1, 1, 1, 2'
            lootids: '354, 357, 263, 289, 289, 289, 289'
            chances: '1, 3, 5, 95, 70, 50, 30, 5'
            causes:
        squid:
            amounts: '1, 1, 1, 2'
            lootids: '351, 351, 351, 351, 349'
            chances: '95, 70, 50, 10, 10'
            causes:
        pig:
            amounts: '1, 1, 1, 2'
            lootids: '319, 319, 319, 319, 260'
            chances: '95, 70, 30, 5, 5, '
            causes:
        chicken:
            amounts: '1, 1, 1, 1, 2, 2, 1'
            lootids: '344, 344, 344, 288, 288, 288, 13'
            chances: '95, 60, 30, 95, 60, 30, 5'
            causes:
        ghast:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        slime:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        zombie:
            amounts: '1, 1, 2, 2, 3'
            lootids: '319, 347, 340, 352, 352, 341'
            chances: '10, 2, 2, 95, 50, 2'
            causes:
        wolf:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        sheep:
            amounts: '1, 1, 1, 2, 2, 3, 1, 1'
            lootids: '352, 319, 319, 319, 35, 35, 37, 38'
            chances: '20, 95, 70, 30, 95, 20, 5, 5'
            causes:
        spider:
            amounts: '1, 1, 2, 2'
            lootids: '344, 287, 287, 287'
            chances: '10, 95, 60, 15'
            causes:
        giant:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
    
     
  6. Offline

    Naucoo

    Just at first glans, you have some missing 'amounts' to your 'lootids' and 'chances'.

    - zombie 5, 6, 6
    - pig 4, 5, 5
    - squid 4, 5, 5
    - skeleton 9, 9, 8
    - creeper 7, 7, 8

    But your setup looks good, might use it on my server =P

    EDIT:

    Made some changes to your setup...
    Code:
    onstart:
        load: 'true'
    loot:
        player:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        pigzombie:
            amounts: '1, 1'
            lootids: '283, 320'
            chances: '5, 77'
            causes:
        fish:
            amounts: '1, 1, 1, 1'
            lootids: '349, 349, 352, 338'
            chances: '95, 5, 10, 5'
            causes:
        cow:
            amounts: '1, 1, 1'
            lootids: '334,334,335'
            chances: '79, 29, 2'
            causes:
        skeleton:
            amounts: '1, 1, 1, 1, 1'
            lootids: '262, 262, 261, 352, 352'
            chances: '75, 5, 2, 70, 6'
            causes:
        creeper:
            amounts: '1, 1, 1, 1, 1, 1'
            lootids: '354, 357, 263, 289, 289, 289'
            chances: '1, 3, 8, 95, 5, 2'
            causes:
        squid:
            amounts: '1, 1, 1, 1'
            lootids: '351, 351, 351, 349'
            chances: '95, 20, 4, 16'
            causes:
        pig:
            amounts: '1, 1, 1, 1'
            lootids: '319, 319, 319, 260'
            chances: '95, 25, 2, 16, '
            causes:
        chicken:
            amounts: '1, 1, 1, 1'
            lootids: '344, 288, 288, 13'
            chances: '50, 11, 95, 27,'
            causes:
        ghast:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        slime:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        zombie:
            amounts: '1, 1, 2, 2, 1, 1'
            lootids: '319, 347, 340, 352, 352, 341'
            chances: '10, 2, 2, 95, 5, 2'
            causes:
        wolf:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        sheep:
            amounts: '1, 1, 1, 1, 2, 3,'
            lootids: '352, 319, 35, 35, 37, 38'
            chances: '17, 53, 95, 16, 19, 19'
            causes:
        spider:
            amounts: '1, 1, 1, 2'
            lootids: '344, 287, 287, 287'
            chances: '9, 95, 21, 3'
            causes:
        giant:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
      
     
  7. Offline

    MatthewEB

    Lol, thank you. Was a little too sleepy last night I guess.
     
  8. Offline

    Naucoo

    Looks that way... But I hope you got it running now =P
     
  9. Offline

    Undectectable

    Please tell me this will be here for 1.8 please :p
     
  10. Offline

    darkaura12

    can you update this for Endermen, Blazes, Cave Spiders, Lava slimes
     
  11. Offline

    Suddsoppa

    Gotta say that this is one of the best plugins evar!! It means a lot to my server :D
    THANK YOU!
     
  12. Offline

    ErMurazor69

    tried to set a drop for gold nuggets (item id 371) and it says:

    [INFO] [GreatLoot] Illegal item id detected in config.yml!
    [INFO] Item ID invalid for entity: "whatever I kill"

    seems to work with other things like sponges for squid etc.... just not gold nuggets (possibly all new blocks after 1.8.1 have yet to test any others). I use nuggets as money with iConomy so need these to drop on monster kills. Also any way you can add spawners and angry wolves? (don't like none angry wolves to drop cash).
     
  13. Offline

    ErMurazor69

    Thank you for the prompt repair, nuggets are dropping perfectly now, I really appreciate it, now any chance we can get drops for destroying a spawner :) say in the next version?
     
  14. Offline

    Suddsoppa

    Oh by the way
    It appears that magma cubes drop same items as slimes, is there anyway to fix this?:confused:
     
  15. Offline

    edsvenbla

    i cant get it working tried to get zombies droping feters but they just drop roten flesh??
     
  16. Offline

    Rajang

    Great plugin! but for some reason the mobs wont drop the specified items in the my config

    my config

    Show Spoiler
    Code:
    onstart:
        load: 'true'
    loot:
        player:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        pigzombie:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        fish:
            amounts: 1,1
            lootids: 318,349
            chances: 10,10
            causes:
        cow:
            amounts: "0"
            lootids: "0"
            chances: "0"
            causes:
        skeleton:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        creeper:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        squid:
            amounts: 1, 1
            lootids: 361,626
            chances: 95, 20
            causes:
        pig:
            amounts: '0'
           lootids: '0'
            chances: '0'
            causes: '0'
        chicken:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        ghast:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        slime:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        zombie:
            amounts:  1
            lootids: 266
            chances: 10
            causes:
        wolf:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        sheep:
            amounts: 1
            lootids: 360
            chances: 17
            causes:
        spider:
            amounts: 1
            lootids: 367
            chances: 95
            causes:
        giant:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:


    any help would really be appreciated!

    it still isnt working :/ i had a new config and and followed ur instructions

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

    Suddsoppa

    Thank's a lot!!:D
     
  18. Offline

    Rajang

    i got this while startting the server with only ur plugin D:
    Show Spoiler

    2011-12-28 11:26:01 [INFO] [GreatLoot] version 1.3.1 has been enabled!
    2011-12-28 11:26:01 [SEVERE] mapping values are not allowed here
    in "<reader>", line 63, column 15:
    causes:
    ^

    2011-12-28 11:26:01 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:733)
    2011-12-28 11:26:01 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:305)
    2011-12-28 11:26:01 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
    2011-12-28 11:26:01 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563)
    2011-12-28 11:26:01 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    2011-12-28 11:26:01 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    2011-12-28 11:26:01 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-12-28 11:26:01 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-12-28 11:26:01 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    2011-12-28 11:26:01 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-12-28 11:26:01 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    2011-12-28 11:26:01 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    2011-12-28 11:26:01 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    2011-12-28 11:26:01 [SEVERE] at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    2011-12-28 11:26:01 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
    2011-12-28 11:26:01 [SEVERE] at org.bukkit.util.config.Configuration.load(Configuration.java:89)
    2011-12-28 11:26:01 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.getConfiguration(JavaPlugin.java:118)
    2011-12-28 11:26:01 [SEVERE] at org.siklone.greatloot.GreatLoot.load(GreatLoot.java:20)
    2011-12-28 11:26:01 [SEVERE] at org.siklone.greatloot.GreatLoot.onEnable(GreatLoot.java:34)
    2011-12-28 11:26:01 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    2011-12-28 11:26:01 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
    2011-12-28 11:26:01 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    2011-12-28 11:26:01 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
    2011-12-28 11:26:01 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
    2011-12-28 11:26:01 [SEVERE] at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
    2011-12-28 11:26:01 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
    2011-12-28 11:26:01 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
    2011-12-28 11:26:01 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    2011-12-28 11:26:01 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2011-12-28 11:26:01 [SEVERE] Error occurred while enabling GreatLoot v1.3.1 (Is it up to date?): null
    java.lang.NullPointerException
    at org.siklone.greatloot.GreatLoot.read(GreatLoot.java:277)
    at org.siklone.greatloot.GreatLoot.onEnable(GreatLoot.java:165)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2011-12-28 11:26:01 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-12-28 11:26:01 [INFO] Done (0.313s)! For help, type "help" or "?"
    Show Spoiler


    it still dosent work but i got a different log this time

    Show Spoiler
    Code:
     [SEVERE] while scanning for the next token
    found character     '\t' that cannot start any token
     in "<reader>", line 60, column 1:
            amounts:1
        ^
    
    2011-12-28 15:43:48 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:358)
    2011-12-28 15:43:48 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
    2011-12-28 15:43:48 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:591)
    2011-12-28 15:43:48 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    2011-12-28 15:43:48 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    2011-12-28 15:43:48 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:133)
    2011-12-28 15:43:48 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    2011-12-28 15:43:48 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-12-28 15:43:48 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    2011-12-28 15:43:48 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-12-28 15:43:48 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    2011-12-28 15:43:48 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    2011-12-28 15:43:48 [SEVERE]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    2011-12-28 15:43:48 [SEVERE]     at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    2011-12-28 15:43:48 [SEVERE]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
    2011-12-28 15:43:48 [SEVERE]     at org.bukkit.util.config.Configuration.load(Configuration.java:89)
    2011-12-28 15:43:48 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.getConfiguration(JavaPlugin.java:118)
    2011-12-28 15:43:48 [SEVERE]     at org.siklone.greatloot.GreatLoot.load(GreatLoot.java:20)
    2011-12-28 15:43:48 [SEVERE]     at org.siklone.greatloot.GreatLoot.onEnable(GreatLoot.java:34)
    2011-12-28 15:43:48 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    2011-12-28 15:43:48 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
    2011-12-28 15:43:48 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    2011-12-28 15:43:48 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
    2011-12-28 15:43:48 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
    2011-12-28 15:43:48 [SEVERE]     at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
    2011-12-28 15:43:48 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
    2011-12-28 15:43:48 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
    2011-12-28 15:43:48 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    2011-12-28 15:43:48 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2011-12-28 15:43:48 [SEVERE] Error occurred while enabling GreatLoot v1.3.1 (Is it up to date?): null
    java.lang.NullPointerException
        at org.siklone.greatloot.GreatLoot.read(GreatLoot.java:277)
        at org.siklone.greatloot.GreatLoot.onEnable(GreatLoot.java:165)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)






    config

    Show Spoiler
    Code:
    onstart:
    load: 'false'
    loot:
    player:
    amounts:
    lootids:
    chances:
    causes:
    pigzombie:
    amounts:
    lootids:
    chances:
    causes:
    fish:
    amounts:
    lootids:
    chances:
    causes:
    magmacube:
    amounts:
    lootids:
    chances:
    causes:
    cow:
    amounts:
    lootids:
    chances:
    causes:
    enderman:
    amounts:
    lootids:
    chances:
    causes:
    villager:
    amounts:
    lootids:
    chances:
    causes:
    skeleton:
    amounts:
    lootids:
    chances:
    causes:
    blaze:
    amounts:
    lootids:
    chances:
    causes:
    chicken:
    amounts:
    lootids:
    chances:
    causes:
    slime:
    amounts:
    lootids:
    chances:
    causes:
    zombie:
    amounts:1
    lootids:266
    chances:50
    causes:
    cavespider:
    amounts:
    lootids:
    chances:
    causes:
    spider:
    amounts:
    lootids:
    chances:
    causes:
    sheep:
    amounts:
    lootids:
    chances:
    causes:
    mushroomcow:
    amounts:
    lootids:
    chances:
    causes:
    creeper:
    amounts:
    lootids:
    chances:
    causes:
    squid:
    amounts:
    lootids:
    chances:
    causes:
    pig:
    amounts:
    lootids:
    chances:
    causes:
    ghast:
    amounts:
    lootids:
    chances:
    causes:
    wolf:
    amounts:
    lootids:
    chances:
    causes:
    players:
    
    snowman:
    amounts:
    lootids:
    chances:
    causes:
    silverfish:
    amounts:
    lootids:
    chances:
    causes:
    giant:
    amounts:
    lootids:
    chances:
    causes:
    


    Forgive me im im being a pest

    I think i finally got it working with this config

    Show Spoiler

    Code:
    onstart:
        load: 'true'
    loot:
        player:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        pigzombie:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        fish:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        magmacube:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        cow:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        enderman:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        villager:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        skeleton:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        blaze:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        chicken:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        slime:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        zombie:
            amounts: 1
            lootids: 266
            chances: 50
            causes:
        cavespider:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        spider:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        sheep:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        mushroomcow:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        creeper:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        squid:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        pig:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        ghast:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        wolf:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        players:
            §9Aela§f: true
            cc: true
            Aela: true
        snowman:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        silverfish:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        giant:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
    


    but however this error showed up whenever a zombie dies :'(

    Show Spoiler

    2011-12-28 23:09:49 [SEVERE] Could not pass event ENTITY_DEATH to GreatLoot
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
    at org.siklone.greatloot.GreatLootEntityListener.onEntityDeath(GreatLootEntityListener.java:137)
    at org.bukkit.plugin.java.JavaPluginLoader$65.execute(JavaPluginLoader.java:718)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:305)
    at net.minecraft.server.EntityLiving.dropDeathLoot(EntityLiving.java:631)
    at net.minecraft.server.EntityLiving.die(EntityLiving.java:606)
    at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:502)
    at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:44)
    at net.minecraft.server.EntityHuman.f(EntityHuman.java:794)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:916)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)


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

    Rajang

    Thank you sooo much its finally working!
     
  20. Offline

    Eogen

    I am having a problem with GreatLoot, in that I always get a "[INFO] [GreatLoot] You must configure the server first! Change the config.yml file in your '[server]/plugins/GreatLoot' directory accordingly and restart to enable this plugin!" error.

    During first run, a config.yml is created, but after restart, I still get that error. Be it with my config file, or the default-created one.

    I can say that it is reading the "onstart" value, based on the server startup, and it is appending a 'players' section with usernames in them. So it can see the file. What do I need to include to make it read the file as 'configured'?
    Code:
    loot:
        pigzombie:
            amounts: '1, 1'
            lootids: '283, 320'
            chances: '5, 77'
            causes:
        fish:
            amounts: '1, 1, 1, 1'
            lootids: '349, 349, 352, 338'
            chances: '95, 5, 10, 5'
            causes:
        cow:
            amounts: '1, 1, 1'
            lootids: '334,334,335'
            chances: '79, 29, 2'
            causes:
        skeleton:
            amounts: '1, 1, 1, 1, 1'
            lootids: '262, 262, 261, 352, 352'
            chances: '75, 5, 2, 70, 6'
            causes:
        creeper:
            amounts: '1, 1, 1, 1, 1, 1'
            lootids: '354, 357, 263, 289, 289, 289'
            chances: '1, 3, 8, 95, 5, 2'
            causes:
        squid:
            amounts: '1, 1, 1, 1'
            lootids: '351, 351, 351, 349'
            chances: '95, 20, 4, 16'
            causes:
        pig:
            amounts: '1, 1, 1, 1'
            lootids: '319, 319, 319, 260'
            chances: '95, 25, 2, 16'
            causes:
        chicken:
            amounts: '1, 1, 1, 1'
            lootids: '344, 288, 288, 13'
            chances: '50, 11, 95, 27'
            causes:
        ghast:
            amounts: '1'
            lootids: '370'
            chances: '100'
            causes:
        zombie:
            amounts: '1, 1, 2, 2, 1, 1'
            lootids: '288, 347, 340, 352, 352, 341'
            chances: '50, 2, 2, 95, 5, 2'
            causes:
        sheep:
            amounts: '1, 1, 1, 1, 2, 3'
            lootids: '352, 319, 35, 35, 37, 38'
            chances: '17, 53, 95, 16, 19, 19'
            causes:
        spider:
            amounts: '1, 1, 1, 2'
            lootids: '344, 287, 287, 287'
            chances: '9, 95, 21, 3'
            causes:
        players:
            eogen: true
    onstart:
        load: 'true'
    
    
     
  21. Offline

    rooski

    im getting alot of errors , and as far as i can see the yml is correct.
    Code:
    onstart:
        load: 'true'
    loot:
        player:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        pigzombie:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        fish:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        magmacube:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        cow:
            amounts:'1,1,1,1'
            lootids:'363,364,352,334'
            chances:'75,25,50,100'
            causes:
        enderman:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        villager:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        skeleton:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        blaze:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        chicken:
            amounts:'1,1,1,1'
            lootids:'365,366,352,344'
            chances:'75,25,50,25'
            causes:
        slime:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        zombie:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        cavespider:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        spider:
            amounts:'1,1,1,1,1,1'
            lootids:'30,261,287,322,375,376'
            chances:'20,1,75,5,15,5'
            causes:
        sheep:
            amounts:'1'
            lootids:'35'
            chances:'100'
            causes:
        mushroomcow:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        mobspawner:
            amounts:'0'
            lootids:'0'
            chances:'0'
        creeper:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        squid:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        pig:
            amounts:'2,1'
            lootids:'320,352'
            chances:'100,10'
            causes:
        ghast:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        tntprimed:
            amounts:'0'
            lootids:'0'
            chances:'0'
        wolf:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        players:
        snowman:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        silverfish:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
        giant:
            amounts:'0'
            lootids:'0'
            chances:'0'
            causes:
    
    here is the error log.
    Code:
    >reload greatloot
    18:48:09 [INFO] [GreatLoot] 2.1.13 has been disabled!
    18:48:09 [INFO] [GreatLoot] version 2.1.13 has been enabled!
    18:48:09 [SEVERE] mapping values are not allowed here
     in "<reader>", line 8, column 15:
                causes:
                      ^
    
    18:48:09 [SEVERE]       at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:733)
    18:48:09 [SEVERE]       at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:305)
    18:48:09 [SEVERE]       at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
    18:48:09 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563)
    18:48:09 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    18:48:09 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    18:48:09 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    18:48:09 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    18:48:09 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    18:48:09 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    18:48:09 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    18:48:09 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    18:48:09 [SEVERE]       at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    18:48:09 [SEVERE]       at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    
    18:48:09 [SEVERE]       at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
    18:48:09 [SEVERE]       at org.bukkit.util.config.Configuration.load(Configuration.java:92)
    18:48:09 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.getConfiguration(JavaPlugin.java:117)
    18:48:09 [SEVERE]       at org.siklone.greatloot.GreatLoot.load(GreatLoot.java:26)
    18:48:09 [SEVERE]       at org.siklone.greatloot.GreatLoot.onEnable(GreatLoot.java:40)
    18:48:09 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:228)
    18:48:09 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:970)
    18:48:09 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    18:48:09 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
    18:48:09 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
    18:48:09 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:436)
    18:48:09 [SEVERE]       at org.bukkit.Bukkit.reload(Bukkit.java:187)
    18:48:09 [SEVERE]       at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    18:48:09 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    18:48:09 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
    18:48:09 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:374)
    18:48:09 [SEVERE]       at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:564)
    18:48:09 [SEVERE]       at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:541)
    18:48:09 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    18:48:09 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    18:48:09 [SEVERE] Error occurred while enabling GreatLoot v2.1.13 (Is it up to date?): null
    java.lang.NullPointerException
            at org.siklone.greatloot.GreatLoot.read(GreatLoot.java:315)
            at org.siklone.greatloot.GreatLoot.onEnable(GreatLoot.java:153)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:228)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:970)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:436)
            at org.bukkit.Bukkit.reload(Bukkit.java:187)
            at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:374)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:564)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:541)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    18:48:09 [INFO] Server permissions file permissions.yml is empty, ignoring it
    18:48:09 [INFO] Reload complete.
    
    also how do we specify a block like colored wool , that is 35:2 , do we just write it like that , and for the percentages can we use decimals , like .05% ?
     
  22. Offline

    gunblast

    Hello! Your plugin is excellent! I run a post-doomsday server so I was trying to use your plugin to make mobs drop normally unobtainable items in my world, such as sugarcane. But, I have recieved some errors in the console and i was wondering if you could help me fix them.

    CONSOLE:
    30.12 18:15:17 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    30.12 18:15:17 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    30.12 18:15:17 [Server] INFO at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
    30.12 18:15:17 [Server] INFO at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
    30.12 18:15:17 [Server] INFO at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
    30.12 18:15:17 [Server] INFO at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
    30.12 18:15:17 [Server] INFO at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
    30.12 18:15:17 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    30.12 18:15:17 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
    30.12 18:15:17 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    30.12 18:15:17 [Server] INFO at org.siklone.greatloot.GreatLoot.onEnable(GreatLoot.java:153)
    30.12 18:15:17 [Server] INFO at org.siklone.greatloot.GreatLoot.read(GreatLoot.java:315)
    30.12 18:15:17 [Server] INFO java.lang.NullPointerException
    30.12 18:15:17 [Server] SEVERE Error occurred while enabling GreatLoot v2.1.13 (Is it up to date?): null
    30.12 18:15:17 [Server] SEVERE at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    30.12 18:15:17 [Server] SEVERE at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    30.12 18:15:17 [Server] SEVERE at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
    30.12 18:15:17 [Server] SEVERE at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
    30.12 18:15:17 [Server] SEVERE at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
    30.12 18:15:17 [Server] SEVERE at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
    30.12 18:15:17 [Server] SEVERE at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
    30.12 18:15:17 [Server] SEVERE at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    30.12 18:15:17 [Server] SEVERE at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
    30.12 18:15:17 [Server] SEVERE at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    30.12 18:15:17 [Server] SEVERE at org.siklone.greatloot.GreatLoot.onEnable(GreatLoot.java:40)
    30.12 18:15:17 [Server] SEVERE at org.siklone.greatloot.GreatLoot.load(GreatLoot.java:26)
    30.12 18:15:17 [Server] SEVERE at org.bukkit.plugin.java.JavaPlugin.getConfiguration(JavaPlugin.java:118)
    30.12 18:15:17 [Server] SEVERE at org.bukkit.util.config.Configuration.load(Configuration.java:89)
    30.12 18:15:17 [Server] SEVERE at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
    30.12 18:15:17 [Server] SEVERE at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    30.12 18:15:17 [Server] SEVERE at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    30.12 18:15:17 [Server] SEVERE at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    30.12 18:15:17 [Server] SEVERE at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    30.12 18:15:17 [Server] SEVERE at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    30.12 18:15:17 [Server] SEVERE at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    30.12 18:15:17 [Server] SEVERE at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    30.12 18:15:17 [Server] SEVERE at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    30.12 18:15:17 [Server] SEVERE at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    30.12 18:15:17 [Server] SEVERE at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    30.12 18:15:17 [Server] SEVERE at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    30.12 18:15:17 [Server] SEVERE at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    30.12 18:15:17 [Server] SEVERE at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575)
    30.12 18:15:17 [Server] INFO ^
    30.12 18:15:17 [Server] INFO chances: '50, 15'
    30.12 18:15:17 [Server] INFO in "<reader>", line 101, column 19:
    30.12 18:15:17 [Server] INFO expected <block end>, but found Scalar
    30.12 18:15:17 [Server] INFO ^
    30.12 18:15:17 [Server] INFO amounts: '3, 16'
    30.12 18:15:17 [Server] INFO in "<reader>", line 99, column 9:
    30.12 18:15:17 [Server] SEVERE while parsing a block mapping
    30.12 18:15:17 [Server] INFO [GreatLoot] version 2.1.13 has been enabled!

    Here is my config.yml:
    onstart:
    load: 'true'
    loot:
    player:
    amounts: '0'
    lootids: '0'
    chances: '0'
    causes:
    pigzombie:
    amounts: '2'
    lootids: '320'
    chances: '90'
    causes:
    fish:
    amounts: '2'
    lootids: '349'
    chances: '100'
    causes:
    magmacube:
    amounts: '5'
    lootids: '372'
    chances: '100'
    causes:
    cow:
    amounts: '4, 4'
    lootids: '364, 334'
    chances: '50, 100'
    causes:
    enderman:
    amounts: '3, 1'
    lootids: '338, 368'
    chances: '75, 100'
    causes:
    villager:
    amounts: '0'
    lootids: '0'
    chances: '0'
    causes:
    skeleton:
    amounts: '2, 4'
    lootids: '352, 337'
    chances: '100, 75'
    causes:
    blaze:
    amounts: '1, 1'
    lootids: '359, 369'
    chances: '100, 80'
    causes:
    chicken:
    amounts: '4, 4'
    lootids: '366, 288'
    chances: '50, 100'
    causes:
    slime:
    amounts: '3, 4'
    lootids: '11, 341'
    chances: '100, 100'
    causes:
    zombie:
    amounts: '2, 5'
    lootids: '367, 295'
    chances: '100, 90'
    causes:
    cavespider:
    amounts: '0'
    lootids: '0'
    chances: '0'
    causes:
    spider:
    amounts: '4, 2'
    lootids: '361, 287'
    chances: '25, 100'
    causes:
    sheep:
    amounts: '1, 16'
    lootids: '35, 332'
    chances: '100, 25'
    causes:
    mushroomcow:
    amounts: '0'
    lootids: '0'
    chances: '0'
    causes:
    mobspawner:
    amounts: '0'
    lootids: '0'
    chances: '0'
    creeper:
    amounts: '2, 1'
    lootids: '289, 120'
    chances: '100, 1'
    causes:
    squid:
    amounts: '0'
    lootids: '0'
    chances: '0'
    causes:
    pig:
    amounts: '3, 16'
    lootids: '320, 331
    chances: '50, 15'
    causes:
    ghast:
    amounts: '2, 1'
    lootids: '370, 381'
    chances: '100, 20'
    causes:
    tntprimed:
    amounts: '0'
    lootids: '0'
    chances: '0'
    wolf:
    amounts: '0'
    lootids: '0'
    chances: '0'
    causes:
    players:
    snowman:
    amounts: '0'
    lootids: '0'
    chances: '0'
    causes:
    silverfish:
    amounts: '0'
    lootids: '0'
    chances: '0'
    causes:
    giant:
    amounts: '0'
    lootids: '0'
    chances: '0'
    causes:



    If you can help me I would greatly appreciate it.
    Thanks!
    gunblast
    [PS: there is 4 spaces between mob name and amounts/lootids/etc. It copy and pasted weird]
     
  23. Offline

    Eogen

    Thank you for your prompt reply. If I understand correctly, (and since this fixed the error, I presume I am) -- the config file as autogenerated is insufficient, you not only need *all keys* defined, but all keys have to at least have a value of '0' (except for "causes" which may be blank.)

    This is why, even when I used only the generated config.yml, I still had the error. Presuming that my understanding is now correct, I would suggest that the generated file be made to have the '0' populated and not just all keys.

    One other question. When you specify a '0' for all fields, you specifying 'NO DROP'. Is there a way to specify the 'DEFAULT DROP'? Ideally, I'd like to change the ones that I want to change, and leave the rest alone...

    Thanks again for your reply.

    When I saw that while playing with my config file, it was a yml formatting error. A tab or missing spaces on one of the lines. Hard to tell in your post with formatting. Try using the "CODE" option to post them in a block. (Second button from the right)

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

    rooski

    damn , got mine working , i was missing a space between each amounts: and the '0'.
    Code:
    so its 4spaces----amounts:onespace-'0'then a return after the last comma.
     
    SiKL0N3 likes this.
  25. Offline

    Eogen

    Just for fun, here is my *WORKING* config.yml file.

    Its designed for use on a server running bloodmoon, with periodic killer-mobs, to make it a little more useful to fight the mobs, with some things that make sense, like the skeleton that is shooting you with a bow and arrow might occasionally drop a bow, or an arrow. And the double-strength zombie, having been a person, might just have a piece of leather armor, that sort of thing.

    The most of the others are attempted to be defined close to the defaults, or at least things that make sense, like the villagers dropping farm implements.

    Anyway, its might be useful, if for nothing else, an example of formatting that appears to be working.

    Code:
    onstart:
        load: 'true'
    loot:
        player:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        pigzombie:
            amounts: 1, 1
            lootids: 283, 320
            chances: 5, 77
            causes:
        fish:
            amounts: 1, 1, 1, 1
            lootids: 349, 349, 352, 338
            chances: 95, 5, 10, 5
            causes:
        magmacube:
            amounts: 1, 1
            lootids: 327, 391
            chances: 50,100
            causes:
        cow:
            amounts: 1, 1, 1
            lootids: 334,334,335
            chances: 79, 29, 2
            causes:
        enderman:
            amounts: 1, 1
            lootids: 368, 264
            chances: 100,100
            causes:
        villager:
            amounts: 1, 1, 1, 1
            lootids: 290,291, 296, 295
            chances: 100, 10, 50, 50
            causes:
        skeleton:
            amounts: 1, 1, 1, 1, 1, 1, 1, 1, 1
            lootids: 262, 262, 261, 352, 352, 302, 303, 304, 305
            chances: 75, 5, 2, 70, 6, 10, 10, 10, 10
            causes:
        blaze:
            amounts: 1, 1
            lootids: 369, 369
            chances: 100, 50
            causes:
        slime:
            amounts: 1, 1
            lootids: 341, 341
            chances: 100, 50
            causes:
        zombie:
            amounts: 1, 1, 2, 2, 1, 1, 1, 1, 1, 1
            lootids: 288, 347, 340, 352, 352, 341, 298, 299, 300, 301
            chances: 50, 2, 2, 95, 5, 2, 20, 20, 20, 20
            causes:
        cavespider:
            amounts: 1, 1, 1, 2
            lootids: 344, 287, 287, 287
            chances: 9, 95, 21, 3
            causes:
        spider:
            amounts: 1, 1, 1, 2
            lootids: 344, 287, 287, 287
            chances: 9, 95, 21, 3
            causes:
        sheep:
            amounts: 1, 1, 1, 1, 2, 3
            lootids: 352, 319, 35, 35, 37, 38
            chances: 17, 53, 95, 16, 19, 19
            causes:
        mushroomcow:
            amounts: 2, 1, 2, 1, 2
            lootids: 282, 334, 334, 363, 363
            chances: 100, 100, 50, 100, 50
            causes:
        mobspawner:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        creeper:
            amounts: 1, 1, 1, 1, 1, 1
            lootids: 354, 357, 263, 289, 289, 289
            chances: 1, 3, 8, 95, 5, 2
            causes:
        squid:
            amounts: 1, 1, 1, 1
            lootids: 351, 351, 351, 349
            chances: 95, 20, 4, 16
            causes:
        pig:
            amounts: 1, 1, 1, 1
            lootids: 319, 319, 319, 260
            chances: 95, 25, 2, 16
            causes:
        ghast:
            amounts: '1'
            lootids: '370'
            chances: '100'
            causes:
        chicken:
            amounts: 1, 1, 1, 1
            lootids: 344, 288, 288, 13
            chances: 50, 11, 95, 27
            causes:
        tntprimed:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        wolf:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        players:
    snowman:
            amounts: 10, 2, 3, 2
            lootids: 332, 332, 352, 361
            chances: 100, 50, 10, 25
            causes:
        silverfish:
            amounts: 1, 1
            lootids: 349, 349
            chances: 100, 25
            causes:
        giant:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
    
     
    SiKL0N3 likes this.
  26. Offline

    gunblast

    Hey thanks for your help... but im still having a bit of trouble... I was wondering if you could help me again...
    Sorry for bothering you.
    gunblast
    [EDIT]: Sorry i just noticed some of the single quotation marks are missing... Il fix and see how it works.
    I just fixed and I am still getting the "could not pass entity death to greatloot' error.

    Code:
    31.12 15:26:52 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    31.12 15:26:52 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    31.12 15:26:52 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    31.12 15:26:52 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    31.12 15:26:52 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    31.12 15:26:52 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    31.12 15:26:52 [Server] INFO     at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    31.12 15:26:52 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:916)
    31.12 15:26:52 [Server] INFO     at net.minecraft.server.EntityHuman.f(EntityHuman.java:794)
    31.12 15:26:52 [Server] INFO     at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:44)
    31.12 15:26:52 [Server] INFO     at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:502)
    31.12 15:26:52 [Server] INFO     at net.minecraft.server.EntityLiving.die(EntityLiving.java:606)
    31.12 15:26:52 [Server] INFO     at net.minecraft.server.EntitySpider.dropDeathLoot(EntitySpider.java:136)
    31.12 15:26:52 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:305)
    31.12 15:26:52 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    31.12 15:26:52 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    31.12 15:26:52 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$65.execute(JavaPluginLoader.java:718)
    31.12 15:26:52 [Server] INFO     at org.siklone.greatloot.GreatLootEntityListener.onEntityDeath(GreatLootEntityListener.java:185)
    31.12 15:26:52 [Server] INFO     at org.siklone.greatloot.GreatLoot.canPickLoot(GreatLoot.java:326)
    31.12 15:26:52 [Server] INFO java.lang.NullPointerException
    31.12 15:26:52 [Server] SEVERE Could not pass event ENTITY_DEATH to GreatLoot
    31.12 15:26:42 [Server] INFO Connected players:starkey12
    31.12 15:26:29 [Multicraft] starkey12 ran command Message of the Day
    31.12 15:26:29 [Connect] User starkey12, IP 121.44.140.227
    31.12 15:26:14 [Server] INFO Connection reset
    31.12 15:26:12 [Server] WARNING class net.minecraft.server.NetServerHandler wasn't prepared to deal with a class net.minecraft.server.Packet1Login
    31.12 15:26:12 [Server] WARNING class net.minecraft.server.NetServerHandler wasn't prepared to deal with a class net.minecraft.server.Packet1Login
    31.12 15:26:02 [Server] INFO [PLAYER_COMMAND] starkey12: /home
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.World.tickEntities(World.java:1142)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityCreeper.w_(EntityCreeper.java:72)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityMonster.w_(EntityMonster.java:31)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.w_(EntityLiving.java:297)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityMonster.d(EntityMonster.java:27)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.d(EntityLiving.java:887)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityCreature.m_(EntityCreature.java:70)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityCreeper.a(EntityCreeper.java:122)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:226)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.World.createExplosion(World.java:1523)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.Explosion.a(Explosion.java:150)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:44)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:502)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.die(EntityLiving.java:606)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.dropDeathLoot(EntityLiving.java:631)
    31.12 15:25:58 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:305)
    31.12 15:25:58 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    31.12 15:25:58 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    31.12 15:25:58 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$65.execute(JavaPluginLoader.java:718)
    31.12 15:25:58 [Server] INFO     at org.siklone.greatloot.GreatLootEntityListener.onEntityDeath(GreatLootEntityListener.java:185)
    31.12 15:25:58 [Server] INFO     at org.siklone.greatloot.GreatLoot.canPickLoot(GreatLoot.java:326)
    31.12 15:25:58 [Server] INFO java.lang.NullPointerException
    31.12 15:25:58 [Server] SEVERE Could not pass event ENTITY_DEATH to GreatLoot
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.World.tickEntities(World.java:1142)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityCreeper.w_(EntityCreeper.java:72)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityMonster.w_(EntityMonster.java:31)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.w_(EntityLiving.java:297)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityMonster.d(EntityMonster.java:27)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.d(EntityLiving.java:887)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityCreature.m_(EntityCreature.java:70)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityCreeper.a(EntityCreeper.java:122)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:226)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.World.createExplosion(World.java:1523)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.Explosion.a(Explosion.java:150)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:44)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:502)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityCreeper.die(EntityCreeper.java:91)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.die(EntityLiving.java:606)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.dropDeathLoot(EntityLiving.java:631)
    31.12 15:25:58 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:305)
    31.12 15:25:58 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    31.12 15:25:58 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    31.12 15:25:58 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$65.execute(JavaPluginLoader.java:718)
    31.12 15:25:58 [Server] INFO     at org.siklone.greatloot.GreatLootEntityListener.onEntityDeath(GreatLootEntityListener.java:185)
    31.12 15:25:58 [Server] INFO     at org.siklone.greatloot.GreatLoot.canPickLoot(GreatLoot.java:326)
    31.12 15:25:58 [Server] INFO java.lang.NullPointerException
    31.12 15:25:58 [Server] SEVERE Could not pass event ENTITY_DEATH to GreatLoot
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.World.tickEntities(World.java:1142)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityCreeper.w_(EntityCreeper.java:72)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityMonster.w_(EntityMonster.java:31)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.w_(EntityLiving.java:297)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityMonster.d(EntityMonster.java:27)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.d(EntityLiving.java:887)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityCreature.m_(EntityCreature.java:70)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityCreeper.a(EntityCreeper.java:122)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:226)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.World.createExplosion(World.java:1523)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.Explosion.a(Explosion.java:150)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntitySkeleton.damageEntity(EntitySkeleton.java:34)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:44)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:502)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntitySkeleton.die(EntitySkeleton.java:38)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.die(EntityLiving.java:606)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntitySkeleton.dropDeathLoot(EntitySkeleton.java:116)
    31.12 15:25:58 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:305)
    31.12 15:25:58 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    31.12 15:25:58 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    31.12 15:25:58 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$65.execute(JavaPluginLoader.java:718)
    31.12 15:25:58 [Server] INFO     at org.siklone.greatloot.GreatLootEntityListener.onEntityDeath(GreatLootEntityListener.java:185)
    31.12 15:25:58 [Server] INFO     at org.siklone.greatloot.GreatLoot.canPickLoot(GreatLoot.java:326)
    31.12 15:25:58 [Server] INFO java.lang.NullPointerException
    31.12 15:25:58 [Server] SEVERE Could not pass event ENTITY_DEATH to GreatLoot
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.World.tickEntities(World.java:1142)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityCreeper.w_(EntityCreeper.java:72)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityMonster.w_(EntityMonster.java:31)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.w_(EntityLiving.java:297)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityMonster.d(EntityMonster.java:27)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.d(EntityLiving.java:887)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityCreature.m_(EntityCreature.java:70)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityCreeper.a(EntityCreeper.java:122)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:226)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.World.createExplosion(World.java:1523)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.Explosion.a(Explosion.java:150)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:44)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:502)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.die(EntityLiving.java:606)
    31.12 15:25:58 [Server] INFO     at net.minecraft.server.EntityLiving.dropDeathLoot(EntityLiving.java:631)
    31.12 15:25:58 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:305)
    31.12 15:25:58 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    31.12 15:25:58 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    31.12 15:25:58 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$65.execute(JavaPluginLoader.java:718)
    31.12 15:25:58 [Server] INFO     at org.siklone.greatloot.GreatLootEntityListener.onEntityDeath(GreatLootEntityListener.java:185)
    31.12 15:25:58 [Server] INFO     at org.siklone.greatloot.GreatLoot.canPickLoot(GreatLoot.java:326)
    31.12 15:25:58 [Server] INFO java.lang.NullPointerException
    31.12 15:25:58 [Server] SEVERE Could not pass event ENTITY_DEATH to GreatLoot
    31.12 15:25:55 [Server] INFO [PLAYER_COMMAND] starkey12: /back
    31.12 15:25:54 [Disconnect] User gunblast has disconnected, reason: disconnect.quitting
    31.12 15:25:54 [Server] INFO Connection reset
    31.12 15:25:50 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    31.12 15:25:50 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    31.12 15:25:50 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    31.12 15:25:50 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    31.12 15:25:50 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    31.12 15:25:50 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    31.12 15:25:50 [Server] INFO     at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    31.12 15:25:50 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:916)
    31.12 15:25:50 [Server] INFO     at net.minecraft.server.EntityHuman.f(EntityHuman.java:794)
    31.12 15:25:50 [Server] INFO     at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:44)
    31.12 15:25:50 [Server] INFO     at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:502)
    31.12 15:25:50 [Server] INFO     at net.minecraft.server.EntityLiving.die(EntityLiving.java:606)
    31.12 15:25:50 [Server] INFO     at net.minecraft.server.EntityLiving.dropDeathLoot(EntityLiving.java:631)
    31.12 15:25:50 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:305)
    31.12 15:25:50 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    31.12 15:25:50 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    31.12 15:25:50 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$65.execute(JavaPluginLoader.java:718)
    31.12 15:25:50 [Server] INFO     at org.siklone.greatloot.GreatLootEntityListener.onEntityDeath(GreatLootEntityListener.java:185)
    31.12 15:25:50 [Server] INFO     at org.siklone.greatloot.GreatLoot.canPickLoot(GreatLoot.java:326)
    31.12 15:25:50 [Server] INFO java.lang.NullPointerException
    31.12 15:25:50 [Server] SEVERE Could not pass event ENTITY_DEATH to GreatLoot
    31.12 15:25:48 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    31.12 15:25:48 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    31.12 15:25:48 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    31.12 15:25:48 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    31.12 15:25:48 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    31.12 15:25:48 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    31.12 15:25:48 [Server] INFO     at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    31.12 15:25:48 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:916)
    31.12 15:25:48 [Server] INFO     at net.minecraft.server.EntityHuman.f(EntityHuman.java:794)
    31.12 15:25:48 [Server] INFO     at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:44)
    31.12 15:25:48 [Server] INFO     at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:502)
    31.12 15:25:48 [Server] INFO     at net.minecraft.server.EntityLiving.die(EntityLiving.java:606)
    31.12 15:25:48 [Server] INFO     at net.minecraft.server.EntitySpider.dropDeathLoot(EntitySpider.java:136)
    31.12 15:25:48 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:305)
    31.12 15:25:48 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    31.12 15:25:48 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    31.12 15:25:48 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$65.execute(JavaPluginLoader.java:718)
    31.12 15:25:48 [Server] INFO     at org.siklone.greatloot.GreatLootEntityListener.onEntityDeath(GreatLootEntityListener.java:185)
    31.12 15:25:48 [Server] INFO     at org.siklone.greatloot.GreatLoot.canPickLoot(GreatLoot.java:326)
    31.12 15:25:48 [Server] INFO java.lang.NullPointerException
    31.12 15:25:48 [Server] SEVERE Could not pass event ENTITY_DEATH to GreatLoot
    31.12 15:25:39 [Server] INFO Connected players:gunblast, starkey12
    31.12 15:25:38 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    31.12 15:25:38 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    31.12 15:25:38 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    31.12 15:25:38 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    31.12 15:25:38 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    31.12 15:25:38 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    31.12 15:25:38 [Server] INFO     at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    31.12 15:25:38 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:916)
    31.12 15:25:38 [Server] INFO     at net.minecraft.server.EntityHuman.f(EntityHuman.java:794)
    31.12 15:25:38 [Server] INFO     at net.minecraft.server.EntitySkeleton.damageEntity(EntitySkeleton.java:34)
    31.12 15:25:38 [Server] INFO     at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:44)
    31.12 15:25:38 [Server] INFO     at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:502)
    31.12 15:25:38 [Server] INFO     at net.minecraft.server.EntitySkeleton.die(EntitySkeleton.java:38)
    31.12 15:25:38 [Server] INFO     at net.minecraft.server.EntityLiving.die(EntityLiving.java:606)
    31.12 15:25:38 [Server] INFO     at net.minecraft.server.EntitySkeleton.dropDeathLoot(EntitySkeleton.java:116)
    31.12 15:25:38 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:305)
    31.12 15:25:38 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    31.12 15:25:38 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    31.12 15:25:38 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$65.execute(JavaPluginLoader.java:718)
    31.12 15:25:38 [Server] INFO     at org.siklone.greatloot.GreatLootEntityListener.onEntityDeath(GreatLootEntityListener.java:185)
    31.12 15:25:38 [Server] INFO     at org.siklone.greatloot.GreatLoot.canPickLoot(GreatLoot.java:326)
    31.12 15:25:38 [Server] INFO java.lang.NullPointerException
    31.12 15:25:38 [Server] SEVERE Could not pass event ENTITY_DEATH to GreatLoot
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:518)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.World.tickEntities(World.java:1142)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.World.playerJoinedWorld(World.java:1235)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.World.entityJoinedWorld(World.java:1253)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.EntityCreeper.w_(EntityCreeper.java:72)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.EntityMonster.w_(EntityMonster.java:31)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.EntityLiving.w_(EntityLiving.java:297)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.EntityMonster.d(EntityMonster.java:27)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.EntityLiving.d(EntityLiving.java:913)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.EntityLiving.a(EntityLiving.java:751)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.Entity.move(Entity.java:543)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.Entity.a(Entity.java:670)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.EntityLiving.b(EntityLiving.java:657)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:44)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:502)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.EntityCreeper.die(EntityCreeper.java:91)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.EntityLiving.die(EntityLiving.java:606)
    31.12 15:25:33 [Server] INFO     at net.minecraft.server.EntityLiving.dropDeathLoot(EntityLiving.java:631)
    31.12 15:25:33 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:305)
    31.12 15:25:33 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    31.12 15:25:33 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    31.12 15:25:33 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$65.execute(JavaPluginLoader.java:718)
    31.12 15:25:33 [Server] INFO     at org.siklone.greatloot.GreatLootEntityListener.onEntityDeath(GreatLootEntityListener.java:185)
    31.12 15:25:33 [Server] INFO     at org.siklone.greatloot.GreatLoot.canPickLoot(GreatLoot.java:326)
    31.12 15:25:33 [Server] INFO java.lang.NullPointerException
    31.12 15:25:33 [Server] SEVERE Could not pass event ENTITY_DEATH to GreatLoot
    31.12 15:25:31 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    31.12 15:25:31 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    31.12 15:25:31 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    31.12 15:25:31 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    31.12 15:25:31 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    31.12 15:25:31 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    31.12 15:25:31 [Server] INFO     at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    31.12 15:25:31 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:916)
    31.12 15:25:31 [Server] INFO     at net.minecraft.server.EntityHuman.f(EntityHuman.java:794)
    31.12 15:25:31 [Server] INFO     at net.minecraft.server.EntitySkeleton.damageEntity(EntitySkeleton.java:34)
    31.12 15:25:31 [Server] INFO     at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:44)
    31.12 15:25:31 [Server] INFO     at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:502)
    31.12 15:25:31 [Server] INFO     at net.minecraft.server.EntitySkeleton.die(EntitySkeleton.java:38)
    31.12 15:25:31 [Server] INFO     at net.minecraft.server.EntityLiving.die(EntityLiving.java:606)
    31.12 15:25:31 [Server] INFO     at net.minecraft.server.EntitySkeleton.dropDeathLoot(EntitySkeleton.java:116)
    31.12 15:25:31 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:305)
    31.12 15:25:31 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    
    Code:
    onstart:
        load: 'true'
    loot:
        player:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        pigzombie:
            amounts: '2'
            lootids: '320'
            chances: '90'
            causes:
        fish:
            amounts: '2'
            lootids: '349'
            chances: '100'
            causes:
        magmacube:
            amounts: '5'
            lootids: '372'
            chances: '100'
            causes:
        cow:
            amounts: 4, 4
            lootids: 364, 334
            chances: 50, 100
            causes:
        enderman:
            amounts: 3, 1
            lootids: 338, 368
            chances: 75, 100
            causes:
        villager:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        skeleton:
            amounts: 2, 4
            lootids: 352, 337
            chances: 100, 75
            causes:
        blaze:
            amounts: 1, 1
            lootids: 359, 369
            chances: 100, 80
            causes:
        chicken:
            amounts: 4, 4
            lootids: 366, 288
            chances: 50, 100
            causes:
        slime:
            amounts: 3, 4
            lootids: 11, 341
            chances: 100, 100
            causes:
        zombie:
            amounts: 2, 5
            lootids: 367, 295
            chances: 100, 90
            causes:
        cavespider:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        spider:
            amounts: 4, 2
            lootids: 361, 287
            chances: 25, 100
            causes:
        sheep:
            amounts: 1, 16
            lootids: 35, 332
            chances: 100, 25
            causes:
        mushroomcow:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        mobspawner:
            amounts: '0'
            lootids: '0'
            chances: '0'
        creeper:
            amounts: 2, 1
            lootids: 289, 120
            chances: 100, 1
            causes:
        squid:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        pig:
            amounts: 3, 16
            lootids: 320, 331
            chances: 50, 15
            causes:
        ghast:
            amounts: 2, 1
            lootids: 370, 381
            chances: 100, 20
            causes:
        tntprimed:
            amounts: '0'
            lootids: '0'
            chances: '0'
        wolf:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        players:
            starkey12: true
            gunblast: true
        snowman:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        silverfish:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        giant:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
    
     
  27. Offline

    Eogen

    On reading your instructions, I thought that '0' meant no drop, so I 'recreated' the default drops in my config. I have not done any empirical testing to see if it 'doubles' the drop -- I will have to pay attention.

    Yeah, that would be a good add- it would cut down on the support requests, I am sure. Were I you -- I would have the program re-write the file after load, and have it automatically populate any 'missing' mob types, or data values. This would let someone specify only the ones that they want, and not have to re-write their config file any time a new mob type gets added.

    I'd also have your program do a sanity check on the values, at load time, rather than risk blowing up with a null pointer exception, say, if they specified 5 amount values, but only 4 item types. It would be easier if your mod threw a message saying that there was a problem with the config.yml file entry for mob "X" -- rather than the generic 'you need to configure your config.yml' error.

    Thanks, once the pain of getting the config file working, and then tweaked a little, the add-on has been working great, thanks for writing it. I have really not paid attention to the 'randomness' of the drops, but I will try and make note of it, and see. It certainly has not had it been 'off' enough to notice, but as I said, I was not exactly counting.

    Thank you, I thought that enough work had gone into it that it might save some duplication of effort. Its a little 'generous' for a standard server, but when using the 'Bloodmoon' mod (http://dev.bukkit.org/server-mods/bloodmoon/) it seems about right. Bloodmoon doubles the strength of the mobs, gives the skeletons flaming arrows, quadruples the strength of the creepers, and gives the mobs the ability to break blocks, so the extra loot helps balance out the fact that you are likely to die.
     
  28. Offline

    rooski

    how can we drop color wool ? since the block is wool with a different damage value? and can we use decimals for the percentage? so say i want an item to drop at .05 rate.
     
  29. Offline

    Acreyzek

    this plugin is perfect if only i could get it working i tried with the presented cofig file but did not get the desired drops, note: i was using only your plugin please help
     
  30. Offline

    EkadoLaryeil

    I have a question, from reading your config.yml, it seems that if you put a cause that cause applies to each loot drop not a individual loot, if this is the cas then good plug-in, but not what i want on my server. I was hoping for creeper drops gunpowder/sulphur if killed normally, but if killed by lighting it drops TNT, or if skeleton is killed normally itdrops bone and arrows, but if by fire it drops bone meal, and blaze rod or something.
     

Share This Page