# 📚Rule Config Example - Lore Modifier

## Config

```yaml
weight: 15

# If you want to all item apply this rule, just delete whole match_item section.
match-item:
  items:
   - 'diamond_sword'

fake-changes:
  set-name: '&fGood Diamond Sword'
  set-lore:
    - '&7A good sword that all adventures should use!'
    - '&f&lCommon'
  add-lore-prefix: '1'

real-changes:
  add-enchants:
    KNOCKBACK: 1
  remove-enchants:
    - 'POWER'
```

## In-game showcase

<figure><img src="https://2518436866-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FECy8m2ZXGWwelMAR2Swy%2Fuploads%2F2vI3NJQT4e1Lalba8Kwm%2Fimage.png?alt=media&#x26;token=a55ba50a-6d0f-454d-b10e-1443df6db83d" alt=""><figcaption></figcaption></figure>
