# Edit Currency

> **Info:**
Every option on this page is saved to the currency's own file in the currencies folder, and applies straight away.

| Left | Middle | Right |
| --- | --- | --- |
| Identifier, Display | Currency Type (Right-Click: Edit Type) | Payments, Banknotes or Experience Bottles |
| Format, Commands and Access | Bank | Exchange Rates, Summon Leaderboard |

The bottom bar holds Enabled on the left, and Clone Currency and Delete Currency on the right. A disabled currency shows `Is Enabled: No` in the currency list and still opens in the editor.

## Display Name

The name players see in messages, menus and placeholders. Color codes work. An empty name is ignored.

<figure><img src="../../.gitbook/assets/currency/display-name.png" alt="" width="563"><figcaption><p>Display (Display Name)</p></figcaption></figure>

## Icon

The item that stands for the currency in the wallet, the editor lists and the delete confirmation.

<figure><img src="../../.gitbook/assets/currency/icon.png" alt="" width="563"><figcaption><p>Display (Icon)</p></figcaption></figure>

## Symbol

The symbol, such as `$` or `Gems`, put where the Format has `%symbol%`.

<figure><img src="../../.gitbook/assets/currency/symbol.png" alt="" width="563"><figcaption><p>Format (Symbol)</p></figcaption></figure>

## Format

How amounts are written. It must contain `%amount%`, and can use `%symbol%` and `%name%` for the display name. `%symbol%%amount%` gives `$1,250.00`, `%amount% %symbol%` gives `1,250 Gems`. A format without `%amount%` is ignored.

<figure><img src="../../.gitbook/assets/format/format.png" alt="" width="563"><figcaption><p>Format</p></figcaption></figure>

## Singular and Plural Name

The names `%name%` in the format writes: the singular one for exactly 1, the plural one for any other amount, such as `1 Gem` and `5 Gems`. Other plugins get them through Vault and the API too. Empty uses the display name.

<figure><img src="../../.gitbook/assets/format/singular-name.png" alt="" width="563"><figcaption><p>Format (Singular Name)</p></figcaption></figure>

<figure><img src="../../.gitbook/assets/format/plural-name.png" alt="" width="563"><figcaption><p>Format (Plural Name)</p></figcaption></figure>

## Decimals

How many decimals amounts keep, from 0 to 4. Anything past them is dropped, never rounded up, in payments, admin changes and exchanges alike.

<figure><img src="../../.gitbook/assets/format/decimals.png" alt="" width="563"><figcaption><p>Format (Decimals)</p></figcaption></figure>

## Thousands Separator

Writes amounts as `1,000,000` when on, `1000000` when off.

<figure><img src="../../.gitbook/assets/format/thousands-separator.png" alt="" width="563"><figcaption><p>Format (Thousands Separator)</p></figcaption></figure>

## Short Amounts In Chat

Writes amounts in chat messages as `1.2k`, `3.5M` and so on. Menus and the regular placeholders keep the full amount.

<figure><img src="../../.gitbook/assets/format/short-amounts-in-chat.png" alt="" width="563"><figcaption><p>Format (Short Amounts In Chat)</p></figcaption></figure>

## Balances

Left-Click on Currency Type cycles between Balance, Physical item and Experience. Right-Click opens the Type screen. The balances themselves are kept in the database, not in the currency's file.

<figure><img src="../../.gitbook/assets/balances/balances.png" alt="" width="563"><figcaption><p>gems (Type)</p></figcaption></figure>

## Starting Balance

What a player has before their first change, and what a reset puts them back to.

<figure><img src="../../.gitbook/assets/balances/starting-balance.png" alt="" width="563"><figcaption><p>Type (Starting Balance)</p></figcaption></figure>

## Maximum Balance

The most a player can hold. A payment, an admin give or an exchange that would go past it is refused. -1 is unlimited.

<figure><img src="../../.gitbook/assets/balances/maximum-balance.png" alt="" width="563"><figcaption><p>Type (Maximum Balance)</p></figcaption></figure>

