[Abandoned] MultiCurrency | Easily create multiple currencie
1.4.6Easily 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
// 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
%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)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta