[Abandoned] MultiCurrency | Easily create multiple currencies. icon

[Abandoned] MultiCurrency | Easily create multiple currencies. -----

Easily create multiple currencies



MultiCurrency

Commands
  • Main Command
  • /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.
 

PlaceholderAPI
Code (Text):

%multicurrency_balance_default%
%multicurrency_balance_default_nosymbol%
%multicurrency_balance_default_formatted%
%multicurrency_balance_default_formatted_nosymbol%
%multicurrency_balance_default_all%
%multicurrency_balance_default_all_nosymbol%
%multicurrency_balance_default_all_formatted%
%multicurrency_balance_default_all_formatted_nosymbol%


// 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]
 

Support

Discord

Planned Features (More to come!)
- Vault Support
- PlaceholderAPI Support Done!
(This is my first plugin that i have finished so it may have many many bugs)
Resource Information
Author:
----------
Total Downloads: 1,352
First Release: Nov 23, 2022
Last Update: Jun 21, 2023
Category: ---------------
All-Time Rating:
9 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings