_Condition Offhand - Eniripsa96/SkillAPI GitHub Wiki

Condition

Child components are applied to each player target who is wielding an item in their offhand that meets the requirements.

Options

Name YAML Key Type Description
Check Material check-mat Boolean Whether or not a specific material is needed
Material material Dropdown The material to check for if the above option is set to true
Check Data check-data Boolean Whether or not a specific item data value is needed
Data data Integer The data value that is required if the above option is set to true
Check Lore check-lore Boolean Whether or not to search for a specific line of lore
Lore lore String The lore line that must be present if the above option is set to true
Check Name check-name Boolean Whether or not to look for a certain item name
Name name String The name of the item needed if the above option is set to true
Regex regex Boolean Whether or not the name and lore options are used as regex strings.

Description

  • All enabled checks must pass
  • This is only for servers on v1.9+
  • Item materials are based off of the Bukkit Material List

Usage Examples

-- To be added --

⚠️ **GitHub.com Fallback** ⚠️