Check Item
The Check Item fact allows you to verify if a player possesses specific MMOItems within a designated MMOInventory. This is useful for crafting conditions, quest requirements, or equipment checks.
Configuration
mmoinventory_check_item_fact — Map
Configuration for this entry.
Properties
inventoryName
"> The name of the custom MMOInventory to check. itemsToCheck
">
Comma-separated list of items to check in the format Type:ID:Amount.
Example: SWORD:EXCALIBUR:1,MATERIAL:IRON_INGOT:5
requireAllItems
"> If true, the player must have ALL specified items. If false, having at least one is sufficient.
Notes
- This fact requires the MMOInventory plugin and MMOItems plugin.
- Item counts are summed across all matching slots in the specified custom inventory.