# Exchange

> **Info:**
Rates are set per currency and saved to its own file in the currencies folder.

## Exchange

Players exchange with `/<currency> exchange <currency> <amount>`, or from the [wallet](../features/wallet.md). The command without arguments lists the rates of that currency.

The amount is what the player offers. With 100 Money = 1 Gem, offering 250 money gives 2 gems and takes only 200 money; the rest stays with the player. An exchange that would give nothing, or push them past that currency's maximum balance, is refused. Both currencies have to be usable by the player, where they are.

## Exchange Rates

The Exchange Rates screen of a currency lists every other currency. Left-Click one and write how much of this currency 1 of the other one costs: writing 100 on Money for Gems sets 100 Money = 1 Gem. Shift + Left-Click clears the exchange, both its rate and its daily limit. A currency without a rate cannot be exchanged into.

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

Rates only go one way. Exchanging Gems back into Money needs its own rate on Gems.

## Daily Exchange Limit

How much of one other currency a player can get from this one per day, set per target on the Exchange Rates screen with Right-Click. Counted in the currency received, such as 12 Gems a day, shared by every server on the same database, and reset at the server's midnight. Empty is unlimited. `phoenixcurrencies.bypass.limits` skips it.

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