# Item with quantitylilypad:weight:100item:==:org.bukkit.inventory.ItemStacktype:WATER_LILYamount:1# Item with datasquidegg:weight:75item:==:org.bukkit.inventory.ItemStacktype:MONSTER_EGGdamage:94# Item with damageleatherboots:weight:50item:==:org.bukkit.inventory.ItemStacktype:LEATHER_HELMETdamage:100# World specific (If worlds is empty, the item is available in all worlds)magmacream:weight:100worlds:[world_the_nether]item:==:org.bukkit.inventory.ItemStacktype:MAGMA_CREAM
version 0.1.5 is mc 1.8_r0.1 compatible, CraftBukkit version git-Spigot-8dc4297-a7287cb (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
here's a custom treasure config file ive made it is working, figured i should share it as im working on it. enjoy =P
due to formatting of this post the config is a bit messed up but it gives u more of an idea.
note: ( ` ) was added to help make post more legible and attempt to work around formatting issue in this post.
note2: it is not stated anywhere, weight works like this (100 greatest chance/ 1 least chance)
-
View User Profile
-
Send Message
Posted May 27, 2016version 0.1.5 is mc 1.8_r0.1 compatible, CraftBukkit version git-Spigot-8dc4297-a7287cb (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
here's a custom treasure config file ive made it is working, figured i should share it as im working on it. enjoy =P due to formatting of this post the config is a bit messed up but it gives u more of an idea.
note: ( ` ) was added to help make post more legible and attempt to work around formatting issue in this post.
note2: it is not stated anywhere, weight works like this (100 greatest chance/ 1 least chance)
lilypad: weight: 100 item: ` ==: org.bukkit.inventory.ItemStack type: WATER_LILY amount: 1 squidegg: weight: 75 item: ` ==: org.bukkit.inventory.ItemStack type: MONSTER_EGG damage: 94 leatherboots: weight: 50 item: ` ==: org.bukkit.inventory.ItemStack type: LEATHER_HELMET damage: 100 ironingot: weight: 40 item: ` ==: org.bukkit.inventory.ItemStack type: IRON_INGOT goldnugget: weight: 40 item: ` ==: org.bukkit.inventory.ItemStack type: GOLD_NUGGET redstoneblock: weight: 35 item: ` ==: org.bukkit.inventory.ItemStack type: REDSTONE_BLOCK emerald: weight: 3 item: ` ==: org.bukkit.inventory.ItemStack type: EMERALD diamond: weight: 3 item: ` ==: org.bukkit.inventory.ItemStack type: DIAMOND magmacream: weight: 100 worlds: world_the_nether item: ` ==: org.bukkit.inventory.ItemStack type: MAGMA_CREAM wheat: weight: 100 item: ` ==: org.bukkit.inventory.ItemStack type: WHEAT amount: 1 string: weight: 100 item: ` ==: org.bukkit.inventory.ItemStack type: WHEAT amount: 1 leatherhelmet: weight: 100 item: ` ==: org.bukkit.inventory.ItemStack type: LEATHER_HELMET damage: 40 amount: 1 leather: weight: 100 item: ` ==: org.bukkit.inventory.ItemStack type: LEATHER amount: 1 leatherboots: weight: 100 item: ` ==: org.bukkit.inventory.ItemStack type: LEATHER_BOOTS damage: 40 amount: 1 leatherboots: weight: 90 item: ` ==: org.bukkit.inventory.ItemStack type: LEATHER_BOOTS damage: 20 amount: 1 leatherhelmet: weight: 90 item: ` ==: org.bukkit.inventory.ItemStack type: LEATHER_HELMET damage: 20 amount: 1 goldnugget: weight: 80 item: ` ==: org.bukkit.inventory.ItemStack type: GOLD_NUGGET amount: 1