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

# Role Password

Tickets Role Password allows you to setup a channel that in which can have a role granted when a member says an exact password

{% hint style="info" %}
Passwords are **Case sensitive**, so ensure members are typing them correctly
{% endhint %}

## Setup

{% hint style="danger" %}
Proceed with caution, ensure the role you are giving does not have any **Moderation Permissions**, giving these types of roles may cause a server nuke
{% endhint %}

Run the `/rolepassword` command, you'll be presented with a bunch of configuration selections\
Heres what each of them mean\
1\. Role: The Role that will be given when the password is said in the correct channel\
2\. Channel: The channel that must have the password sent in it to gain the role\
3\. Password: The piece of text (up to 100 characters) that is required to be sent in the correct channel to gain the role\
4\. Enabled: Whether or not this system will function at all

<figure><img src="/files/wPf7OKD4UX1Y5xNobHsb" alt=""><figcaption></figcaption></figure>

## How it works&#x20;

A User will send a message in the channel you selected, if it is exactly equal to the password you sent Tickets will add the role to the member and react to let them (and you) know it was successful\
You can also see a demonstration in the GIF Below

<figure><img src="/files/a68XfhMV9fvndsnLAc2h" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://invomagic.gitbook.io/ticketsdocs/utility/rolepass.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
