> For the complete documentation index, see [llms.txt](https://identix.rlib.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://identix.rlib.io/faq/changing-currencies.md).

# Change Currencies

Changing currencies player's will pay for name changes

* Open <mark style="color:red;">**`lua\modules\identix\cfg\sh_cfg_names.lua`**</mark>
* Locate<mark style="color:red;">**`cfg.names.cost_type`**</mark>

You may select any of the following currency types:

| Value                                       | Desc                          |
| ------------------------------------------- | ----------------------------- |
| <mark style="color:red;">**rp**</mark>      | DarkRP money                  |
| <mark style="color:red;">**ps1**</mark>     | Pointshop 1                   |
| <mark style="color:red;">**ps2**</mark>     | Pointshop 2 \| Regular points |
| <mark style="color:red;">**ps2prem**</mark> | Pointshop 2 \| Premium points |

Ensure that you change <mark style="color:red;">**`cfg.names.cost`**</mark> so that the system charges the player the correct amount.

{% tabs %}
{% tab title="lua\modules\identix\cfg\sh\_cfg\_names.lua" %}

```lua
// charges player 1 Pointshop 2 Premium credit per name-change

cfg.names =
{
    cost_enabled            = true,
    cost_type               = 'ps2prem',
    cost                    = 1,
}
```

{% endtab %}
{% endtabs %}

![Example of currency change display for players](https://3687349274-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdXIH0b1w0n50Fq6xFX%2F-MTl-k9EXdUACTwVlq4y%2F-MTl25uFsLhkZAI1qyxg%2Fcurrency_psp.png?alt=media\&token=ab12d526-f6a0-4e64-b96a-baee5223ccff)
