Eco plugins (EcoItems, EcoArmor etc) is not supported here! You can use them for results but you will encounter visible glitches if you use them as ingredients. (It will still work, but until you take out the result item it will be displayed as air/nothing). This is due to how Eco handles items and client side item lore in general (most likely at least).
merchants:
# The key is the id of the merchant (used in commands)
test:
# Name of the merchant
name: "Test Merchant"
# Permission required to use the merchant (Optional)
permission: "test.permission"
# Menu item in the global merchant menu
menu:
title: "{name}"
# Replace the lore if the merchant is locked
locked-lore:
- "&7Unlock this merchant by"
- "&7completing &aDiamond collection V&7!"
item:
material: emerald
name: "&a{name}"
slot: 10
lore:
- "&7Click to open the merchant"
# Offers that the merchant has
offers:
# Ingredient items are defined the same way as in recipes.
- ingredients:
- "minecraft:cobblestone/64"
- "minecraft:coal/7"
# Offer result is defined the same way as in recipes
result: "mythicmobs:my_item/1"
# Permission to view and use this offer. (Optional)
permission: "test.merchant.offer.1"