Skip to content

6➤ Custom Conditions List Test Page

Ssomar edited this page Jul 14, 2021 · 9 revisions

CUSTOM CONDITIONS

  • Conditions allows ei users to settle criterias, conditions or requirements.

====={Condition ifNeedPlayerConfirmation:}=====

  • Description: Asks the player to confirm if he/she is going to activate that activator once.
  • Example:
conditions:
  customConditions:
    ifNeedPlayerConfirmation: true
  • Example Situations:
    • If the player left-clicks the item, the message will pop up notifying you if
  • Required: NO (Default: false)
  • More Info: You can edit the message by editing it on the locale: confirmMessage: 'Click again to confirm' or in ingame.

====={Condition ifOwnerOfTheEI:}=====

  • Description: Checks if the player owns the executable item (Owners are selected by the first player who obtained the item)
  • Example:
conditions:
  customConditions:
    ifOwnerOfTheEI: true
  • Example Situations:
    • If the player obtained it first and attempts to use it, it will work.
  • Required: NO (Default: false)
  • More Info: You can edit the message by editing it on the item file: ifOwnerOfTheEI: '' or in ingame.

====={Condition ifNotOwnerOfTheEI:}=====

  • Description: Checks if the player does not own the executable item (Owners are selected by the first player who obtained the item)
  • Example:
conditions:
  customConditions:
    ifNotOwnerOfTheEI: true
  • Example Situations:
    • If the player obtained it first and attempts to use it, it will not work.
  • Required: NO (Default: false)
  • More Info: You can edit the message by editing it on the item file: ifNotOwnerOfTheEI: '' or in ingame.

====={Condition ifPlayerMustBeOnHisIsland:}=====

  • Description: Checks if the player is on his/her island. (IRIDIUM SKYBLOCK MUST BE INSTALLED)
  • Example:
conditions:
  customConditions:
    ifPlayerMustBeOnHisIsland: true
  • Example Situations:
    • If the player is on his island, the activator will activate.
  • Required: NO (Default: false)
  • More Info: You can edit the message by editing it on the item file: ``ifPlayerMustBeOnHisIsland: ''` or in ingame.

====={Condition ifPlayerMustBeOnHisClaim:}=====

  • SUPPORTS THE FOLLOWING PLUGINS:
    • GriefPrevention
    • Lands
    • GriefDefender
  • Description: Checks if the player is on a claim he/she has permission at.
  • Example:
conditions:
  customConditions:
    ifPlayerMustBeOnHisClaim: true
  • Example Situations:
    • If the player is on a claim he/she owns, the activator will activate.
    • If the player is on a claim that he/she does not own but has permission, the activator will activate.
  • Required: NO (Default: false)
  • More Info: You can edit the message by editing it on the item file: ifPlayerMustBeOnHisClaim: '' or in ingame.
Clone this wiki locally