Item Updater
Updates the item on MM reload when ItemVersion differs.
This allows you to update items when MM reloads by changing the ItemVersion. This feature is disabled by default, and requires being enabled in the:
plugins/MythicMobs/config/config-items.yml:
Configuration:
ItemUpdater:
Enabled: true
Additional settings, such as
OnLoginandOnScrolldetermine when items are checked for updates.
Once enabled, this allows for the following options to be used inside items:
example_item:
Id: stone
ItemUpdater:
Version: 0 # Defaults at 0
PreserveStatRatio: true # Defaults at true
Examples
yet_another_example_item:
Id: diamond_sword
ItemUpdater:
Version: 1
PreserveStatRatio: true
Lore:
- "Really really cool sword."
Once the above config is iterated to a higher version, existing copies of the item will update to reflex the new lore:
yet_another_example_item:
Id: diamond_sword
ItemUpdater:
Version: 2
PreserveStatRatio: true
Lore:
- "I hated the old lore so I updated it."