# Commands

`/chestprotect` Open the main menu. Executing `/chestprotect menu` has the same effect.\
\&#xNAN;*Permission: chestprotect.command.menu*

`/chestprotect menu`\
Open the main menu.\
\&#xNAN;*Permission: chestprotect.command.menu*

`/chestprotect lock`\
Enter lock mode and lock something by interacting with it.\
\&#xNAN;*Permission: chestprotect.command.lock*

`/chestprotect unlock`\
Enter unlock mode and unlock a protection by interacting with it.\
\&#xNAN;*Permission: chestprotect.command.unlock*

`/chestprotect view`\
Visualize all nearby permissions.\
\&#xNAN;*Permission: chestprotect.command.view*

`/chestprotect trust <player>`\
Enter the trust mode and trust a specific player by interacting with a protection.\
\&#xNAN;*Permission: chestprotect.command.trust*

`/chestprotect untrust <player>`\
Enter the untrust mode and untrust a specific player by interacting with a protection.\
\&#xNAN;*Permission: chestprotect.command.untrust*

`/chestprotect exit`\
Exist the lock, unlock, trust or untrust mode.\
\&#xNAN;*Permission: chestprotect.command.exit*

`/chestprotect help`\
View all available commands. Only commands are displayed for which you have permission to execute them.\
\&#xNAN;*Permission: chestprotect.command.help*


---

# 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/for-players/commands.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.
