# Commands & Permissions

### Player Commands

| Command                  | Description                                                               | Permissions                   |
| ------------------------ | ------------------------------------------------------------------------- | ----------------------------- |
| /trade \[item] \[type]   | Pay a user from a specified firm.                                         | playertrade.use               |
| /trade toggle            | Toggle if the shop should be shown in the menu and disables the hologram. | playertrade.toggle            |
| /trade hologramdirection | Changes the holograms direction for the shop.                             | playertrade.hologramdirection |

## Admin Commands

| Command       | Description                   | Permission               |
| ------------- | ----------------------------- | ------------------------ |
| /trade reload | Reloads all the config files. | playertrade.admin.reload |

## Rest API Commands

| Command                             | Description               | Permission                     |
| ----------------------------------- | ------------------------- | ------------------------------ |
| /trade apitokens                    | Shows the help menu.      | playertrade.apitokens          |
| /trade apitokens delete \[player]   | Delete your API token.    | playertrade.apitokens.delete   |
| /trade apitokens generate \[player] | Generate a new API token. | playertrade.apitokens.generate |

{% hint style="info" %}
**Permissions not working?**

The <> in some permissions are placeholders, you will need to replace them with a valid value like requested.
{% endhint %}

## Admin Permissions

| Permission                  | Description                                            |
| --------------------------- | ------------------------------------------------------ |
| playertrade.admin.update    | When a player joins they receive update notifications. |
| playertrade.admin.apitokens | Remove/Generate other players' API tokens.             |
