# Experience Currencies

<figure><img src="../.gitbook/assets/experience-currencies/experience-currencies.png" alt="" width="563"><figcaption><p>xp (Type)</p></figcaption></figure>

> **Info:**
The type is set per currency with **Type** in **Editor > Currencies > \<currency>**, the other options on this page open with Right-Click on **Type** and in **Experience Bottles**, all saved to the currency's own file in the currencies folder.

## Experience Currencies

An Experience currency is a balance in the database that players fill with their own experience. Once the experience is deposited it works like any other balance: payments, offline players, leaderboards, banks and worlds all apply. Amounts are always whole numbers.

## Experience Unit

Whether 1 of the currency is one level or one experience point. It decides what a deposit takes from the player and what a withdrawal gives back.

<figure><img src="../.gitbook/assets/experience-currencies/experience-unit.png" alt="" width="563"><figcaption><p>Type (Experience Unit)</p></figcaption></figure>

## Depositing

Left-Click on the currency in the [wallet](wallet.md), or `/<currency> deposit`, puts all the player's experience into the balance. `/<currency> deposit <amount>` only puts in that much, and is refused when the player has less. A deposit that would go past the [maximum balance](../main-features/currencies/edit-currency.md#maximum-balance) is refused and the experience stays with the player.

## Withdrawing

Press Q on the currency in the wallet, or `/<currency> withdraw <amount>`, takes the amount from the balance and gives it back as experience.

## Experience Bottles

`/<currency> bottle <amount>`, or Ctrl + Q on the currency in the wallet, takes the amount from the balance and gives the player a bottle holding exactly that. Right-clicking the bottle drinks it and gives the experience to whoever holds it, so bottles can be traded or stored like any item.

<figure><img src="../.gitbook/assets/experience-currencies/experience-bottles.png" alt="" width="563"><figcaption><p>Experience Bottles (Banknotes)</p></figcaption></figure>

Bottles can't be thrown or fired from a dispenser. Every bottle works once: a copy of it is empty. Redeeming follows the currency's [permission](../plugin-information/permissions.md#currency-permissions) and [restrictions](worlds-and-servers.md).

Bottles use the same settings as [banknotes](../main-features/banknotes.md), found under **Experience Bottles** in the currency's editor: whether bottling is on, the smallest and largest bottle, and the name and lore. The item is always an experience bottle, so there is no item option.

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