AuroraCrafting
  • AuroraCrafting
  • Configuration
    • Main config
    • Workbench config
    • Blueprint config
    • Smithing blueprint config
    • Cooking blueprint config
    • Brewing recipes
    • Stonecutter blueprint config
    • Cauldron blueprint config
    • Recipe book config
    • Merchant config
    • Disabled vanilla recipes config
  • Commands
  • Permissions
  • Compatible plugins
  • API
Powered by GitBook
On this page
  1. Configuration

Merchant config

Guide how to create villager shops. merchants.yml

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"
PreviousRecipe book configNextDisabled vanilla recipes config

Last updated 5 months ago