# 📜 Commands & Permissions

## Permissions

**Admin Permissions**

* `vortexprisoncore.admin` - Grants access to all admin commands

#### Player Permissions

* `vortexprisoncore.autoblock` - Allows use of the autoblock feature
* `vortexprisoncore.autosell` - Base permission for autosell access
* `vortexprisoncore.autosell.tier.1` through `vortexprisoncore.autosell.tier.6` - Grants access to specific tiers of autosell (each tier is one row in the GUI)
* `vortexprisoncore.economy_money_booster` - Required to get the effects of the money booster

## Commands

#### Admin Commands

| Command                                                    | Permission               | Description                                                                                        |
| ---------------------------------------------------------- | ------------------------ | -------------------------------------------------------------------------------------------------- |
| `/vpc`                                                     | `vortexprisoncore.admin` | Main plugin command                                                                                |
| `/vpc reload`                                              | `vortexprisoncore.admin` | Reloads most parts of the plugin                                                                   |
| `/vpc economy import essentials`                           | `vortexprisoncore.admin` | Imports economy data from Essentials (untested)                                                    |
| `/backpack give <player> <backpack>`                       | `vortexprisoncore.admin` | Gives a specific backpack to a player                                                              |
| `/bombs give <player> <bomb> [amount]`                     | `vortexprisoncore.admin` | Gives specified bombs to a player                                                                  |
| `/booster activate <booster> <player\|-GLOBAL> <duration>` | `vortexprisoncore.admin` | Activates a booster for a player or globally if `-GLOBAL` is specified. Time format: `1d 1h 1m 1s` |
| `/commanditem give <player> <itemid> [amount]`             | `vortexprisoncore.admin` | Gives a specific command item to a player                                                          |
| `/mine reset <mine>`                                       | `vortexprisoncore.admin` | Refills the specified mine                                                                         |
| `/mine convert`                                            | `vortexprisoncore.admin` | Converts mines from Catamines v3                                                                   |
| `/mine selector`                                           | `vortexprisoncore.admin` | Gives you the mine selector tool                                                                   |
| `/mine create <id>`                                        | `vortexprisoncore.admin` | Creates a mine for the selected area with the given ID (requires manual config)                    |
| `/pickaxe give <player>`                                   | `vortexprisoncore.admin` | Gives the default pickaxe to a player                                                              |
| `/pickaxe restore <player>`                                | `vortexprisoncore.admin` | Restores a player's pickaxe from the database if they lost it                                      |
| `/throwawaypickaxe give <player> <pickaxe>`                | `vortexprisoncore.admin` | Gives an unrepairable one-time use pickaxe to a player                                             |
| `/prisontreasures reset <player>`                          | `vortexprisoncore.admin` | Resets all daily limits for treasures for a player                                                 |

#### Player Commands

<table><thead><tr><th>Command</th><th width="280">Permission</th><th>Description</th></tr></thead><tbody><tr><td><code>/rankup</code></td><td>None</td><td>Rankups a player if they have enough money and tokens</td></tr><tr><td><code>/collections</code></td><td>None</td><td>Opens the collections menu</td></tr><tr><td><code>/autoblock on/off</code></td><td><code>vortexprisoncore.autoblock</code></td><td>Enables/disables automatic block compression</td></tr><tr><td><code>/autosell</code></td><td><code>vortexprisoncore.autosell</code> , <code>vortexprisoncore.autosell.teir3</code></td><td>Opens the autosell GUI</td></tr></tbody></table>
