Conditions

Conditions determine whether the totem will work when the player uses it. There are 3 types of conditions: chance, permission, and kether.

Chance

conditions:
  chance:
    value: 100

The plugin will generate a random number when using the totem, and if the generated number is greater than the totem's chance, it will not work. If the chance is 100%, the totem will always work.

Permission

conditions:
  permission:
    value: "plutotems.use.exampletotem"

The totem will not work if the player does not have the permission specified in the condition.

Kether

conditions:
  kether:
    - 'check player on ground is true'

In this case, some Kether scripts will be used that can return a boolean value. If the value is true, the totem will work correctly.

Last updated