# Purging Accounts

> **Info:**
/pcur purge needs phoenixcurrencies.command.purge. The automatic purge is in config.yml and **Editor > Settings**.

## Purge Command

`/pcur purge <days> [currency]` shows how many balances belong to players who have not joined for that many days. Adding `confirm` deletes them. With a currency, only that currency's balances go. Without one, every balance goes, together with the player's name, daily counters, banks and queued deliveries.

Players online on this server are never purged. Every deleted balance is written to the [transaction log](transaction-log.md) and the total to the console.

## Automatic Purge

Purges every currency once a day for players who have not joined for this many days. Servers sharing a database run it once between them. 0 turns it off.

<figure><img src="../.gitbook/assets/settings/automatic-purge.png" alt="" width="563"><figcaption><p>Players (Automatic Purge)</p></figcaption></figure>

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