# Roles & Flags

Roles and their flags can be configured in the `roles.yml` file.

## Flags

* **HOPPER\_TRANSFER**\
  Allow the role to use hoppers below the container in order to extract items.\
  \&#xNAN;*Toggle permission: chestprotect.setting.protection.hopper\_transfer*
* **OPEN**\
  Allows the role to open the protection.\
  \&#xNAN;*Toggle permission: chestprotect.setting.protection.open*
* **PLAYER\_TRUST**\
  Allows the role to trust players.\
  \&#xNAN;*Toggle permission: chestprotect.setting.protection.player\_trust*
* **PLAYER\_UNTRUST**\
  Allows the role to untrust players.\
  \&#xNAN;*Toggle permission: chestprotect.setting.protection.player\_untrust*
* **PLAYER\_SETROLE**\
  Allow players to set role of other players.\
  \&#xNAN;*Toggle permission: chestprotect.setting.protection.player\_setrole*
* **UNLOCK**\
  Allows the role to unlock the protection.\
  \&#xNAN;*Toggle permission: chestprotect.setting.protection.unlock*
* **EDIT\_FLAGS**\
  Allows the role to edit flags of the protection.\
  \&#xNAN;*Toggle permission: chestprotect.setting.protection.edit\_flags*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.incredibleplugins.com/chestprotect/configuration/roles-and-flags.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
