# Unlimited amount of upgrades can be created below. upgrades: '1':
from: # 'from.item' is the item that will be upgraded to another item. item: APPLE
# 'from.name' is the name of the item that will be upgraded to another item. name: "" # How many item should we take if player wants to upgrade their item. (default is 1) amount: 1
to: # 'to.item' is the item that will be the upgraded item from a previous item. # Use 'oraxen:item_id_here' for custom textured items by Oraxen plugin. # Use 'itemsadder:item_id_here' for custom textured items by ItemsAdder plugin. # Use 'ecoitems:item_id_here' for custom items by EcoItems plugin. item: GOLDEN_APPLE
# 'to.item' is the new item's name which will be the upgraded from a previous item. # %price% and %chance% placeholders can be used in the name and lore section. name: "&e&lUpgraded Apple" # 'to.lore' is the new item's lore which will be the upgraded from a previous item. lore: -
"" -
"&7A golden apple that is upgraded" -
"&7with a chance of %chance%%" # The amount of the upgraded item. This option is also optional, by default the value is 1. amount: 1
# The item flags of the upgraded item. By default, item flags are empty. # Values: HIDE_ENCHANTS, HIDE_ATTRIBUTES, HIDE_UNBREAKABLE, HIDE_DESTROYS, HIDE_PLACED_ON and HIDE_POTION_EFFECTS item-flags: [] # This optional is optional and is false, by default. unbreakable: false
# 'chance' amount is going to be used if player accepts to upgrade and try their chance. # If player is unlucky, they will lose their item and item won't be upgraded :( chance: 99
# 'price' is optional, you can set a price for that upgrade. Price system is using the Vault API. price: 0
# 'enchantments' are optional. You can add enchantments to the new upgraded item. enchantments: [] # 'reset-enchants' is optional. You can reset the enchantments of the previous item. # If the previous item has enchantments, they will be applied to the new upgraded item as well. # If there are same enchantments in the previous item and upgraded item, larger level will be used. reset-enchants: true
# 'disallowed-enchantments' is optional. If the previous item contains one these enchantments # they won't be able to open upgrade menu and upgrade the item, and will receive a message about that. disallowed-enchantments: [] # 'required-items' is optional. To be able to upgrade the item player must have these items in their inventory. required-items:
'1':
material: STICK
name: "" # Player must have minimum 5 sticks to upgrade their item. amount: 5
lore: [] enchantments: [] # - "PROTECTION:1" # This option is a must if you set the 'required-items' section. # The message that will be sent to player if they don't have enough the required items in their inventory. no-required-items-found: "&cYou don't have the required items in your inventory! You need 5 sticks to upgrade your Apple!" '2':
from:
item: STICK
name: "" to:
item: ENCHANTED_GOLDEN_APPLE
name: "&e&lGod Apple" lore: -
"" -
"&7There is a 1% chance that you can" -
"&7grab this Enchanted Golden Apple!" chance: 1
'3':
from:
item: LEATHER_BOOTS
name: "" to:
item: GOLD_HELMET
name: "&e&lUpgraded Gold Helmet" lore: -
"" -
"&7Upgraded from Leather Boots!" chance: 100
'4':
from:
item: GOLD_HELMET
name: "&e&lUpgraded Gold Helmet" to:
item: STONE_SWORD
name: "&3&lSpecial Stone Sword" lore: -
"" -
"&7A stone sword with Sharpness IV!" chance: 100
enchantments: - DAMAGE_ALL:4
'5':
from:
item: STONE_SWORD
name: "&3&lSpecial Stone Sword" to:
item: DIAMOND_PICKAXE
name: "&4&lOP DIAMOND PICKAXE" lore: -
"" -
"&cDIGS VERYYY QUICKLY!!" reset-enchants: true
chance: 100
enchantments: - DURABILITY:2
- DIG_SPEED:5