[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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    [FUN/MECH/MISC] GreatLoot v2.1.13 - Customizable Entity Loot Tables [1.0.1-R1]
    Version: v2.1.13 - by SiKL0N3 (Zachary Puhl) -- READ UPDATE INFO BELOW!!!

    GreatLoot is a plugin specifically designed for looting tables in Minecraft: with a bit of simple customization in a config.yml file, custom looting is quickly and seamlessly implemented on your server! There are four different options per most entities in the config file (causes, amounts, lootids, and chances), which all are defined by their names. There is an example config.yml file and explanation below.


    • Fully-customizable loot tables for specific monsters and players.
    • Option to change the CAUSE of the loot to something more exclusive (for example, ONLY dropping the loot when something dies from an entity explosion).
    • Dynamic, in-game enabling and disabling for the loot system (see the commands below).
    • Customizable drop-rates!
    • Specify drops from PvP!

    DOWNLOAD:
    Download directly!
    ---- External Download (SourceForge)


    Not the best quality, but it will suffice.

    Bug to report? Suggestions??? Post below or P.M. me!

    • /lootsenable
      • Enable the loot system in-game.
    • /lootsdisable
      • Disable the loot system in-game.

    Example 'config.yml' file:

    Code:
    onstart:
        load: 'false'
    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, 2, 3, 4
            lootids: 22, 1, 2, 4
            chances: 100, 100, 100, 100
            causes: creeper_explosion, fire
        cavespider:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        spider:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        tntprimed:
            amounts: '0'
            lootids: '0'
            chances: '0'
        mobspawner:
            amounts: '0'
            lootids: '0'
            chances: '0'
        sheep:
            amounts: 64, 64
            lootids: 2, 8
            chances: 100, 100
            causes: any_attack
        mushroomcow:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        creeper:
            amounts: '1, 64'
            lootids: '23, 10'
            chances: '100, 50'
            causes: creeper_explosion
        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:
            SiKL0N3: true
            SiKL0N: false
        snowman:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        silverfish:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        giant:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
    
    As you can see, there are three required sub-categories for each monster; the 'causes' sub-category is not necessary. Without marking the 'causes' category, any death to the entity will cause it to drop its specified loot (given permission, of course). These are the allowable causes: 'fire [new], projectile [new], creeper_explosion, any_attack, pvp, drowning, suffocation, lightning, block_explosion, fall' Now, if you look at the 'creeper' category, you'll see that block #23 has a 100% chance of dropping when the creeper is killed by a creeper explosion. That doesn't necessarily mean that the creeper's self-suicide kamikaze (epic allusion to another plugin I made) will drop a block with ID #23. Also, notice there is a second ID (#10 = lava), as well as a second amount and chance that correspond to each other. This entails a 50% drop chance of 64 lava blocks when a creeper dies from another creeper's explosion. Get it now? Hopefully! You may wonder what to do if you do not want the monster to drop any loot -- that's an easy fix! Just apply the '0' after the required sub-categories. That zero will mean a 0% chance to drop zero blocks of AIR (ID = 0). Simple? Cool! :p If not, don't rage :mad:, just post below and I'll explain it a bit more!

    UPDATE [see config.yml file above in correspondence to this section] for 2.1.13:
    Make sure you delete your old config.yml file when you get a new version!

    Some new elements have been faceted directly into the heart of this plugin:
    • 'players' node (a per-player parent node)
      • true = player can get loot from killing the entity via the selected method.
      • false = player cannot get loot from killing the entity via the selected method.
      • When entities die and drop loot, they will NOT drop loot if there is a player who cannot loot (has false in their loots.players.[playername] node) within a ten-unit three-dimensional (x,y,z) radius of the entity at its death location. If player X has true in their node and player Y has false, and if player X is killing something for player Y and expecting to get the loot for Y while Y is standing right next to the entity as it dies, NO LOOT WILL DROP. Hopefully, I have a competent downloading population with the intellect to comprehend what I just said, and not ask, "HERP DERP y do my lootz no drop DRPP"
    • New entities to write loot tables for.
    • Commands actually work now.
    • TNTPrimed entity (get drops from TNT after it ignites) is now working.
    • Mob_Spawner blocks can be configured for loot
    • NOTE: TNTPrimed and Mob_Spawner entities do not have any affiliated 'causes' category; they will drop whatever is specified based on 'chances' only, and not based on the 'causes' node.
    • When creeper entities die by explosions, they actually drop loot now (depending on cause)!
    • Bye-bye Permissions (no more co-dependency).
    • 'onstart.load' node is now functional. It controls whether or not loot is enabled/disabled upon starting the server.
    • New causes: fire and projectile (EXACTLY WHAT THEY SAY).

    Version 2.1.13:
    • Added MOB_SPAWNER and TNTPrimed entities to the loot table configuration.
    • Creepers that die by their own explosion will now drop loot, based on configuration.
    • Fixed MagmaCube errors causing their inheritance to make them drop Slime items. The only differentiation that was (and could even be) made was using what world-environment the entity is in. If a MagmaCube dies, the world-environment is checked for Environment.NETHER, versus Slimes being Environment.NORMAL. Ergo, Slimes will drop loot anytime, but MagmaCubes should only drop their own loot in the NETHER Environment. This, in theory, should work. :)
    Version 1.3.1:
    • Added item IDs for 1.6.6 to 1.0.1.
    • See UPDATES section above for more!
    Version 1.2.18:
    • Command system was corrected; now functional.
    • New entities.
    • Permissions compatibility removed (too much hassle; rather implement my own system)
    • See above (UPDATES) section for more details.
    Version 0.0.1:
    • Initial Release and coding. NOT bug-proof, but close to it!

    This post has been edited 9 times. It was last edited by SiKL0N3 Dec 28, 2011.
    rooski and Suddsoppa like this.
  2.  
  3. Offline

    Rajang

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    it still dosent work but i got a different log this time

    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

    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

    This post has been edited 5 times. It was last edited by Rajang Dec 28, 2011.
  4. Offline

    SiKL0N3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    It's quite alright -- I really want you to get this working! :)

    Anyway, I see multiple things wrong with your config.yml! There are no spaces indenting child nodes, such as the first one (onstart.load), for example; it should be:

    Code:
    onstart:
        load: 'false'
    
    ... whereas you have:

    Code:
    onstart:
    load: 'false'
    
    See the difference? You NEED four spaces before the child node's name. I suggest you look up a tutorial on config.yml files and YAML formatting to really get a feel for it.

    Also, your console error states that it found a '\t' character while searching for the next token/node -- in other words, it found another {TAB} character, which YAML files really dislike (\t is an escape character for {TAB})! Anywhere where you happened to enter a {TAB} character, REMOVE IT AND REPLACE IT WITH FOUR (4) SPACES. :p

    And, additionally (I know it's a ton of work), but you need to put a zero (0) surrounded by single-quotes (apostrophes --> ') in front of every node, excluding [entity].causes and the root nodes.

    Have you looked at my exemplification of a pristine GreatLoot config.yml file? It's right in the first post for your convenience, and it's a handy reference tool! :D

    This post has been edited 1 time. It was last edited by SiKL0N3 Dec 28, 2011.
  5. Offline

    Rajang

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I think i finally got it working with this config


    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 :'(


    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)

    This post has been edited 1 time. It was last edited by Rajang Dec 28, 2011.
  6. Offline

    SiKL0N3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Try making the "Zombies" portion this:

    Code:
        zombie:
             amounts: '1'
             lootids: '266'
             chances: '50'
             causes:
    
    ... and see what happens. :) I'm taking that guess before I go in-depth about that stack-trace and find the error's source. Usually, when you only have one value for a certain node and you're typing numbers, they're cast as Integer variables when they are read; however, when you start to add more, you no longer need the single-quotations to identify it as a String variable, because the delimiting commas do that for you. :D

    This post has been edited 3 times. It was last edited by SiKL0N3 Dec 28, 2011.
  7. Offline

    Rajang

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thank you sooo much its finally working!
  8. Offline

    SiKL0N3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    :) Glad you were successful!
  9. Offline

    Eogen

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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'
    
    

    This post has been edited 4 times. It was last edited by Eogen Dec 30, 2011.
  10. Offline

    SiKL0N3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This version isn't updated with the latest GreatLoot config.yml. :p

    There's a simple fix, though: rather than rewriting that beautiful configuration, copy all of that, and let the config.yml generate a new one. Then, the parts of the config.yml that were on there in this one (sheep, spider, zombie, etc.), just replace those sections and draw up some for the new ones, like 'enderman, mobspawner, tntprimed, silverfish, magmacube, blaze, etc!
    Either let a new config.yml get generated (with the latest GreatLoot version) and use a copy/paste method, or manually add all of the new entities you see in the example configuration above. :)
  11. Offline

    rooski

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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% ?

    This post has been edited 3 times. It was last edited by rooski Dec 30, 2011.
  12. Offline

    gunblast

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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]

    This post has been edited 1 time. It was last edited by gunblast Dec 31, 2011.
  13. Offline

    Eogen

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.

    This post has been edited 2 times. It was last edited by Eogen Dec 31, 2011.
  14. Offline

    Eogen

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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)
  15. Offline

    rooski

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.

    This post has been edited 2 times. It was last edited by rooski Dec 31, 2011.
    SiKL0N3 likes this.
  16. Offline

    Eogen

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  17. Offline

    SiKL0N3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Code:
        pig:
            amounts: '3, 16'
            lootids: '320, 331
            chances: '50, 15'
            causes:
    
    Look at your lootids for that section -- it appears to me that you're missing your terminating single-quote (') on that string. That, uh, usually messes MANY things up when configuring your plugin. :)
    Try placing another apostrophe on the other side! You should have this:
    Code:
            lootids: '320, 331'
    
    If that doesn't work, come back one more time with another report, and I will continue searching for the cause of this error.

    This post has been edited 3 times. It was last edited by SiKL0N3 Dec 31, 2011.
  18. Offline

    SiKL0N3

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm not entirely sure I'm correctly understanding your request! :confused: Well, about the default drops -- I thought defaults (for example, zombie flesh) still drop alongside the plugin's drops! When you ascribe a '0' value to a node, it doesn't (shouldn't) hinder the entity from dropping loot that it already would; rather, it becomes an unseen Material.AIR (block ID #0) block-type that 'drops' alongside all materials that are the default for Minecraft.
    And, yes, I plan on creating a default config.yml with '0' values in every requisite node, so the number of problems people are having will begin to dwindle within the time the next few updates are released!

    Additionally, I'm elated to read that you were successful in enabling it! And now, I'm going to poll you! :D As an opinionated and respectful user of this plugin, how accurate do you think the percentages are when determining an item's chance to drop?

    EDIT: Oh, I neglected to mention my awe and enchantment when I saw your config.yml exemplification! That is flawless, and a great reference tool for any user having configuration issues!

    This post has been edited 2 times. It was last edited by SiKL0N3 Dec 31, 2011.
  19. Offline

    gunblast

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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:
    

    This post has been edited 2 times. It was last edited by gunblast Jan 1, 2012.
  20. Offline

    Eogen

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  21. Offline

    rooski

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  22. Offline

    Acreyzek

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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
  23. Offline

    EkadoLaryeil

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  24. Offline

    EkadoLaryeil

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm getting a directory error.
  25. Offline

    w00kie

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    First of all awesome plugin!

    Just had a question regarding multiple causes... is it possible to specify multiple causes for the same mob?

    For example, If I wanted cows to drop leather and raw beef when killed by a player and leather and steak when killed by fire could I write the following:

    cow:
    amounts: '1, 1, 1'
    lootids: '334, 363, 364'
    chances: '100, 100, 100'
    causes: 'pvp, pvp, fire'
  26. Offline

    NazzyDragon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What is this? :L

    Code:
    23:21:46 [INFO] [GreatLoot] Loading GreatLoot v2.1.13.
    23:21:46 [INFO] [GreatLoot] version 2.1.13 has been enabled!
    23:21:46 [SEVERE] Error occurred while enabling GreatLoot v2.1.13 (Is it up to d
    ate?): null
    java.lang.NullPointerException
            at org.siklone.greatloot.GreatLoot.onEnable(GreatLoot.java:153)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:1059)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:253)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174
    )
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:444)
            at org.bukkit.Bukkit.reload(Bukkit.java:188)
            at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:
    22)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    8)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    86)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    82)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:573)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:550)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Config:
    Code:
    onstart:
    load: 'true'
    loot:
    player:
    amounts: '2,2,2'
    lootids: '15,5,263'
    chances: '20,50,30'
    causes: 'pvp'
    pigzombie:
    amounts: '2,2,2,1'
    lootids: '372,371,367,383:57'
    chances: '19,30,50,1'
    causes:
    fish:
    amounts: '0'
    lootids: '0'
    chances: '0'
    causes:
    magmacube:
    amounts: '2,1,3,1'
    lootids: '378,372,341,383:62'
    chances: '50,30,19,1'
    causes:
    cow:
    amounts: '2,1,3,1'
     
    lootids: '298,363,334,383:92'
    chances: '30,50,19,1'
    causes:
    enderman:
    amounts: '2,2,1,2,1,1'
    lootids: '368,260,263,15,2266,383:58'
    chances: '40,10,20,24,5,1'
     
    causes:
    villager:
    amounts: '0'
    lootids: '0'
    chances: '0'
    causes:
    skeleton:
    amounts: '2,1,3,2,4,1,1'
    lootids: '352,261,262,15,280,264,383:51'
    chances: '20,20,20,18,20,1,1'
    causes:
    blaze:
    amounts: '2,3,2,3,2,1,1'
    lootids: '372,369,348,15,264,2265,383:61'
    chances: '15,30,15,10,30,1,1'
    causes:
    chicken:
    amounts: '2,2,1,1'
     
    lootids: '296,288,365,383:93'
    chances: '19,40,40,1'
    causes:
    slime:
    amounts: '2,2,2,2,2,2,2,1'
    lootids: '341,15,263,264,80,318,331,383:55'
    chances: '14,22,14,13,22,14,1'
    causes:
    zombie:
    amounts: '2,2,2,1,2,1'
    lootids: '263,15,280,264,331,383:54'
    chances: '30,20,40,3,6,1'
     
    causes:
    cavespider:
    amounts: '2,2,2,2,1,1'
    lootids: '287,275,15,280,264,383:59'
    chances: '30,30,15,23,1,1'
    causes:
    spider:
    amounts: '2,2,2,2,1,1'
    lootids: '287,275,15,280,264,383:52'
    chances: '30,30,15,23,1,1'
    causes:
    sheep:
    amounts: '2,2,1,1'
    lootids: '296,260,322,383:91'
    chances: '53,43
    ,3,1'
    causes:
    mushroomcow:
    amounts: '0'
    lootids: '0'
    chances: '0'
    causes:
    mobspawner:
    amounts: '0'
    lootids: '0'
    chances: '0'
    creeper:
    amounts: '2,3,3,1,1'
     
    lootids: '289,15,263,264,383:50'
    chances: '50,20,25,4,1'
    causes:
    squid:
    amounts: '0'
    lootids: '0'
    chances: '0'
    causes:
    pig:
    amounts: '2,2,2,1,1'
     
    lootids: '319,260,296,322,383:90'
    chances: '50,20,20,9,1'
     
    causes:
    ghast:
    amounts: '4,3,2,4,8,5,3,2,1'
    lootids: '370,372,289,264,15,14,263,383:56'
    chances: '30,10,10,10,20,6,13,1'
    causes:
    tntprimed:
    amounts: '0'
    lootids: '0'
    chances: '0'
    wolf:
    amounts: '2,1,1,1,2,2,1'
    lootids: '334,319,363,365,352,280,383:95'
    chances: '30,10,10,10,20,19,1'
    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:
  27. Offline

    NazzyDragon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Edit: Fixed it, partially. Now I am getting NPEs on mobs dying... Cannot pass event.

    This post has been edited 2 times. It was last edited by NazzyDragon Feb 11, 2012.
  28. Offline

    HappyPikachu

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @SiKL0N3 I was able to get the plugin working using the following config.yml:

    Code:
    onstart:
        load: 'true'
    loot:
        player:
            amounts: 2, 2, 2, 2
            lootids: 15, 5, 263, 339
            chances: 20, 70, 30, 35
            causes: pvp
        pigzombie:
            amounts: 2, 2, 2, 1, 1
            lootids: 372, 371, 367, 266, 319
            chances: 20, 30, 50, 1, 25
            causes:
        fish:
            amounts: 1, 1
            lootids: 338, 349
            chances: 50, 90
            causes:
        magmacube:
            amounts: 2, 1, 3
            lootids: 378, 372, 341
            chances: 50, 30, 20
            causes:
        cow:
            amounts: 2, 1, 3, 1, 1
            lootids: 298, 363, 334, 40, 348
            chances: 30, 70, 20, 40, 10
            causes:
        enderman:
            amounts: 2, 2, 1, 2, 1, 1
            lootids: 368, 260, 263, 15, 2266, 17
            chances: 40, 10, 20, 25, 5, 20
            causes:
        villager:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        skeleton:
            amounts: 2, 1, 3, 2, 4, 1, 1, 2
            lootids: 352, 261, 262, 15, 280, 264, 20, 318
            chances: 20, 20, 20, 18, 20, 5, 30, 20
            causes:
        blaze:
            amounts: 2, 3, 2, 3, 2, 1
            lootids: 372, 369, 348, 15, 264, 2265
            chances: 15, 30, 15, 10, 30, 1
            causes:
        chicken:
            amounts: 2, 2, 1, 1
            lootids: 296, 288, 365, 344
            chances: 19, 75, 40, 3
            causes:
        slime:
            amounts: 2, 2, 2, 2, 2, 2, 2
            lootids: 341, 15, 263, 264, 80, 318, 331
            chances: 14, 22, 14, 13, 22, 14, 14
            causes:
        zombie:
            amounts: 2, 2, 2, 1, 2, 2, 1, 2, 1
            lootids: 263, 15, 280, 264, 331, 4, 265, 318, 367
            chances: 30, 20, 40, 3, 6, 30, 1, 20, 70
            causes:
        cavespider:
            amounts: 2, 2, 2, 2, 1
            lootids: 287, 375, 15, 280, 264
            chances: 30, 30, 15, 23, 2
            causes:
        spider:
            amounts: 2, 2, 2, 2, 1
            lootids: 287, 375, 15, 280, 264
            chances: 30, 30, 15, 23, 2
            causes:
        sheep:
            amounts: 2, 2, 1, 1
            lootids: 296, 260, 322, 39
            chances: 53, 43, 3, 40
            causes: any_attack
        mushroomcow:
            amounts: '0'
            lootids: '0'
            chances: '0'
            causes:
        mobspawner:
            amounts: '0'
            lootids: '0'
            chances: '0'
        creeper:
            amounts: 2, 3, 3, 1
            lootids: 289, 15, 263, 264
            chances: 50, 20, 25, 5
            causes:
        squid:
            amounts: 1, 1
            lootids: 338, 349
            chances: 30, 30
            causes:
        pig:
            amounts: 2, 2, 2, 1, 1
            lootids: 319, 260, 296, 322, 329
            chances: 50, 20, 20, 9, 1
            causes:
        ghast:
            amounts: 4, 3, 2, 4, 5, 3, 2
            lootids: 370, 372, 289, 264, 15, 14, 263
            chances: 30, 10, 10, 10, 20, 10, 13
            causes:
        tntprimed:
            amounts: '0'
            lootids: '0'
            chances: '0'
        wolf:
            amounts: 2, 1, 1, 1, 2, 2, 2
            lootids: 334, 319, 363, 365, 352, 280, 332
            chances: 30, 20, 10, 15, 20, 19, 5
            causes:
        players:
            §cHappyPikachu§f§f: 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:

    Problems I experienced:

    1. Creeper exploding while using the 'creeper_explosion' cause creates the console error "[GreatLoot] Your config file is erroneous! Deactivating plugin!".
    2. The 'creeper_explosion' cause does not appear to work on Zombies (at least).
    3. The 'fire' cause does not appear to work on Zombies (at least).

    Tested CB #1846. It'd be nice if the config file error above told which line of the config was the problem.

    This post has been edited 3 times. It was last edited by HappyPikachu Feb 23, 2012.
  29. Offline

    NazzyDragon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @SiKL0N3

    Multiworld support? I would enjoy seeing this

    @HappyPikachu plugin creator appears MIA. Requesting continuation of this plugin with 1.2, if possible.
  30. Offline

    HappyPikachu

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  31. Online

    Zarius BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Or try out OtherDrops. OtherDrops allows you to specify conditions to vary drops depending on world, time of day, weather, height, damage cause and more.

    This post has been edited 1 time. It was last edited by Zarius Mar 13, 2012.
  32. Offline

    md_5

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Long time no see @SiKL0N3. You will notice that this thread has now been placed into the Inactive Plugin subforum.
    If you wish to revive this plugin, please ensure that you update and test compatibility with the latest recommended Bukkit build before reporting your original post, asking for it to be moved back to the release forum.

    Thanks for your time.
    md_5

Share This Page