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

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

  1. Offline

    SiKL0N3

    [[Decommissioned]]
     

    Attached Files:

    rooski and Suddsoppa like this.
  2. Offline

    EkadoLaryeil

    I'm getting a directory error.
     
  3. Offline

    w00kie

    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'
     
  4. Offline

    NazzyDragon

    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:
     
  5. Offline

    NazzyDragon

    Edit: Fixed it, partially. Now I am getting NPEs on mobs dying... Cannot pass event.
     
  6. Offline

    HappyPikachu

    SiKL0N3 I was able to get the plugin working using the following config.yml:

    Show Spoiler
    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.
     
  7. Offline

    NazzyDragon

    @SiKL0N3

    Multiworld support? I would enjoy seeing this

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

    HappyPikachu

  9. Offline

    Zarius

    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.
     
  10. Offline

    md_5

    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