MythicChanger Wiki
  • 🎉Welcome
  • 📦Info
    • âś…Requirements
    • ⚙️Install
    • â›”Limitation
    • đź”—Compatibility
    • 🛠️Configuration files
    • ⌨️Commands
    • âť“FAQ
    • đź“‹Format
    • 🆚Compare
  • 🤖Auto Match & Change
    • đź“‚Info of Auto Match & Change
    • 📌Rule
    • 📚Rule Config Example - Lore Modifier
    • 📚Rule Config Example - Vanilla Item Replacer
    • 📚Rule Config Example - Illegal Enchant Level Remover
    • 📚Rule Config Example - Random Replace
  • 🌱Drag/GUI Change
    • đź“‚Info of Drag/GUI Change
    • 🪄Apply Item
    • 📚Apply Item Example - Enchantment Scroll
    • 📚Apply Item Example - Attribute Scroll
    • 📚Apply Item Example - Stat Scroll
  • 🔍Match Rules
    • None
    • Items
    • Material
    • Material Tag
    • Contains Name/Contains Lore
    • Contains Enchants/Stored Enchants
    • Contains Enchants/Stored Enchants Amount
    • Contains Apply
    • Contains NBT
    • Has Name
    • Has Lore
    • Has Enchants
    • Has Apply
    • Rarity
    • NBT
    • NOT
    • ANY
    • Enchantable
    • Item Format
  • 🔄Change Rules
    • ⚠️Note
    • Empty
    • Fix Hide Attributes Bug
    • Add Name
    • Add Lore
    • Add Attributes
    • Set Name/Lore
    • Set Custom Model Data
    • Set Amount
    • Add flag/Remove flag
    • Add enchants
    • Delete enchants
    • Remove Name/Lore
    • Remove Enchants
    • Set Type
    • Random
    • Replace Item
    • Replace Name
    • Replace Lore
    • Replace Enchants
    • Set Color
    • Parse PAPI
    • NBT
    • Edit Item
    • Edit Lore
    • Keep
    • Deapply
    • Apply Limit
    • MMOItems
  • ✨Features
    • 🎨Color Code
    • ⚡Powerful Item Placeholders
    • 🌍Localized Item Name - Premium
    • ✔️Only In Player Inventory
    • đź’ľSaved Item
  • đź’»Develop
    • Add custom rules
Powered by GitBook
On this page
  • Rule Configs
  • General Options
  1. 🤖Auto Match & Change

📌Rule

Rule determines which items need to be modified and what they look like are determined by each rule in Auto Match&Change feature.

Rule Configs

All rules are existed at rules folder, you can copy default.yml to rename it to other words to create a new rule.

weight: 15

only-in-player-inventory: true

# If you want to all item apply this rule, just delete whole match_item section.
match-item:
  items:
    - 'diamond_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: true
  #has-name: true
  #has-lore: true
  #contains-lore:
  #  - 'test'
  #contains-name:
  #  - 'test'

fake-changes:
  add-name-first: '&fGood '
  #set-name: '&fGood Diamond Sword'
  #add-lore:
  #  - '&f&lCommon'
  #set-lore:
  #  - '&7A good sword that all adventures should use!'
  #  - '&f&lCommon'
  #add-lore-prefix:
  #  - '%img_tooltip1%'
  #set-custom-model-data: 5
  #add-flags:
  #  - 'HIDE_ENCHANTS'

real-changes:
  add-enchants:
    KNOCKBACK: 1
  #remove-enchants:
  #  - 'POWER'
  #remove-all-enchants: true
  #delete-enchants:
  #  POWER: 3
  #replace-item:
  #  material: golden_sword
  
real-change-actions:
  1:
    type: message
    message: '&#98FB98[MythicChanger] &fChanged item!'

conditions:
  1:
    type: permission
    permission: 'mythicchanger.admin'

General Options

  • weight option represents this rule apply weight.

  • match-item option represents which items will trigger this rule.

  • fake-changes option represents what content will be modified at the client level.

  • real-changes option represents what content will be modified both in the client and server.

  • If you don't want to make fake or real change, you need delete the whole section instead of put empty value there!

Previous📂Info of Auto Match & ChangeNext📚Rule Config Example - Lore Modifier

Last updated 3 months ago

real-change-actions option represents the action will executed when we applying real changes. Use Action Format here, for more info, please view page. PREMIUM VERSION ONLY.

conditions option represents players must meet those conditions to apply this rule. Use Condition Format here, for more info, please view page. PREMIUM VERSION ONLY.

Format
Format