# Multi-currency

{% code title="config.yml" %}

```yaml
# vault:default - Default currency from Vault
# rediseconomy:lyra - Custom currency from RedisEconomy
# Leave this empty [] if you don't want to use any currency
# Don't name the same currency twice on different integrations
allowedCurrencies:
- name: vault:default
  material: GOLD_INGOT
  customModelData: 0
  displayName: <gold>Money
- name: playerpoints:playerpoints
  material: LAPIS_LAZULI
  customModelData: 0
  displayName: <blue>PUNTI
- name: minecraft:xp
  material: EXPERIENCE_BOTTLE
  customModelData: 0
  displayName: <green>Exp
```

{% endcode %}

#### The format is <mark style="color:orange;">`hookName:currencyName`</mark>

Remember: Do not choose the same currencyName for different hookNames

### GUI Showcase

<figure><img src="https://2658899963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FulSBFCQTszosGNaaOSrD%2Fuploads%2Fgit-blob-67e79bcdde7bbff047804af60a2196d20815f251%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

### Ask on [Discord](https://discord.gg/c6MBaKtkDc) if you need additional custom currency integrations!

### You can change the position of currencies inside the GUI by editing this file:

{% code title="guis.yml" %}

```yaml
# M - First currency, N - Second currency, O - Third currency
# o - Customer first currency, n - Customer second currency, m - Customer third currency
tradeGuiStructure:
- CMNODonmc
- LLLLrRRRR
- LLLLvRRRR
- LLLLVRRRR
- LLLLxRRRR
- LLLLxRRRR
```

{% endcode %}