Balances never go below 0. The same row sets the [worlds](../../features/worlds-and-servers.md#worlds) the currency can be used in. A Physical item currency also gets Item and Deposit Click on the row below, see [Item Currencies](../../features/item-currencies.md). An Experience currency gets the Experience Unit on the row instead, see [Experience Currencies](../../features/experience-currencies.md).

## Reset On Wipe and Reset Balances

Reset On Wipe decides whether `/pcur wipe` puts this currency back to the starting balance or lets it keep its balances. Reset Balances does that right away for every player, banks included, after a confirm screen. See [Resetting Currencies](../../features/resetting-currencies.md).

## Exchange Rates

What this currency can be exchanged for, one rate per other currency. See [Exchange](../exchange.md).

<figure><img src="../../.gitbook/assets/exchange-rates/exchange-rates.png" alt="" width="563"><figcaption><p>gems (Exchange Rates)</p></figcaption></figure>

## Payments

Whether players can send the currency to each other, with its fees, daily limits and cooldown. See [Payments](../payments.md).

<figure><img src="../../.gitbook/assets/payments/payments.png" alt="" width="563"><figcaption><p>gems (Payments)</p></figcaption></figure>

## Banknotes

The notes players withdraw from this currency. See [Banknotes](../banknotes.md). Physical item currencies have no banknotes, since withdrawing gives the items. On an Experience currency the same button is Experience Bottles, see [Experience Currencies](../../features/experience-currencies.md#experience-bottles).

<figure><img src="../../.gitbook/assets/banknotes/banknotes.png" alt="" width="563"><figcaption><p>gems (Banknotes)</p></figcaption></figure>

## Bank

An optional bank for this currency, off by default. See [Bank](../bank.md).

<figure><img src="../../.gitbook/assets/bank/bank.png" alt="" width="563"><figcaption><p>gems (Bank)</p></figcaption></figure>

## Summon Leaderboard

Summons a PhoenixHolograms leaderboard of this currency where you stand, and turns the currency's [leaderboard](../leaderboards.md) on if it was off. Locked while PhoenixHolograms is not installed. The leaderboard can be turned off again with `leaderboard: false` in the [currency file](../../configurations/currency-file.md). See [NPCs & Holograms](../../features/npcs-and-holograms.md#leaderboard-hologram).

<figure><img src="../../.gitbook/assets/leaderboard/leaderboard-hologram.png" alt="" width="563"><figcaption><p>gems (Summon Leaderboard)</p></figcaption></figure>

## Commands and Access

The commands that reach this currency, and who can use it where.

<figure><img src="../../.gitbook/assets/commands-and-access/commands-and-access.png" alt="" width="563"><figcaption><p>gems (Commands and Access)</p></figcaption></figure>

## Command

The currency's command, without the slash. Leave it empty for no command. If another plugin owns the name, that plugin keeps it, see [Currency Commands](../../plugin-information/commands.md#currency-commands).

<figure><img src="../../.gitbook/assets/commands-and-access/command.png" alt="" width="563"><figcaption><p>Commands and Access (Command)</p></figcaption></figure>

## Command Aliases

Other names for the same command, separated by commas.

<figure><img src="../../.gitbook/assets/commands-and-access/command-aliases.png" alt="" width="563"><figcaption><p>Commands and Access (Command Aliases)</p></figcaption></figure>

## Subcommands

Renames the subcommands of this currency: balance, pay, exchange, history, deposit, withdraw, paytoggle, bank and bottle. Renaming pay to `send` makes it `/money send <player> <amount>`, and `/money pay` stops working. Each name is one word and can't be another subcommand's name. Empty puts the default back.

<figure><img src="../../.gitbook/assets/commands-and-access/subcommands.png" alt="" width="563"><figcaption><p>Commands and Access (Subcommands)</p></figcaption></figure>

## Needs Permission

Players need `phoenixcurrencies.currency.<id>` to use the currency at all. See [Currency Permissions](../../plugin-information/permissions.md#currency-permissions).

<figure><img src="../../.gitbook/assets/commands-and-access/needs-permission.png" alt="" width="563"><figcaption><p>Commands and Access (Needs Permission)</p></figcaption></figure>

## Worlds and Servers

Where the currency can be used. See [Worlds and Servers](../../features/worlds-and-servers.md).

<figure><img src="../../.gitbook/assets/worlds-and-servers/worlds-and-servers.png" alt="" width="563"><figcaption><p>Commands and Access (Servers)</p></figcaption></figure>

## Currency Type

Whether players hold the currency as a plain balance, or deposit and withdraw it as items or as experience. Left-Click switches the type, Right-Click opens its settings. See [Item Currencies](../../features/item-currencies.md) and [Experience Currencies](../../features/experience-currencies.md).

<figure><img src="../../.gitbook/assets/balances/currency-type.png" alt="" width="563"><figcaption><p>gems (Type)</p></figcaption></figure>

## Enabled

Turns the currency on or off, saved as `enabled` in its file. See [Disabling a Currency](README.md#disabling-a-currency). The Vault currency can't be turned off and shows why instead.

<figure><img src="../../.gitbook/assets/currency/enabled.png" alt="" width="563"><figcaption><p>gems (Enabled)</p></figcaption></figure>

## Clone Currency

Asks for a new id and copies the currency and every balance to it. The clone starts disabled. See [Cloning a Currency](README.md#cloning-a-currency).

<figure><img src="../../.gitbook/assets/currency/clone-currency.png" alt="" width="563"><figcaption><p>gems (Clone Currency)</p></figcaption></figure>

## Delete Currency

Deletes the currency, its file and every balance of it, after a confirmation.

<figure><img src="../../.gitbook/assets/currency/delete-currency.png" alt="" width="563"><figcaption><p>gems (Delete Currency)</p></figcaption></figure>

Source: https://www.phoenixplugins.com/docs/phoenix-currencies/main-features/currencies/edit-currency