Merchant config
Guide how to create villager shops. merchants.yml
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"Last updated