Item Support

The type of items in Minecraft this plugin supports.

All these items are supported with /shop add and /shop remove.

Normal Items

Use the command /shop iteminfo while holding a item to get the material ID.

  mineral-shop:
    items:
      '1':
        material: DIAMOND
        buy: 100.0
        sell: 20.0

Item Display Names

  weapon-shop:
    items:
      '1':
        buy: 500.0
        sell: 100.0
        name: '&6&lEpic Sword'
        material: GOLDEN_SWORD

Item Lore

  weapon-shop:
    items:
      '1':
        buy: 500.0
        sell: 100.0
        lore:
          - '&bThis sword was crafted'
          - '&bby the gods of Minecraft.'
        material: GOLDEN_SWORD

Enchanted Items

You can find all enchantment types here: Link

  weapon-shop:
    items:
      '1':
        buy: 500.0
        sell: 100.0
        material: GOLDEN_SWORD
        enchants:
          LOOT_BONUS_MOBS: 3
          DAMAGE_ALL: 5

Enchanted Books

You can find all enchantment types here: Link

  enchantment-shop:
    items:
      '1':
        material: ENCHANTED_BOOK
        stored-enchants:
          PROTECTION_FALL: 3
        buy: 100.0
        sell: 20.0

Banners

You can find all banner patterns here: Link

banner-shop:
    items:
      '1':
        buy: 500.0
        sell: 20.0
        material: ORANGE_BANNER
        patterns:
          STRIPE_SMALL: MAGENTA

Fireworks

You can find all firework types here: Link

  firework-shop:
    items:
      '1':
        buy: 200.0
        sell: 20.0
        name: '&aCreeper Rocket'
        material: FIREWORK_ROCKET
        power: 2
        firework:
          '1':
            type: BALL_LARGE
            flicker: true
            trail: false
            # RGB Colors
            base-colors:
              - 59, 81, 26
              - 65, 205, 52
            fade-colors:
              - 59, 81, 26
          '2':
            type: CREEPER
            flicker: false
            trail: true
            base-colors:
              - 65, 205, 52
            fade-colors:
              - 65, 205, 52

Potions

You can find all potion types here: Link

  potion-shop:
    items:
      '1':
        buy: 1.0
        sell: 1.0
        material: LINGERING_POTION
        custom-effects: []
        # Type - Extended - Upgraded
        base-effect: STRENGTH, false, true
      '2':
        buy: 1.0
        sell: 1.0
        material: POTION
        custom-effects: []
        base-effect: JUMP, false, false
      '3':
        buy: 1.0
        sell: 1.0
        material: SPLASH_POTION
        custom-effects: []
        base-effect: INSTANT_HEAL, false, false
        
        1.8 ONLY
        
       '4':
        buy: 1.0
        sell: 1.0
        material: POTION
        custom-effects: []
        # Potion level (max 2)
        level: 1
        # Type - Extended - Splash
        base-effect: INSTANT_HEAL, false, false

Tipped Arrows

You can find all effect types here: Link

  arrow-shop:
    items: 
      '1':
        buy: 1.0
        sell: 1.0
        material: TIPPED_ARROW
        custom-effects: []
        # Type - Extended - Upgraded
        base-effect: JUMP, false, true

Colored Leather Armor

You can find all RGB colors here: Link

  armor-shop:
    items:     
      '1':
        buy: 300.0
        sell: 10.0
        material: LEATHER_CHESTPLATE
        # RGB Colors
        color: 243, 139, 170

Loaded Crossbows

  weapon-shop:
    items:     
     '1':
        buy: 1.0
        sell: 1.0
        material: CROSSBOW
        enchants:
          MULTISHOT: 1
        projectile:
          material: FIREWORK_ROCKET
          name: '&aCreeper Rocket'
          power: 2
          firework:
            '1':
              type: BALL_LARGE
              flicker: true
              trail: false
              base-colors:
              - 59, 81, 26
              - 65, 205, 52
              fade-colors:
              - 59, 81, 26
            '2':
              type: CREEPER
              flicker: false
              trail: true
              base-colors:
              - 65, 205, 52
              fade-colors:
              - 65, 205, 52

Mob Spawners

You can find all mob types here: Link

  spawner-shop:
    items:     
     '1':
        buy: 1.0
        sell: 1.0
        name: '&fBat Spawner'
        material: SPAWNER
        mob: BAT

Shulker Boxes

  shulker-shop:
    items:     
     '1':
        buy: 1.0
        sell: 1.0
        material: LIME_SHULKER_BOX
        shulker:
          '1':
            material: GREEN_DYE
            amount: 64
          '2':
            material: BROWN_DYE
            amount: 64
          '3':
            material: BROWN_DYE
            amount: 64

Tropical Fish Buckets

You can find all patterns here: Link

  fish-shop:
    items:     
     '1':
        buy: 1.0
        sell: 1.0
        material: TROPICAL_FISH_BUCKET
        pattern: FLOPPER
        color: WHITE
        pattern-color: YELLOW

Skull Skins

You can find skull base64 ids here: Link

  head-shop:
    items:     
     '1':
        buy: 1.0
        sell: 1.0
        name: '&eSkull of SirGoldman'
        material: PLAYER_HEAD
        skull: ewogICJ0aW1lc3RhbXAiIDogMTYwMzU3ODUxOTI4OCwKICAicHJvZmlsZUlkIiA6ICI4NDA2ZWU1YWYyNTI0MzJmODU2Njc4OGFkYmEwNDA2ZSIsCiAgInByb2ZpbGVOYW1lIiA6ICJTaXJHb2xkbWFuIiwKICAic2lnbmF0dXJlUmVxdWlyZWQiIDogdHJ1ZSwKICAidGV4dHVyZXMiIDogewogICAgIlNLSU4iIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlLzdkNjdiNTZmM2ZjNWUwNGEzZjRiZWJkYWM2Y2UyYjU4MDBlMGQ4OGIyNzE4NWNlYzY4ZWQzMTBlM2E1Mzk1ZDYiCiAgICB9LAogICAgIkNBUEUiIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlLzE1M2IxYTBkZmNiYWU5NTNjZGViNmYyYzJiZjZiZjc5OTQzMjM5YjEzNzI3ODBkYTQ0YmNiYjI5MjczMTMxZGEiCiAgICB9CiAgfQp9

Command

The item must be unique from other shop items. Use the placeholder %player% to get the player name of the player buying the command. Do also note the player will only get whatever command you run vs the item.

  command-shop:
    items:
      '1':
        name: '&eCommand Fly'
        lore:
          - '&bWhen you buy this you will'
          - '&bget the perm to fly.'
        material: REDSTONE
        command: 'lp user %player% permission set essentials.fly'
        buy: 1000.0
        sell: 0.0

Last updated