-
Notifications
You must be signed in to change notification settings - Fork 6
Placeholders
Zefir edited this page Mar 25, 2025
·
1 revision
The BankAccounts plugin provides the following PlaceholderAPI placeholders.
Important
All placeholders must be enclosed in % and start with bankaccounts_; for example:
%bankaccounts.balance%
For simplicity, this wiki omits the % symbols and the bankaccounts_ prefix—you should add those manually.
Variables in placeholders are denoted as <name>. For example, you might use balance_<id> as:
%bankaccounts_balance_AAAAbbbbCCCC1234%.
| Placeholder | Description | Since BankAccounts |
|---|---|---|
balance |
Total balance across all of the player’s accounts. | 1.11.0 |
balance_<id> |
Balance of the specified account. | 1.5.0 |
balance_formatted |
Formatted total balance across all of the player’s accounts. | 1.11.0 |
balance_formatted_<id> |
Formatted balance of the specified account. | 1.5.0 |
balance_formatted |
Short total balance across all of the player’s accounts. | 1.11.0 |
balance_formatted_<id> |
Short balance of the specified account. | 1.11.0 |
owner_<id> |
Player name of the owner of the specified account. | 1.5.0 |
type_<id> |
Account type of the specified account. | 1.5.0 |
name_<id> |
Account name of the specified account, or the ID if unnamed. | 1.5.0 |
account_list |
Comma-separated list of all of the player’s accounts. | 1.11.0 |
account_names |
Comma-separated list of all of the player’s account names. | 1.11.0 |
account_count |
Total number of accounts the player owns. | 1.11.0 |
When ‘formatted’ is used in the context of currency, it refers to a representation such as $123,456.78, which can be
configured in config.yml. The ‘short’ format appears as $123k, while unformatted currency is a plain numeric value,
such as 123456.78.