Requirements

Guide for Requirements

Types of Requirement

Requirement

Description

MONEY

Checks if the player has the specified balance. [Requires Vault]

PERMISSION

Checks if the player has the specified permission

CONTAINS

Checks if the output contains the input

EQUALSIGNORECASE

Checks in a case-insensitive if the input is equal to the output

EQUALS

Checks if the input is equal to the output

GREATER_THAN

Checks if the input is greater than the output

LESS_THAN

Checks if the input is less than the output

GREATER_THAN_OR_EQUALS

Checks if the input is greater than or equal to the output

LESS_THAN_OR_EQUALS

Checks if the input is less than or equal to the output

NOT_EQUAL

Checks if the input is not equal to the output

triangle-exclamation

Requirement Usage

left-click-requirements:
  have-money:
    type: MONEY
    input: 100
    deny-actions:
      - "[message]  "
      - "[message]  &f&lSir Craft &#0bda51(1/1)"
      - "[message]  &#a2aab3My words ain't free, %player_name%!"
      - "[message]  &#a2aab3You need to have &e$100..."
      - "[message]  "
      - "[sound] (ENTITY_VILLAGER_CELEBRATE)(2)(1)"

Multiple Requirements

You can add as many requirements as you'd like. The plugin will check everything you've inputted.

circle-check

Last updated

Was this helpful?