> For the complete documentation index, see [llms.txt](https://sirgoldman.gitbook.io/sirgoldmans-plugins/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sirgoldman.gitbook.io/sirgoldmans-plugins/plugins/onestopshop/item-support.md).

# Item Support

![](/files/-MKYUpvxlmC2KYAhiZmQ)

{% hint style="info" %}
All these items are supported with **/shop add** and **/shop remove**.
{% endhint %}

* [x] **Normal Items**
* [x] **Item Display Name**
* [x] **Item Lore**
* [x] **Enchanted Items**
* [x] **Enchanted Books**
* [x] **Banners**
* [x] **Fireworks**
* [x] **Potions**
* [x] **Tipped Arrows**
* [x] **Colored Leather Armor**
* [x] **Loaded Crossbows**
* [x] **Mob Spawners**
* [x] **Shulker Boxes**
* [x] **Tropical Fish Buckets**
* [x] **Skull Skins**
* [x] **Command**

## **Normal Items**

{% hint style="info" %}
Use the command **/shop iteminfo** while holding a item to get the material ID.
{% endhint %}

```
  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

{% hint style="info" %}
You can find all enchantment types here: [Link](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html)
{% endhint %}

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

## Enchanted Books

{% hint style="info" %}
You can find all enchantment types here: [Link](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html)
{% endhint %}

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

## Banners

{% hint style="info" %}
You can find all banner patterns here: [Link](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/banner/PatternType.html)
{% endhint %}

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

## Fireworks

{% hint style="info" %}
You can find all firework types here: [Link](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/FireworkEffect.Type.html)
{% endhint %}

```
  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

{% hint style="info" %}
You can find all potion types here: [Link](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html)
{% endhint %}

```
  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

{% hint style="info" %}
You can find all effect types here: [Link](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html)
{% endhint %}

```
  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

{% hint style="info" %}
You can find all RGB colors here: [Link](https://www.rapidtables.com/web/color/RGB_Color.html)
{% endhint %}

```
  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

{% hint style="info" %}
You can find all mob types here: [Link](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html)
{% endhint %}

```
  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

{% hint style="info" %}
You can find all patterns here: [Link](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/TropicalFish.Pattern.html)
{% endhint %}

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

## Skull Skins

{% hint style="info" %}
You can find skull base64 ids here: [Link](https://minecraft-heads.com/)
{% endhint %}

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

## Command

{% hint style="info" %}
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.
{% endhint %}

```
  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
```
