Solved Bedwars Rel shop isn't working

Discussion in 'Plugin Help/Development/Requests' started by MieskeB, Jun 22, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    MieskeB

    Hello sir/madam,

    I am using Bedwars Rel for a game which looks like eggwars: flagwars. But I have a problem, I have set up the villager with custom trades but when I open the villager menu it won't give me any trades... What am I doing wrong???

    Thanks in advance!!!!
    Michel

    shop.yml
    Code:
    shop:
      blocks:
        item: SANDSTONE
        name: "Blocks"
        order: 10
        permission: bw.base
        lore:
        - Build a bridge
        offers:
        - reward:
          - type: SANDSTONE
            amount: 2
          price:
          - type: IRON_INGOT
            amount: 1
        - reward:
          - type: GLASS
            amount: 1
          price:
          - type: IRON_INGOT
            amount: 1
        - reward:
          - type: GLOWSTONE
            amount: 1
          price:
          - type: IRON_INGOT
            amount: 2
        - reward:
          - type: HAY_BLOCK
            amount: 1
          price:
          - type: IRON_INGOT
            amount: 10
        - reward:
          - type: OBSIDIAN
            amount: 1
          price:
          - type: GOLD_INGOT
            amount: 10
      armor:
        item: IRON_CHESTPLATE
        name: "Armor"
        order: 20
        permission: bw.base
        lore:
        - Protect yourself with armor
        offers:
        - reward:
          - type: LEATHER_HELMET
            amount: 1
          price:
          - type: IRON_INGOT
            amount: 1
        - reward:
          - type: LEATHER_CHESTPLATE
            amount: 1
          price:
          - type: IRON_INGOT
            amount: 1
        - reward:
          - type: LEATHER_LEGGINGS
            amount: 1
          price:
          - type: IRON_INGOT
            amount: 1
        - reward:
          - type: LEATHER_BOOTS
            amount: 1
          price:
          - type: IRON_INGOT
            amount: 1
        - reward:
          - type: CHAINMAIL_HELMET
            amount: 1
          price:
          - type: GOLD_INGOT
            amount: 10
        - reward:
          - type: CHAINMAIL_CHESTPLATE
            amount: 1
          price:
          - type: GOLD_INGOT
            amount: 10
        - reward:
          - type: CHAINMAIL_LEGGINGS
            amount: 1
          price:
          - type: GOLD_INGOT
            amount: 10
        - reward:
          - type: CHAINMAIL_BOOTS
            amount: 1
          price:
          - type: GOLD_INGOT
            amount: 10
        - reward:
          - type: IRON_HELMET
            amount: 1
          price:
          - type: DIAMOND
            amount: 5
        - reward:
          - type: IRON_CHESTPLATE
            amount: 1
          price:
          - type: DIAMOND
            amount: 5
        - reward:
          - type: IRON_LEGGINGS
            amount: 1
          price:
          - type: DIAMOND
            amount: 5
        - reward:
          - type: IRON_BOOTS
            amount: 1
          price:
          - type: DIAMOND
            amount: 5
      swords:
        item: DIAMOND_SWORD
        name: "Swords"
        order: 20
        permission: bw.base
        lore:
        - Kill your enemies!
        offers:
        - reward:
          - type: WOODEN_SWORD
            amount: 1
          price:
          - type: IRON_INGOT
            amount: 5
        - reward:
          - type: WOODEN_AXE
            amount: 1
          price:
          - type: IRON_INGOT
            amount: 8
        - reward:
          - type: STONE_SWORD
            amount: 1
          price:
          - type: IRON_INGOT
            amount: 32
        - reward:
          - type: STONE_AXE
            amount: 1
          price:
          - type: IRON_INGOT
            amount: 48
        - reward:
          - type: IRON_SWORD
            amount: 1
          price:
          - type: GOLD_INGOT
            amount: 16
        - reward:
          - type: IRON_AXE
            amount: 1
          price:
          - type: GOLD_INGOT
            amount: 24
        - reward:
          - type: DIAMOND_SWORD
            amount: 1
          price:
          - type: DIAMOND
            amount: 12
        - reward:
          - type: DIAMOND_AXE
            amount: 1
          price:
          - type: DIAMOND
            amount: 20
      food:
        item: CARROT
        name: "Food"
        order: 30
        permission: bw.base
        lore:
        - Eat it!
        offers:
        - reward:
          - type: CARROT
            amount: 1
          price:
          - type: IRON_INGOT
            amount: 1
        - reward:
          - type: STEAK
            amount: 1
          price:
          - type: IRON_INGOT
            amount: 5
        - reward:
          - type: CAKE
            amount: 1
          price:
          - type: IRON_INGOT
            amount: 12
        - reward:
          - type: GOLDEN_APPLE
            amount: 1
          price:
          - type: GOLD_INGOT
            amount: 2
      tools:
        item: DIAMOND_PICKAXE
        name: "Tools"
        order 40
        permission: bw.base
        lore:
        - Break an egg!
        offers:
        - reward:
          - type: STONE_PICKAXE
            amount: 1
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                EFFICIENCY: 1
          price:
          - type: IRON_INGOT
            amount: 10
        - reward:
          - type: IRON_PICKAXE
            amount: 1
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                EFFICIENCY: 1
          price:
          - type: GOLD_INGOT
            amount: 3
        - reward:
          - type: DIAMOND_PICKAXE
            amount: 1
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                EFFICIENCY: 1
          price:
          - type: GOLD_INGOT
            amount: 10
        - reward:
          - type: DIAMOND_PICKAXE
            amount: 1
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                EFFICIENCY: 3
          price:
          - type: DIAMOND
            amount: 10
      archery:
        item: BOW
        name: "Archery"
        order: 50
        permission: bw.base
        lore:
        - Purchase bows and arrows
        offers:
        - reward:
          - type: BOW
            amount: 1
          price:
          - type: DIAMOND
            amount: 8
        - reward:
          - type: BOW
            amount: 1
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                PUNCH: 1
          price:
          - type: DIAMOND
            amount: 12
        - reward:
          - type: BOW
            amount: 1
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                POWER: 1
          price:
          - type: DIAMOND
            amount: 15
        - reward:
          - type: ARROW
            amount: 5
          price:
          - type: GOLD_INGOT
            amount: 2
      misc:
        item: CHEST
        name: "Misc"
        order: 60
        permission: bw.base
        lore:
        - Others...
        offers:
        - reward:
          - type: CHEST
            amount: 1
          price:
          - type: GOLD_INGOT
            amount: 5
        - reward
          - type: TNT
            amount: 1
          price:
          - type: GOLD_INGOT
            amount: 10
     
    Last edited by a moderator: Jun 22, 2016
    ArnauBG likes this.
Thread Status:
Not open for further replies.

Share This Page