# Commands

## Player Commands

| Command                            | Permission                                                  | Description                                        |
| ---------------------------------- | ----------------------------------------------------------- | -------------------------------------------------- |
| /mccredits pay \<player> \<amount> | mccredits.pay                                               | Transfer credits to another player.                |
| /mccredits shop \[player]          | <p>mccredits.shop (for self)</p><p>mccredits.admin.shop</p> | Open the shop menu for yourself or another player. |

## Admin Commands

| Command                                                                                                           | Permission                                     | Description                                              |
| ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- | -------------------------------------------------------- |
| /mccredits get \[player]                                                                                          | mccredits.admin.get mccredits.get.self         | View your own or another player’s credit balance.        |
| /mccredits reload                                                                                                 | mccredits.admin.reload                         | Reload the plugin configuration.                         |
| /mccredits help                                                                                                   | mclmccredits.admin.help                        | View a list of available commands.                       |
| /mccredits give \<player> \<amount>                                                                               | mccredits.admin.give                           | *Gi*ve credit to a player.                               |
| /mccredits take \<player> \<amount>                                                                               | mccredits.admin.take                           | Remove credits from a player.                            |
| /mccredits set \<player> \<amount>                                                                                | mccredits.admin.set                            | Set a player's credits to a specific amount.             |
| /mccredits reset \<player/\**>*                                                                                   | mccredits.admin.reset mccredits.admin.resetall | Reset a player’s credits. (or all players if \* is used) |
| /mccredits purchases \[player]                                                                                    | mccredits.admin.purchases                      | View a player's purchase history.                        |
| /mccredits discount \<create/remove> \<name> \<all/category/item> \<product\_id> \<percentage/absolute> \<amount> | mccredits.admin.discount                       | Manage discounts on shop items.                          |


---

# 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://docs.mongenscave.com/premium-products/credits/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.
