Commands and permissions¶
Commands¶
| Command | Permission | |
|---|---|---|
/balance [player] |
embercoins.use |
Every currency at once |
/pay <player> <amount> [currency] |
embercoins.use |
Send money |
/baltop [currency] |
embercoins.use |
Richest players |
/coins withdraw <amount> [currency] |
embercoins.use |
Balance into a coin |
/coins gui |
embercoins.admin |
The editor |
/coins drop <amount> [currency] |
embercoins.admin |
Drop a coin |
/eco give\|take\|set <player> <amount> |
embercoins.admin |
Administer balances |
/balance reload |
embercoins.admin |
Reload config |
Aliases: /bal, /money, /coins, /balancetop, /moneytop, /economy.
Permissions¶
| Node | Default | |
|---|---|---|
embercoins.use |
everyone | Check balance, pay, withdraw |
embercoins.balance.others |
op | See someone else's balance |
embercoins.admin |
op | Give, take, set, and the editor |
Placeholders¶
Requires PlaceholderAPI.
%embercoins_balance% |
primary currency, formatted |
%embercoins_raw% |
primary currency, bare number |
%embercoins_balance_<id>% |
a named currency, formatted |
%embercoins_raw_<id>% |
a named currency, bare number |
%embercoins_top_name_1% |
first place |
%embercoins_top_amount_1% |
and what they hold |
Both a formatted and a raw form of every balance, because a scoreboard wants "1,240 Coins" and a calculation wants "1240".
For developers¶
Vault is the supported integration. If you need the extra currencies, or you
are on Folia where Vault does not run, four methods are available by
reflection on the EmberCoins plugin instance:
double getBalance(UUID id)
boolean withdraw(UUID id, double amount)
boolean deposit(UUID id, double amount)
String formatMoney(double amount)
Deliberately plain — UUIDs and doubles, with no type of ours in any signature — so reflecting over them stays stable across versions. This is exactly how Ember Shop finds Ember Coins on Folia, with no build dependency in either direction.
Language¶
Every message in this plugin lives in lang/. Six translations ship
alongside English, and any line you leave untranslated falls back to English
rather than showing blank.
See Languages.