_Mechanic Item Remove - Eniripsa96/SkillAPI GitHub Wiki
Removes an item from each targeted player that meets the requirements.
Name | YAML Key | Type | Description |
---|---|---|---|
Amount | amount | Scaling Number | How many of the item to remove |
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. |
- All enabled checks must pass
- If the player doesn't have enough of the item, what's present will be removed
- Often should use the Inventory or related condition beforehand to make sure the item is present
- Item materials are based off of the Bukkit Material List
-- To be added --