Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
M mmoitems
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 47
    • Issues 47
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • mmoitems
  • Wiki
  • Item Updater

Last edited by Indyuce Aug 02, 2019
Page history
This is an old version of this page. You can view the most recent version or browse the history.

Item Updater

Once items are generated using drop tables or the give command, they become independant of the /item config. Therefore the only way to directly update items in the player's inventories is to use the Item Updater. You can either directly update the item you are holding using /updateitem, or enable the item updater for a specific item using /updateitem <type> <id>.

Updating physical items

Once the item updater is enabled for a specific item, every physical instance of that item is considered outdated and will be updated. An outdated item can only be updated once (performance save) when enabling the item updater, unless you apply further changes to the item. Every change you apply in the item edition GUI will make physical item instances outdated again till they are updated.

MMOItems updates every item in the players inventories whenever they log in. Furthermore any item clicked in a non-creative inventory undergoes an update check.

Enabling the updater for every item

If you do not want to worry about players having outdated items here and there on your server, you might want to enable the item updater for every item in the plugin. This is possible however strongly not recommended.
The item updater was designed to hot-nerf items in players' inventories once they have been generated. It is not designed to mass-update every item on your server. The more items you have, the higher the performance the plugin will need in order to keep them updated.

The item updater is 100% useless for items which have not been changed after they are generated. In order to save performance, MI first checks if a physical item has some non-applied item change, and then updates the item if it is considered outdated. Enabling the item updater for 100% of your items generates useless update checks.

You can manually enable the item updater for every item in your server using the following command: /mi update apply 2 2. This loops through every item in your config files and registers them in the item updater list.

Clone repository

Home

General

  • Item Types
  • Item Stats & Options
  • Item Creation

Features

  • Mitigation
  • Elemental Damage
  • Item Identification
  • Item Tiers
  • Gem Stones
  • Custom Durability
  • Item Sets
  • Item Upgrading

Crafting Stations

  • Crafting Stations
  • Upgrading Recipes
  • Recipe Conditions
  • Recipe Ingredients
  • Recipe Triggers

Item Management

  • Item Updater
  • Item Drop Tables

Abilities

  • Ability List

Compatibility & API

  • Supported Plugins
  • Custom Item Textures
  • Plugin API

Other

  • Installation Guide