This plugin allows you to have a physical item as your currency.
you must have Vault installed to be able to use it, as well as an Economy plugin (Tested with EssentialsX).
Permissions:
Code (YAML):
(Player Perms
)
epiccurrency.withdraw - Allows a player to /withdraw from their vault bank to the physical item.
epiccurrency.deposit - Allows a player /deposit currency from their inventory to their vault bank.
epiccurrency.pay - Allows a player to transfer money from their bank to another player vault bank
(online or offline
).
epiccurrency.bank - This allows the use of /bank <bank-name
>
epiccurrency.bank.view - This allows the use of /bank
epiccurrency.user.bank.back - This puts the user back on the bank overview page when they click back
(Staff Perms
)
epiccurrency.admin - Allows access the the admin GUI
Commands
Code (YAML):
(Player Commands
)
/withdraw <amount> - Withdraws money from their vault bank to the default currency.
/deposit
[amount
] - Deposit default currency back to the Vault.
/pay <player> <amount> - Pay a player a custom amount from your vault bank.
/bank - This opens a GUI with
all banks
/bank <bank-name> - This opens the specific bank
(Staff Commands
)
/epiccurrency - Open the admin GUI
Events
Code (Java):
DepositEvent
(Cancellable
)
: Provides you with the player and amount they want to deposit
WithdrawEvent
(Cancellable
)
: Provides you with the player and amount they want to withdraw
PayEvent
(Cancellable
)
: Provides you with the player and their target
(OfflinePlayer
) and amount they want to pay
If you have any issues, questions, or suggestions, please DM me here on Spigot or on discord
https://discord.gg/G9EHGf2WV9