# BossShopPro

Tokens automatically implements into BossShopPro in three ways, as Points, as Rewards, and as a PriceType. For each implementation you can simply put `tokens`as the value. To see an example shop [click here](https://pastebin.com/UKhgMvxk), or you can find the usage for each type below.

## Rewards

Rewards in BSP is what you get when you purchase something. Here is an example of a shop item that exchanges $100 currency for 1 Token.

```
Money100forToken1:
    PriceType: money
    Price: 100
    MenuItem:
      - type:EMERALD
      - amount:1
      - name:&61 Token
      - 'lore:&cPrice: $%price%'
    Message: '&aYou''ve purchased &e%reward%&a for &e$%price%'
    InventoryLocation: 1
    ExtraPermission: ''
    RewardType: tokens
    Reward: 1
```

{% hint style="warning" %}
Notice how the reward type is `tokens` all lowercase with an 's' on the end.
{% endhint %}

## PriceType

PriceTypes in BSP is what you pay to purchase something. Here is an example of a shop item that exchanges 1 Token for $100 currency.

```
Token1For100Money:
    PriceType: tokens
    Price: 1
    MenuItem:
      - type:DIAMOND
      - amount:1
      - name:&6$100 Money
      - 'lore:&cPrice: %price%'
    Message: '&aYou''ve purchased &e$%reward%&a for &e%price%'
    InventoryLocation: 2
    ExtraPermission: ''
    RewardType: MONEY
    Reward: 100
```

{% hint style="warning" %}
Notice how the PriceType is `tokens` all lowercase with an 's' on the end.
{% endhint %}
