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

# Requirements

A requirement/condition has the following format: `<variable> <conditional> <value>` \
Example: `%player_level% >= 15`

The following example will check if the player has the `minewords.hard` permission and has completed the normal category.

```yaml
requirements:
  - "%player_has_permission_minewords.hard% == yes"
  - "%minewords_category_completed_normal% == true"
```

You can also check for 'or' conditions, meaning that a condition line will be approved if one of many conditions in the same line is accomplished. For example, here there is just one condition. The player must be level 20 or greater, OR the player must be op.

```yaml
requirements:
  - "%player_level% >= 20 or %player_is_op% == yes" 
```

Remember to download the PlaceholderAPI expansion of variables you are using, with the following command: `/papi ecloud download <expansion>`

## **Type of Conditionals**

### **For Text**

* equals, ==
* !equals, !=
* equalsIgnoreCase
* !equalsIgnoreCase
* startsWith
* !startsWith
* contains
* !contains

### **For Numbers**

* equals, ==
* !equals, !=
* \>=
* <=
* <
* \>
