Item Configuration Examples
This page will show you a few examples of item configuration for you to get inspiration
blacksmith.yml
# The item/recipe ID
BRONZE_INGOT:
# The (MMOItems) item used for the result of the recipe
mmo-item: BRONZE_INGOT
# The workstation to use in order to craft this item
station: FORGE
# The category in which the recipe is sorted
category: MATERIAL
# The actual recipe
recipe:
# 0 is the top left corner of the 3x3 grid
0: COPPER_INGOT
1: COPPER_INGOT
2: COPPER_INGOT
# MMOItems can be used as a recipe ingredient
3: mi:TIN_INGOT
4: mi:TIN_INGOT
5: mi:TIN_INGOT
6: COPPER_INGOT
7: COPPER_INGOT
# 8 is the bottom right corner of the 3x3 grid
8: COPPER_INGOT
# How many items shoud be crafted
amount: 8
# The reagent (additional ingredient) the recipe consumes in order to work
reagent:
material: REDSTONE
amount: 3
# The required profession level to craft this item
required-level: 20
# How many profession levels to gain when crafting this item
level-gain: 0
STEEL_BLADE:
material: IRON_SWORD
display-name: "&fSteel Blade"
localized-name: "CANCEL_USE"
item-flags:
- HIDE_ATTRIBUTES
- HIDE_UNBREAKABLE
unbreakable: true
category: MISCELLANEOUS
station: ANVIL
# The crafter must complete the "mini-game" to successfully craft this item
dynamic: true
recipe:
1: IRON_NUGGET
2: STEEL_INGOT
3: IRON_NUGGET
4: STEEL_INGOT
5: IRON_NUGGET
6: STEEL_INGOT
7: IRON_NUGGET
reagent: GUNPOWDER
required-level: 60
level-gain: 1
# Once the crafter has reached a profession level of 85, this craft can no longer
# yield levels
level-cap: 85
BRONZE_HELMET:
mmo-item: BRONZE_HELMET
station: ANVIL
category: PLATE
# RPProfessions items can be used in recipes as well
recipe:
0: BRONZE_INGOT
1: BRONZE_INGOT
2: BRONZE_INGOT
3: BRONZE_INGOT
5: BRONZE_INGOT
required-level: 20
level-gain: 1
level-cap: 30
# Players have to find the pattern in order to craft this item
default: false
alchemist.yml
WEAK_INFUSER:
mmo-item: WEAK_INFUSER
station: BREWING_STAND
category: MATERIAL
recipe:
0: REDSTONE
1: SUGAR
2: REDSTONE
3: SUGAR
4: REDSTONE
5: SUGAR
6: REDSTONE
7: SUGAR
8: REDSTONE
level-gain: 1
level-cap: 20
# An upgraded version of the healing potion
HEALING_POTION_III:
# Since it's a potion, the material must be POTION (but it could be anything)
material: POTION
# A green name to show its difference from regular potions
display-name: "&aPotion of Healing"
station: BREWING_STAND
category: POTION
# dynamic set to true means the vanilla brewing stand will be used to craft
# this item (instead of the shift-click menu)
dynamic: true
# The brewing stand must be fueld with blaze powder and will consume one unit
# of it at the start of the brewing process (like regular potions)
fuel-consumed: true
# Since it's a custom potion, this doesn't really matter but it must be provided
potion-type: AWKWARD
# The potion effects
# See https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html
# for a full list.
potion-effects:
HEAL:
# 0 = level 1, ..., 2 = level 3
amplifier: 2
# The receptacle is what must sit in the 3 bottom slots
receptacle:
material: POTION
potion-type: INSTANT_HEAL
# Upgrades the potion effect (I -> II)
upgraded: true
# The reagent is what must be put in the top slot
reagent: GOLDEN_APPLE
#The fuel is what must be put in the left slot (the blaze powder slot)
fuel: WEAK_INFUSER
level-gain: 1
level-cap: 50
BERSERKER_POTION_I:
material: POTION
display-name: "&aBerserker's Potion"
station: BREWING_STAND
category: POTION
dynamic: true
potion-type: WATER
# You can put as many effects as you want
potion-effects:
SPEED:
amplifier: 0
# The duration in seconds
duration: 30
INCREASE_DAMAGE:
amplifier: 0
duration: 30
receptacle:
material: POTION
potion-type: STRENGTH
# Extends the potion duration
extended: true
reagent: SUGAR
fuel: WEAK_INFUSER
level-gain: 1
level-cap: 50
Last updated