# Banks

> **Info:**
Banks, their members and their balances are kept in the database.

## Banks

A bank is an account that is not a player: a town treasury, a faction bank, or the server's own account. It holds a balance in every currency, and its members put money in and take it out with `/pcur bank deposit` and `/pcur bank withdraw`. A bank can also collect the [payment fees](payments.md#fee-goes-to) of a currency.

A bank called `server` is created on the first start and cannot be deleted. Banks are left out of leaderboards, interest and rewards.

## Creating a Bank

Create one from **Editor > Banks** or with `/pcur bank create <id>`. The id is 1 to 24 lowercase letters, numbers or `_`, and shows as `#id` in the transaction log. Deleting a bank deletes the money it holds.

## Members

Each member can deposit, withdraw, both, or only see the bank. A member added without rights can deposit but not withdraw. Members see their banks with `/pcur bank list` and the balances with `/pcur bank info <bank>`.

Players with `phoenixcurrencies.command.bank` see and use every bank, and can change its members and balances with the [bank admin commands](../plugin-information/commands.md).

## Balances

Everything the bank holds right now. Admins change it with `/pcur bank give|take|set <bank> <currency> <amount>`. A deposit or withdrawal follows the currency's [restrictions](../features/worlds-and-servers.md), and the bank cannot go past a currency's maximum balance.

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