> For the complete documentation index, see [llms.txt](https://edseries-plugins.gitbook.io/p/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edseries-plugins.gitbook.io/p/pinnagiveaways/reference/commands.md).

# Commands & Permissions

| Command                                         | Description                                                                             | Permission               |
| ----------------------------------------------- | --------------------------------------------------------------------------------------- | ------------------------ |
| `/giveaway`                                     | Opens the giveaways menu (the sponsor menu with `gui.enabled: false`)                   | `pinnagiveaways.use`     |
| `/giveaway toggle`                              | Hides / shows the animation for yourself (you still take part)                          | `pinnagiveaways.use`     |
| `/giveaway list`                                | Lists the giveaways and their countdowns in chat                                        | `pinnagiveaways.use`     |
| `/giveaway sponsor [amount] [currency]`         | Opens the sponsor menu, or the confirm menu for that amount                             | `pinnagiveaways.sponsor` |
| `/giveaway help`                                | Shows the commands you can use                                                          | -                        |
| `/giveaway start <id>`                          | Starts a giveaway now (an automatic one restarts its timer)                             | `pinnagiveaways.admin`   |
| `/giveaway preview [id]`                        | Plays the animation for you only; nothing is announced or given                         | `pinnagiveaways.admin`   |
| `/giveaway preview sponsor [amount] [currency]` | The sponsored animation, with you as the sponsor                                        | `pinnagiveaways.admin`   |
| `/giveaway currencies`                          | Lists the currencies, their provider and why any didn't load                            | `pinnagiveaways.admin`   |
| `/giveaway migrate <yaml\|mysql> <yaml\|mysql>` | Copies the data to the other storage ([Storage](/p/pinnagiveaways/features/storage.md)) | `pinnagiveaways.admin`   |
| `/giveaway reload`                              | Reloads config.yml, messages.yml, the currencies and the menus                          | `pinnagiveaways.admin`   |

Aliases: `/giveaways`, `/gw`, `/pgiveaway`. From the console, `/giveaway` lists the giveaways.

| Permission                   | Default  | Description                                  |
| ---------------------------- | -------- | -------------------------------------------- |
| `pinnagiveaways.use`         | everyone | Menu, list and animation toggle              |
| `pinnagiveaways.participate` | everyone | Takes part in giveaways                      |
| `pinnagiveaways.sponsor`     | everyone | Sponsors giveaways                           |
| `pinnagiveaways.admin`       | op       | start, preview, currencies, migrate, reload  |
| `pinnagiveaways.entries.<n>` | -        | Extra entries, as configured under `entries` |

Set `exempt-permission` in config.yml (e.g. `pinnagiveaways.exempt`) to leave staff out of the draws.
