Black Friday Bundles up to 67% off Everything else is 30% off. Ends December 3. See the bundles →

Plugins

Browse

Edit Currency

Edit Currency

View as Markdown ·

On this page

circle-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, Storage

The bottom bar holds Enabled and Summon Leaderboard 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.

Display (Display Name)

#Icon

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

Display (Icon)

#Symbol

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

Format (Symbol)

#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.

Format

#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.

Format (Singular Name)

Format (Plural Name)

#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.

Format (Decimals)

#Thousands Separator

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

Format (Thousands Separator)

#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.

Format (Short Amounts In Chat)

#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.

gems (Type)

#Storage

Decides which database holds the balances of this currency. Click the chest at the right of the third row of the currency's main screen to switch.

Storage Where the balances are Shared with other servers After a restart
Network Database (default) The database set in config.yml Yes, when that database is MySQL, MariaDB or PostgreSQL Kept
This Server local-currencies.db in the plugin folder No Kept
This Server, Wiped on Restart local-currencies.db in the plugin folder No Deleted

Network Database follows config.yml. On a fresh install that is SQLite, so the balances sit in database.db on this server and the first two choices behave alike. The difference shows once the servers point at one MySQL, MariaDB or PostgreSQL database: Network Database currencies are then shared by every server and synced through Redis, while This Server currencies stay on the server they were earned on.

This Server suits a currency that should never leave one server, such as the tokens of a minigame server on a network that shares its main currency.

This Server, Wiped on Restart deletes every balance, transaction and bank entry of the currency each time the server starts or the plugin reloads, and its unredeemed banknotes stop working. The currency itself and its settings stay. The wipe is not written to the transaction log, so it can't be rolled back. Use it for a currency that should start over every restart, such as event points.

circle-exclamation

Switching the storage does not move existing balances. Players see the balances of the new storage, which start empty, and the old balances come back if you switch back.

#Starting Balance

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

Type (Starting Balance)

#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.

Type (Maximum Balance)

Balances never go below 0. The same row sets the worlds the currency can be used in. A Physical item currency also gets the Item and Deposit Click on the row below, around Reset Balances, see Item Currencies. An Experience currency gets the Experience Unit on the row instead, see Experience Currencies.

#Reset Balances

Puts this currency back to the starting balance for every player right away, banks included, after a confirm screen. It sits alone on the third row of the Type screen. A currency whose Storage is wiped on restart resets itself at every start. See Resetting Currencies.

#Exchange Rates

What this currency can be exchanged for, one rate per other currency. See Exchange.

gems (Exchange Rates)

#Payments

Whether players can send the currency to each other, with its fees, daily limits and cooldown. See Payments.

gems (Payments)

#Banknotes

The notes players withdraw from this currency. See Banknotes. Physical item currencies have no banknotes, since withdrawing gives the items. On an Experience currency the same button is Experience Bottles, see Experience Currencies.

gems (Banknotes)

#Bank

An optional bank for this currency, off by default. See Bank.

gems (Bank)

#Summon Leaderboard

Summons a PhoenixHolograms leaderboard of this currency where you stand, and turns the currency's leaderboard on if it was off. It sits in the bottom bar next to Enabled, and is locked while PhoenixHolograms is not installed. The leaderboard can be turned off again with leaderboard: false in the currency file. See NPCs & Holograms.

gems (Summon Leaderboard)

#Commands and Access

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

gems (Commands and Access)

#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.

Commands and Access (Command)

#Command Aliases

Other names for the same command, separated by commas.

Commands and Access (Command Aliases)

#Subcommands

Renames the subcommands of this currency: balance, pay, exchange, history, deposit, withdraw, paytoggle, bank, bottle and top. 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.

Commands and Access (Subcommands)

#Needs Permission

Players need phoenixcurrencies.currency.<id> to use the currency at all. See Currency Permissions.

Commands and Access (Needs Permission)

#Worlds and Servers

Where the currency can be used. See Worlds and Servers.

Commands and Access (Servers)

#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 and Experience Currencies.

gems (Type)

#Enabled

Turns the currency on or off, saved as enabled in its file. See Disabling a Currency. The Vault currency can't be turned off and shows why instead.

gems (Enabled)

#Clone Currency

Asks for a new id and copies the currency and every balance to it. The clone starts disabled. See Cloning a Currency.

gems (Clone Currency)

#Delete Currency

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

gems (Delete Currency)

My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping