-
Notifications
You must be signed in to change notification settings - Fork 2
3➤ Item Conditions List Page
Special70 edited this page Feb 5, 2022
·
4 revisions
- Conditions allows ei users to settle criterias, conditions or requirements.
- Description: Checks if the ei has the said durability.
- Example:
conditions:
itemConditions:
ifDurability: '>600'
ifDurabilityMsg: '' #<- Here is where you will add the custom message.
- Example Situations:
- If the value is
<789
, the activator will only activate if the item's durability is below 789 - If the value is
<1000
, the activator will only activate if the item's durability is 1000 and below. - If the value is
==788
, the activator will only activate if the item's durability is 788. - If the value is
>989
, the activator will only activate if the item's durability is above 989. - If the value is
>=676
, the activator will only activate if the item's durability is 676 and above.
- If the value is
- Required: NO
- More Info: You can edit the error message by adding this in the file:
ifDurabilityMsg: "&4&lError you need...."
- Description: Checks if the item has the said usage remaining.
- Example:
conditions:
itemConditions:
ifUsage: '>5565'
ifUsageMsg: '' #<- Here is where you will add the custom message.
- Example Situations:
- If the value is
<456
, the activator will only activate if the item's usage remaining is below 456 - If the value is
<=234
, the activator will only activate if the item's usage remaining is 234 and below. - If the value is
==16
, the activator will only activate if the item's usage remaining is 16. - If the value is
>6666
, the activator will only activate if the item's usage remaining is above 6666. - If the value is
>=78
, the activator will only activate if the item's usage remaining is 78 and above.
- If the value is
- Required: NO
- More Info: You can edit the error message by adding this in the file:
ifUsageMsg: "&4&lError you need...."
- Description: Checks if the item has the whitelisted enchantment.
- Example:
conditions:
itemConditions:
ifHasEnchant:
- ARROW_FIRE:1
ifHasEnchantMsg: '' #<- Here is where you will add the custom message.
- Example Situations:
- If the ei item has the Flame enchantment and you have the condition in the example part, the activator activates
- Required: NO
- More Info: You can edit the error message by adding this in the file:
ifHasEnchantMsg: "&4&lError you need...."
- Description: Checks if the item has the blacklisted enchantment.
- Example:
conditions:
itemConditions:
ifHasNotEnchant:
- ARROW_POWER:6
ifHasNotEnchantMsg: '' #<- Here is where you will add the custom message.
- Example Situations:
- If the ei item has the Power VI enchantment and you have the condition in the example part, the activator does not activate
- Required: NO
- More Info: You can edit the error message by adding this in the file:
ifHasNotEnchantMsg: "&4&lError you need...."
- Description: Checks if the item is a charged crossbow.
- Example:
conditions:
itemConditions:
ifCrossbowMustBeCharged: true
ifCrossbowMustBeChargedMsg: '' #<- Here is where you will add the custom message.
- Example Situations:
- If the ei item is a charged crossbow, the activator activates
- Required: NO
- More Info: You can edit the error message by adding this in the file:
ifCrossbowMustBeChargedMsg: "&4&lError you need...."
- Description: Checks if the item is not a charged crossbow.
- Example:
conditions:
itemConditions:
ifCrossbowMustNotBeCharged: true
ifCrossbowMustNotBeChargedMsg: '' #<- Here is where you will add the custom message.
- Example Situations:
- If the ei item is a charged crossbow, the activator will not activate
- Required: NO
- More Info: You can edit the error message by adding this in the file:
ifCrossbowMustNotBeChargedMsg: "&4&lError you need...."