> For the complete documentation index, see [llms.txt](https://enchantmentslots.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enchantmentslots.superiormc.cn/for-4.1.8/features/extra-slot-item.md).

# 🪄Extra Slot Item

You can create unlimited extra slot items at `add-slot-items` section in `config.yml`.

```yaml
add-slot-items:
  A:
    material: PAPER
    name: '&dExtra Enchantment Slot &7(+1)'
    lore:
      - '&fDrag this item into your item to use!'
      - '&fApply for all items but have only 50% success rate!'
    add-slots: 1
    chance: 50
    success-actions:
      - 'sound: block.note_block.harp;;1;;1'
      - 'message: &#98FB98[EnchantmentSlots] &aAdd {amount} extra enchantment slot to your item!'
    fail-actions:
      - 'sound: block.note_block.bass;;1;;1'
      - 'message: &#98FB98[EnchantmentSlots] &cYou are not very lucky, slot item has broken!'
  B:
    material: PAPER
    custom-model-data: 5
    name: '&dExtra Enchantment Slot &7(+5)'
    lore:
      - '&fDrag this item into your item to use!'
      - '&f100% success but only work for diamond sword.'
    add-slots: 5
    success-actions:
      - 'sound: block.note_block.harp;;1;;1'
      - 'message: &#98FB98[EnchantmentSlots] &aAdd {amount} extra enchantment slot to your item!'
    fail-actions:
      - 'sound: block.note_block.bass;;1;;1'
      - 'message: &#98FB98[EnchantmentSlots] &cYou are not very lucky, slot item has broken!'
    apply-items:
      - 'diamond_sword'
```

Should use [**ItemFormat**](/for-4.1.8/format/itemformat-tm-simply-version.md) simple version, for more info, please view [this page](/for-4.1.8/format/itemformat-tm-simply-version.md).

* add-slots: Represents the number of expansion slots.
* success-actions: Represents actions will excute after success use extra slot item. Use [Action Format](/for-4.1.8/format/action-format.md) here.
* fail-actions: Represents actions will excute after fail to use extra slot item. Use [Action Format](/for-4.1.8/format/action-format.md) here.
* apply-items: Reprsents what items can use this extra slot item. If not existed, all item can use. Support use thrid-plugin item ID.
* black-items: Represents what items can not use this extra slot item. If not exised, all item can use. Support use thrid-plugin item ID.
