# Commands & Permissions

## Player commands

| Description                | Command                | Permission                |
| -------------------------- | ---------------------- | ------------------------- |
| Apply Coupon GUI           | /Coupon                | Coupon.Code.Apply         |
| Apply Coupon               | /Coupon Apply \[Code]  | Coupon.Code.Apply         |
| Coupon History             | /Coupon History        | Coupon.Code.History       |
| Player's help              | /Coupon Help \[Player] | Coupon.Help.Player        |
| Player's info about plugin | /Coupon Info \[Player] | Coupon.Info.Player        |
| Player's preferences       | /Coupon Profile        | Coupon.Profile.Preference |

## Admin commands

| Description                             | Command                                                | Permission                      |
| --------------------------------------- | ------------------------------------------------------ | ------------------------------- |
| Admin's help                            | /Coupon Help Admin                                     | Coupon.Help.Admin               |
| Advanced info about plugin              | /Coupon Info Admin                                     | Coupon.Info.Admin               |
| Create Coupon                           | /Coupon Create \[Code]                                 | Coupon.Code.Create              |
| Settings                                | /Coupon Settings                                       | Coupon.GUI.Settings.Open        |
| Reload whole plugin                     | /Coupon Reload \[All]                                  | Coupon.Reload.All               |
| Reload localization file                | /Coupon Reload Locale                                  | Coupon.Reload.Locale            |
| Reload options file                     | /Coupon Reload Options                                 | Coupon.Reload.Options           |
| Link Figure with ArmorStand             | /Coupon Figure Find                                    | Coupon.Figure.Find              |
| Place Figure                            | /Coupon Figure Place                                   | Coupon.Figure.Place             |
| Remove Figure                           | /Coupon Figure Remove                                  | Coupon.Figure.Remove            |
| Change Figure's mode                    | /Coupon Figure SetMode \<Mode>                         | Coupon.Figure.Mode              |
| Remove all statistics                   | /Coupon Statistics Remove All                          | Coupon.Statistics.Remove.All    |
| Remove all statistics of one CouponCode | /Coupon Statistics Remove All \<Code>                  | Coupon.Statistics.Remove.All    |
| Remove player's statistics              | /Coupon Statistics Remove Player \<PlayerName>         | Coupon.Statistics.Remove.Player |
| Remove player's Coupon Code             | /Coupon Statistics Remove Player \<PlayerName> \<Code> | Coupon.Statistics.Remove.Player |

## Additional permissions

Collection of permissions not assigned to commands.

### Permissions

Highlighted permissions are considered as recommended

* Bold - Recommended to all players
* Italic - Recommended to only specific group of players

<table><thead><tr><th>Description</th><th>Permission</th><th data-hidden></th></tr></thead><tbody><tr><td>Base player's actions</td><td><strong>Coupon.Player</strong></td><td></td></tr><tr><td>Complete package of all permissions</td><td>Coup<em>on.Admin</em></td><td></td></tr><tr><td>All reload commands</td><td>Coupon.Reload.*</td><td></td></tr><tr><td>All figure commands</td><td>Coupon.Figure.*</td><td></td></tr><tr><td>Permission per-coupon code</td><td><em>Coupon.Code.Apply.&#x3C;CouponCode></em></td><td></td></tr><tr><td>All statistics commands</td><td>Coupon.Staticists.Remove.*</td><td></td></tr></tbody></table>

## Explanatory notes

* **\[]** - **Square Brackets** - Optional argument. Command has the same effect, if that argument is not used.
* **<>** - **Less/More than signs** - Mandatory argument. It's a variable.
  * Example: **\<PlayerName>** will be replaced with **SobkySK**


---

# 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.innouniq.com/plugins/promotional-activity/coupon/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.
