Bedwars Rel itemshop isn't working

Discussion in 'Bukkit Help' started by shadowkeeper17, Dec 17, 2019.

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

    shadowkeeper17

    Hello reader,

    I am using Bedwars Rel for my custom Bedwars server but I have a problem. I have set up the villager/itemshop but when I open the shop, the trades don't work when I try to buy them. What am I doing wrong?

    Thanks in advance!

    shop.yml:

    Code:
    ### SHOP ###
    ### NOT ALLOWED CATEGORY MATERIAL: SLIME_BALL, SNOW_BALL, BUCKET, LAVA_BUCKET
    shop:
      armor:
        item: DIAMOND_CHESTPLATE
        name: "Armour"
        order: 10
        permission: bw.base
        lore:
        - "Protect yourself with armor! Click here."
        offers:
        - price:
          - type: CLAY_BRICK
          reward:
          - type: LEATHER_HELMET
            meta:
              ==: ItemMeta
              meta-type: LEATHER_ARMOR
              enchants:
                PROTECTION_ENVIRONMENTAL: 1
        - price:
          - type: CLAY_BRICK
          reward:
          - type: LEATHER_LEGGINGS
            meta:
              ==: ItemMeta
              meta-type: LEATHER_ARMOR
              enchants:
                PROTECTION_ENVIRONMENTAL: 1
        - price:
          - type: CLAY_BRICK
          reward:
          - type: LEATHER_BOOTS
            meta:
              ==: ItemMeta
              meta-type: LEATHER_ARMOR
              enchants:
                PROTECTION_ENVIRONMENTAL: 1
        - price:
          - type: IRON_INGOT
            amount: 6
          - type: GOLD_INGOT
          reward:
          - type: IRON_BOOTS
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              display-name: "Magnet-Shoes"
              lore:
              - "Wear those shoes and have a 75%"
              - "chance of getting no knockback!"
        - price:
          - type: IRON_INGOT
          reward:
          - type: CHAINMAIL_CHESTPLATE
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                PROTECTION_ENVIRONMENTAL: 1
        - price:
          - type: IRON_INGOT
            amount: 3
          reward:
          - type: CHAINMAIL_CHESTPLATE
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                PROTECTION_ENVIRONMENTAL: 2
        - price:
          - type: IRON_INGOT
            amount: 7
          reward:
          - type: CHAINMAIL_CHESTPLATE
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                PROTECTION_ENVIRONMENTAL: 3
        - price:
          - type: GOLD_INGOT
            amount: 10
          reward:
          - type: IRON_HELMET
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              display-name: Helm
              enchants:
                PROTECTION_ENVIRONMENTAL: 2
      swords:
        item: DIAMOND_SWORD
        name: "Swords"
        order: 20
        permission: bw.base
        lore:
        - "Click here to get sword for attacking your enemies"
        offers:
        - price:
          - type: CLAY_BRICK
            amount: 8
          reward:
          - type: STICK
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                KNOCKBACK: 1
        - price:
          - type: IRON_INGOT
          reward:
          - type: GOLD_SWORD
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                DAMAGE_ALL: 1
        - price:
          - type: IRON_INGOT
            amount: 3
          reward:
          - type: GOLD_SWORD
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                DAMAGE_ALL: 2
        - price:
          - type: IRON_INGOT
            amount: 7
          reward:
          - type: GOLD_SWORD
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                DAMAGE_ALL: 3
        - price:
          - type: GOLD_INGOT
            amount: 3
          reward:
          - type: IRON_SWORD
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                DAMAGE_ALL: 2
                KNOCKBACK: 1
        - price:
          - type: GOLD_INGOT
            amount: 15
          reward:
          - type: GOLD_AXE
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              display-name: "Axe of Infinity"
              enchants:
                DAMAGE_ALL: 1
                DURABILITY: 1
                KNOCKBACK: 1
      bows:
        item: 261
        name: "Bows"
        order: 30
        permission: bw.base
        lore:
        - "Prove yourself as a marksman with these wonderful bows"
        offers:
        - price:
          - type: GOLD_INGOT
            amount: 3
          reward:
          - type: BOW
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                ARROW_INFINITE: 1
        - price:
          - type: GOLD_INGOT
            amount: 7
          reward:
          - type: BOW
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                ARROW_DAMAGE: 1
                ARROW_INFINITE: 1
        - price:
          - type: GOLD_INGOT
            amount: 13
          reward:
          - type: BOW
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                ARROW_DAMAGE: 2
                ARROW_INFINITE: 1
        - price:
          - type: GOLD_INGOT
            amount: 16
          reward:
          - type: BOW
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                ARROW_FIRE: 1
                ARROW_INFINITE: 1
        - price:
          - type: GOLD_INGOT
            amount: 15
          reward:
          - type: BOW
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                ARROW_KNOCKBACK: 1
                ARROW_FIRE: 1
                ARROW_INFINITE: 1
        - price:
          - type: GOLD_INGOT
          reward:
          - type: ARROW
      eat:
        item: GRILLED_PORK
        name: Eat
        order: 40
        permission: bw.base
        lore:
        - "Are you hungry? Get something to eat."
        offers:
        - price:
          - type: CLAY_BRICK
            amount: 4
          reward:
          - type: GRILLED_PORK
            amount: 2
        - price:
          - type: IRON_INGOT
            amount: 2
          reward:
          - type: GOLDEN_APPLE
        - price:
          - type: GOLD_INGOT
            amount: 5
          reward:
          - type: BREAD
            amount: 10
      pickaxes:
        item: DIAMOND_PICKAXE
        name: "Pickaxes"
        order: 50
        permission: bw.base
        lore:
        - "Destroy others blocks? Use these pickaxes."
        offers:
        - price:
          - type: CLAY_BRICK
            amount: 4
          reward:
          - type: IRON_PICKAXE
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                LOOT_BONUS_BLOCKS: 1
        - price:
          - type: IRON_INGOT
            amount: 2
          reward:
          - type: IRON_PICKAXE
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                LOOT_BONUS_BLOCKS: 2
        - price:
          - type: GOLD_INGOT
          reward:
          - type: IRON_PICKAXE
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                LOOT_BONUS_BLOCKS: 3
      blocks:
        item: SANDSTONE
        name: "Blocks"
        order: 60
        permission: bw.base
        lore:
        - "Get to the others! Possible with blocks."
        offers:
        - price:
          - type: CLAY_BRICK
          reward:
          - type: SANDSTONE
            damage: 2
            amount: 2
        - price:
          - type: CLAY_BRICK
            amount: 7
          reward:
          - type: ENDER_STONE
        - price:
          - type: IRON_INGOT
            amount: 3
          reward:
          - type: IRON_BLOCK
        - price:
          - type: CLAY_BRICK
            amount: 15
          reward:
          - type: GLOWSTONE
            amount: 4
        - price:
          - type: CLAY_BRICK
            amount: 4
          reward:
          - type: GLASS
      usefulstuff:
        item: TNT
        name: "Useful Stuff"
        order: 70
        permission: bw.base
        lore:
        - "Looking for useful stuff? Here are some!"
        offers:
        - price:
          - type: IRON_INGOT
            amount: 3
          reward:
          - type: TNT
        - price:
          - type: GOLD_INGOT
          reward:
          - type: FLINT_AND_STEEL
        - price:
          - type: IRON_INGOT
          reward:
          - type: CHEST
        - price:
          - type: GOLD_INGOT
          reward:
          - type: ENDER_CHEST
        - price:
          - type: IRON_INGOT
            amount: 15
          reward:
          - type: BLAZE_ROD
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              display-name: "Rescue Platform"
              lore:
              - "Protect yourself from falling into"
              - "void with a rescue platform"
        - price:
          - type: IRON_INGOT
            amount: 3
          reward:
          - type: STRING
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              display-name: "Trap"
              lore:
              - "Get informed if an enemy steps on your trap"
              - "and your enemy won't be able to move properly."
        - price:
          - type: CLAY_BRICK
            amount: 64
          reward:
          - type: BRICK
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              display-name: "Protection Wall"
              lore:
              - "Use a protection wall to instantely"
              - "create a wall in front of you!"
        - price:
          - type: IRON_INGOT
            amount: 7
          reward:
          - type: SULPHUR
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              display-name: "Warp Powder"
              lore:
              - "When using this powder you'll get"
              - "teleported to you spawn point within 6 seconds"
              - "Warning: Any movement will stop the process"
        - price:
          - type: GOLD_INGOT
            amount: 10
          reward:
          - type: MONSTER_EGG
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              display-name: "TNT-Sheep"
              lore:
              - "Use the TNT-Sheep! It will"
              - "walk towards your closest enemy"
              - "and explode within 8 seconds!"
              internal: H4sIAAAAAAAAAONiYOBi4HTNK8ksqQxJTOdgYMpMYWANzkhNLWBgAAABt1TGHQAAAA==
        - price:
          - type: IRON_INGOT
            amount: 5
          reward:
          - type: COMPASS
      drinks:
        item: POTION
        name: "Drinks"
        order: 80
        permission: bw.base
        lore:
        - "Not enough? Use these potions and you'll feel better!"
        offers:
        - price:
          - type: IRON_INGOT
            amount: 3
          reward:
          - type: POTION
            meta:
              ==: ItemMeta
              meta-type: POTION
              potion-type: healing
        - price:
          - type: IRON_INGOT
            amount: 5
          reward:
          - type: POTION
            meta:
              ==: ItemMeta
              meta-type: POTION
              potion-type: strong_healing
        - price:
          - type: IRON_INGOT
            amount: 7
          reward:
          - type: POTION
            meta:
              ==: ItemMeta
              meta-type: POTION
              potion-type: swiftness
        - price:
          - type: GOLD_INGOT
          reward:
          - type: POTION
            meta:
              ==: ItemMeta
              meta-type: POTION
              potion-type: strength
        - price:
          - type: GOLD_INGOT
            amount: 3
          reward:
          - type: POTION
            meta:
              ==: ItemMeta
              meta-type: POTION
              potion-type: regeneration
    schema-version: 1
     
    Last edited by a moderator: Dec 17, 2019
Thread Status:
Not open for further replies.

Share This Page