# Commands & Permissions

Arguments with carrots `<>` represent a required parameter. `()` are optional parameters with default fields. Arguments with multiple `()` require prior optional parameters to be filled out.

<table><thead><tr><th width="199">Command</th><th width="168">Arguments</th><th width="141">Permissions</th><th>Details</th></tr></thead><tbody><tr><td>config</td><td></td><td>AC.Config</td><td>Opens an in-game editor for the plugin</td></tr><tr><td>list</td><td></td><td>AC.List</td><td>Lists all available crate names</td></tr><tr><td>set</td><td>&#x3C;crate></td><td>AC.Set</td><td>Sets the block you are looking at to be a stationary Crate</td></tr><tr><td>remove</td><td></td><td>AC.Remove</td><td>Removes the crate block you are looking at from being a crate</td></tr><tr><td>addreward</td><td>&#x3C;crate></td><td>AC.Set</td><td>Adds the item you are holding in your hand as a reward to the specified crate</td></tr><tr><td>give</td><td>&#x3C;player> &#x3C;crate> (amount)</td><td>AC.Give</td><td>Gives the player a dynamic crate (block)</td></tr><tr><td>sgive</td><td>&#x3C;player> &#x3C;crate> (amount)</td><td>AC.Give</td><td>Silent give command</td></tr><tr><td>giveall</td><td>&#x3C;crate> (amount)</td><td>AC.Give</td><td>Gives everybody on the server the specified dynamic crate(s)</td></tr><tr><td>key give</td><td>&#x3C;player> &#x3C;crate> (amount)</td><td>AC.Give</td><td>Gives the player specified crate key(s)</td></tr><tr><td>key giveall</td><td>&#x3C;crate> (amount)</td><td>AC.Give</td><td>Gives everyone on the server specified amount of crate keys</td></tr><tr><td>virtualkey withdraw</td><td>&#x3C;crate> (amount)</td><td>AC.Withdraw</td><td>Withdraws virtualkeys to physical keys</td></tr><tr><td>virtualkey give</td><td>&#x3C;player> &#x3C;crate> (amount)</td><td>AC.VGive</td><td>Gives player specified virtual keys</td></tr><tr><td>virtualkey gift</td><td>&#x3C;player> &#x3C;crate> (amount)</td><td>AC.Gift</td><td>Removes virtual keys from sender and gives them to the specified user</td></tr><tr><td>virtualkey set</td><td>&#x3C;player> &#x3C;crate> &#x3C;amount></td><td>AC.VSet</td><td>Sets player's specified crates virtual keys to a specific amount (can be given/removed/reset this way)</td></tr><tr><td>virtualkeys</td><td>&#x3C;player></td><td>AC.VGive</td><td>Displays the specific player's virtual keys balance</td></tr><tr><td>virtualkeys</td><td></td><td></td><td>Displays the executing command player's virtual keys balance</td></tr><tr><td>reload</td><td></td><td>AC.Reload</td><td>Reloads all plugins configurations</td></tr><tr><td>pouch list</td><td></td><td>AC.PouchList</td><td>Lists all available pouches</td></tr><tr><td>pouch give</td><td>&#x3C;player> &#x3C;pouch> (amount)</td><td>AC.PouchGive</td><td>Gives player the specified pouch</td></tr><tr><td>pouch giveall</td><td>&#x3C;pouch> (amount)</td><td>AC.Giveall</td><td>Gives everybody on the server a specified Pouch</td></tr><tr><td>pouch sgive</td><td>&#x3C;player> &#x3C;pouch> (amount)</td><td>AC.PouchGive</td><td>Silent pouch give command</td></tr><tr><td>togglemessages</td><td></td><td>AC.ToggleMessages</td><td>Turns on/off messages from being sent to the player via AC plugin</td></tr><tr><td>rewards</td><td>&#x3C;crate></td><td>AC.Rewards</td><td>Opens the preview GUI of the crate's rewards</td></tr><tr><td>rewards</td><td>&#x3C;player> &#x3C;crate></td><td>AC.Rewards</td><td>Opens the preview GUI of the crate's rewards for another player</td></tr><tr><td></td><td></td><td>AC.CantOpen</td><td>Users with "AC.CantOpen" permission won't be able to open a crate. This can be used for multiple world settings (when entering one world user gets this permission and is not able to open the crate)</td></tr></tbody></table>


---

# 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://pm2plugins.gitbook.io/advancedcrates/general-information/commands-and-permissions.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.
