> For the complete documentation index, see [llms.txt](https://plupport.gitbook.io/plutotems/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://plupport.gitbook.io/plutotems/features/actions/conditions.md).

# Conditions

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

## Chance

```yaml
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

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

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

## Kether

```yaml
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.
