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
  • Save Item Method
  • Match Save Item - Premium
  1. ✨Features

💾Saved Item

Previous✔️Only In Player InventoryNextAdd custom rules

Last updated 4 months ago

Save Item Method

You can use /mc saveitem <saveItemID> command to save your hold item. There are 2 methods to save item.

  • Bukkit: Use BukkitAPI's method to save item, however this method will only save vanilla datas, custom data like custom NBT will all lost.

  • Paper: Use PaperAPI's method to save item, this new method can 100% save item data, no data will lose. (Paper and 1.15+ server only)

If you are Paper server users and don't want to use new Paper method one, you need open config.yml file and edit the paper-api.save-item option to false, then we will still use Bukkit method save item.

Match Save Item - Premium

Use item-format match rule and set material option in ItemFormat to the save item ID.

You can use saved item in . In ItemFormat, there is a option called material, by default, you need type vanilla item ID there, but, you can also use saved item id to let plugin directly get the saved item instead of generate a whole new item with that type.

display-item:
  material: superior_sword # If saved item id is 'superior_sword'

Saved items will be cached in memory continuously after loading to avoid repeatedly reading the saved item file, which may consume too much server performance. However, the cost is that if you have too many saved items, it may correspondingly consume more memory.

ItemFormat