# 📚Rule Config Example - Vanilla Item Replacer

## Config

```yaml
weight: 15

# If you want to all item apply this rule, just delete whole match_item section.
match-item:
  items:
   - 'iron_sword'
  # Whether you use item tier instead of item ID to identify item slots.
  # If this item plugin don't have tier, will still use Item ID as identify.
  use-tier-identify: false

fake-changes:
  replace-item:
    hook-plugin: MMOItems
    hook-item: WAND;;OAK_WAND
    keep-enchants: true

real-changes:
  replace-item:
    hook-plugin: MMOItems
    hook-item: WAND;;OAK_WAND
    keep-enchants: true
```

## In-game showcase

<figure><img src="https://2518436866-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FECy8m2ZXGWwelMAR2Swy%2Fuploads%2FPeSj4yglQ7CU2Bk1lVJw%2Fimage.png?alt=media&#x26;token=083253fd-0168-4093-945c-7362220667ec" alt=""><figcaption></figcaption></figure>
