> 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/pinnablockselector/reference/commands.md).

# Commands & Permissions

Aliases: `/mineblocks`, `/blockselect`.

| Command                                                                                                                                                   | Permission                                   |
| --------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- |
| `/blockselector` - the selector (or the purchase menu while locked)                                                                                       | `pinnablockselector.use` (default: everyone) |
| `/blockselector <category>` - open it on a category                                                                                                       | `pinnablockselector.use`                     |
| `/blockselector give <player> [-s]` - unlock it for good (works offline; `-s` = no message to the player)                                                 | `pinnablockselector.admin`                   |
| `/blockselector take <player>` - remove a bought / given unlock and the choice                                                                            | `pinnablockselector.admin`                   |
| `/blockselector info <player>` - how they have it and what they chose                                                                                     | `pinnablockselector.admin`                   |
| `/blockselector set <player> <blocks...>` - set their blocks (spaces or commas, e.g. `stone,oak_planks`)                                                  | `pinnablockselector.admin`                   |
| `/blockselector clear <player>` - put their mine back on its tier blocks                                                                                  | `pinnablockselector.admin`                   |
| `/blockselector open <player> [category]` - open the menu for a player (NPCs, other menus)                                                                | `pinnablockselector.admin`                   |
| `/blockselector migrate <from> <to>` - copy all data between `yaml` and `mysql` ([Storage](/p/pinnablockselector/getting-started/storage.md#moving-data)) | `pinnablockselector.admin`                   |
| `/blockselector reload` - config, messages and the block list                                                                                             | `pinnablockselector.admin`                   |

Every admin command also works from the console. `set` and `clear` skip the cooldown and the category permissions, and refill the mine of an online player (`mine.regen-on-apply`); offline players get it at their next join.

## Permissions

| Permission                  | Default  |                                                                                                             |
| --------------------------- | -------- | ----------------------------------------------------------------------------------------------------------- |
| `pinnablockselector.use`    | everyone | `/blockselector`                                                                                            |
| `pinnablockselector.admin`  | op       | every admin subcommand (includes `.use`)                                                                    |
| `pinnablockselector.unlock` | nobody   | have the Block Selector while held (config `unlock-permission`)                                             |
| `pinnablockselector.bypass` | op       | no apply cooldown (config `cooldown-bypass-permission`)                                                     |
| your category permissions   |          | choose that category's blocks ([Categories](/p/pinnablockselector/features/categories.md#rank-only-blocks)) |
