Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicCrucible MythicCrucible
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 53
    • Issues 53
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicCrucibleMythicCrucible
  • Wiki
  • Item Updater

Item Updater · Changes

Page history
Create Item Updater authored Feb 24, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 27 additions and 0 deletions
+27 -0
  • Item-Updater.md Item-Updater.md +27 -0
  • No files found.
Item-Updater.md 0 → 100644
View page @ c8c392ee
Updates the item on MM reload when ItemVersion differs.
This allows you to update items when MM reloads by changing the ItemVersion. If you haven't reset your config.yml in a while, then this feature requires the following to be added to the MythicCrucible config.yml:
```yml
ItemUpdater:
Enabled: true
```
Below are a couple examples:
```yml
yet_another_example_item:
Id: diamond_sword
ItemVersion: 1
Lore:
- "Really really cool sword."
```
```yml
yet_another_example_item:
Id: diamond_sword
ItemVersion: 2
Lore:
- "I hated the old lore so I updated it."
```
The second sword will replace the first sword with the updated lore whenever a player interacts with it in their inventory.
\ No newline at end of file
Clone repository
  • Home
  • Changelogs
  • Commands / Permissions
  • FAQ / Common Issues
Usage
  • Installation
  • Item Options
  • Item Skills
  • Item Durability
  • Crafting Recipes
    • Workbenches
  • Ammo System / Guns
  • Dynamic Lore Generation
  • ResourcePack Generator
  • World Generation
Item Types
  • Blocks
  • Furniture
    • Paint Brush
  • Bags
  • Hats
Mechanics
  • Item Mechanics
  • Item Targeters
  • Item Triggers
  • Item Conditions
Placeholders
  • Placeholders
  • Placeholders.yml