Placeholders
Every ExyliaEconomy placeholder for balances, currency names and leaderboards, to use in scoreboards, tab lists and holograms.
With PlaceholderAPI installed, every placeholder starts with %exyliaeconomy_economy_. Inside the plugin's own files and other Exylia plugins the short form (%economy_balance_dollars%) works too. Write <currency> as a currency id such as dollars. A balance without a currency uses the default currency.
| Placeholder | Shows | Example |
|---|---|---|
%exyliaeconomy_economy_balance% | The viewer's balance in the default currency, formatted. | $1,250.00 |
%exyliaeconomy_economy_balance_<currency>% | The viewer's balance in one currency, formatted. | $1,250.00 |
%exyliaeconomy_economy_compact_<currency>% | The same balance in the currency's short format. | $1.2k |
%exyliaeconomy_economy_raw_<currency>% | The number alone, at the currency's decimals. | 1250.00 |
%exyliaeconomy_economy_name_<currency>% | The currency's plural name. | Dollars |
%exyliaeconomy_economy_name_singular_<currency>% | The name of one unit. | Dollar |
%exyliaeconomy_economy_name_plural_<currency>% | The plural name, the same as name. | Dollars |
%exyliaeconomy_economy_symbol_<currency>% | The currency's symbol. | $ |
%exyliaeconomy_economy_rank_<currency>% | The viewer's place on the leaderboard, or — when outside the first 100 or exempt. | 7 |
%exyliaeconomy_economy_total_<currency>% | Every balance added up, the money supply, formatted. Only currencies with a leaderboard. | $1,204,300.00 |
%exyliaeconomy_economy_top_name_<place>_<currency>% | Who is at that place on the leaderboard, or — when it is empty. | Steve |
%exyliaeconomy_economy_top_amount_<place>_<currency>% | What they hold, formatted; the formatted zero when the place is empty. | $250,000.00 |
Amounts are already written the way the currency writes them, so most lines need nothing else.
Placeholder arguments are split at underscores, so netherite_ingots cannot be read this way. Name a currency with letters and digits only (ingots) if you want it in a scoreboard.
Leaderboards#
Only stored currencies with Leaderboard on are ranked. The board is cached for a minute and holds the first 100 places. Until a board has been read once after a start, top_name answers — and amounts answer zero while the read starts. top_name and rank answer — rather than nothing, so a fallback never replaces them.
%exyliaeconomy_economy_top_name_1_dollars% - %exyliaeconomy_economy_top_amount_1_dollars%
%exyliaeconomy_economy_rank_shards%Something missing on this page? Tell us on Discord