> ## Documentation Index
> Fetch the complete documentation index at: https://docs.p2w.lol/llms.txt
> Use this file to discover all available pages before exploring further.

# Blacklist & Access

> Control who can open tickets and manage manual attendees.

## Overview

For more permission control in tickets, you can use the blacklist or manually allow/deny access to specific tickets. Blacklisted members or roles **cannot open tickets**. If an option has `Required Roles` configured, those checks also run before the ticket is opened.

***

## Important Notes

Support visibility is controlled per option. If an option does not define support roles, the system falls back to the global ticket staff role configuration. `Allow` and `deny` are strictly for **extra** ticket access on a specific ticket — they do not replace the creator, claimer, or the ticket's built-in support/staff visibility rules.

<Info>
  Manual allow entries are preserved through claim and unclaim, denied while the ticket is closed, and restored if the ticket is reopened. Using deny removes that manual access entry entirely.
</Info>

***

## Global Blacklist

These commands apply globally and are not ticket-specific.

<Info>
  Running `.tickets blacklist <member/role>` toggles the entry — it adds if not present, removes if already blacklisted.
</Info>

<AccordionGroup>
  <Accordion title="Blacklist Member">
    <CodeGroup>
      ```javascript Syntax theme={null}
      .tickets blacklist <member>
      ```

      ```javascript Example theme={null}
      .tickets blacklist @user
      ```
    </CodeGroup>

    Toggles a member on or off the global blacklist. Blacklisted members cannot open any tickets in the server.
  </Accordion>

  <Accordion title="Blacklist Role">
    <CodeGroup>
      ```javascript Syntax theme={null}
      .tickets blacklist <role>
      ```

      ```javascript Example theme={null}
      .tickets blacklist @Muted
      ```
    </CodeGroup>

    Toggles a role on or off the global blacklist. Any member holding a blacklisted role cannot open tickets.
  </Accordion>

  <Accordion title="Blacklist List">
    <CodeGroup>
      ```javascript Syntax theme={null}
      .tickets blacklist
      ```
    </CodeGroup>

    Lists all currently blacklisted members and roles.
  </Accordion>
</AccordionGroup>

***

## Manual Ticket Access

These commands only apply to the ticket channel they are used in.

<AccordionGroup>
  <Accordion title="Allow Member">
    <CodeGroup>
      ```javascript Syntax theme={null}
      .tickets allow <member>
      ```

      ```javascript Example theme={null}
      .tickets allow @user
      ```
    </CodeGroup>

    Grants a member read and send access to the current ticket. The entry persists through claim/unclaim cycles and is suspended while the ticket is closed.
  </Accordion>

  <Accordion title="Allow Role">
    <CodeGroup>
      ```javascript Syntax theme={null}
      .tickets allow <role>
      ```

      ```javascript Example theme={null}
      .tickets allow @Helpers
      ```
    </CodeGroup>

    Grants a role read and send access to the current ticket.
  </Accordion>

  <Accordion title="Allow List">
    <CodeGroup>
      ```javascript Syntax theme={null}
      .tickets allow list
      ```
    </CodeGroup>

    Lists all manually allowed members and roles in the current ticket.
  </Accordion>

  <Accordion title="Deny Member">
    <CodeGroup>
      ```javascript Syntax theme={null}
      .tickets deny <member>
      ```

      ```javascript Example theme={null}
      .tickets deny @user
      ```
    </CodeGroup>

    Removes a member's access from the current ticket and deletes their manual allow entry entirely.
  </Accordion>

  <Accordion title="Deny Role">
    <CodeGroup>
      ```javascript Syntax theme={null}
      .tickets deny <role>
      ```

      ```javascript Example theme={null}
      .tickets deny @Helpers
      ```
    </CodeGroup>

    Removes a role's access from the current ticket and deletes their manual allow entry entirely.
  </Accordion>
</AccordionGroup>
