> For the complete documentation index, see [llms.txt](https://mythicchanger.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mythicchanger.superiormc.cn/auto-match-and-change/rule-config-example-vanilla-item-replacer.md).

# 📚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&amp;token=083253fd-0168-4093-945c-7362220667ec" alt=""><figcaption></figcaption></figure>
