/multicurrency | Opens the main menu of the plugin.
Balance Command
/multicurrency balance | Shows your balance with the default currency.
/multicurrency balance <currency> | Shows your balance with the specified currency.
/multicurrency balance <currency> <player> | Shows the specified players balance with the specified currency.
Economy Command
/multicurrency economy set <currency> <amount> | Sets your balance with the specified currency to the amount specified.
/multicurrency economy set <player> <currency> <amount> | Sets the targets balance with the specified currency to the specified amount.
/multicurrency economy add <currency> <amount> | Adds the specified amount with the specified currency to your account.
/multicurrency economy add <player> <currency> <amount> | Adds the specified amount with the specified currency to the targets account.
/multicurrency economy remove <currency> <amount> | Removes the specified amount with the specified currency from your account.
/multicurrency economy remove <player> <currency> <amount> | Removes the specified amount with the specified currency from the targets account.
Pay Command
/multicurrency pay <player> <currency> <amount> | Sends a payment to specified player.
/multicurrency pay toggle | Toggles payments.
Permissions
multicurrency.command.multicurrency
multicurrency.command.balance
multicurrency.command.balance.other | This is for displaying balance of other players
multicurrency.command.economy.set
multicurrency.command.economy.add
multicurrency.command.economy.remove
multicurrency.command.pay
multicurrency.command.pay.toggle
Developer API
Code (Java):
// To use the api do: MultiCurrencyAPI multiCurrencyAPI
=new MultiCurrencyAPI
();
// Methods createCurrency
(String,
String)// Returns the created currency. getAllCurrencies
()// Returns all created currencies. getAllAccounts
()// Returns accounts of all online players. getAccount
(UUID
)// Returns the account of the specified player give
(Player,
Double)// Adds money with the default currency to the specified players account. give
(Player, Currency,
Double)// Adds money with the specified currency to the specified players account. take
(Player,
Double)// Takes money with the default currency from the specified players account. take
(Player, Currency,
Double)// Takes money with the specified currency from the specified players account.
// Remove the {} and enter the currencies singular name.
%multicurrency_balance_{currency}%
%multicurrency_balance_{currency}_nosymbol%
%multicurrency_balance_{currency}_formatted%
%multicurrency_balance_{currency}_formatted_nosymbol%
%multicurrency_balance_{currency}_all%
%multicurrency_balance_{currency}_all_nosymbol%
%multicurrency_balance_{currency}_all_formatted%
%multicurrency_balance_{currency}_all_formatted_nosymbol%
[/B]