Conditions Option

You need enable check-condition option in config.yml file to use this feature!

Players must meet certain conditions to use this price. You should write this option like this format: (Rate condition key is rates-conditions, not conditions here!)

conditions:
  <Times>:
    - <Conditions>

For example:

conditions:
  1:
    - 'permission: group.default'
  2:
    - 'world: world'
    - 'permission: group.default'

You can also write this option like this format, this format means players should always meet those conditions, whatever the flip times.

conditions:
  - 'permission: hi.hi'

Conditions

None

No condition, will always be true.

- 'none'

World

Player must be in those worlds.

Use ;; to separate each world.

- 'world: World1;;World2'

Permission

Player must have all those permissions.

Use ;; to separate each permissions.

- 'permission: permission.1;;permission.2'

Placeholder

Player must be meet the placeholder condition. It consists of three parts, separated by ;;. The format is <Placeholder>;;<Conditional Character>;;<Value>.

Conditional character can be set to:

  • >=

  • <=

  • >

  • <

  • == (String)

  • = (Number)

  • != (Number or string)

  • !*= (Number or string) Not contains.

  • *= (Number or String) Contains, for example, str *= string is true, but example *= ple is false.

- 'placeholder: %player_points%;;>=;;200'

Last updated