- Tested Minecraft Versions:
- Source Code:
An easy way to access your players balance. Simple import this API into your projects where balance has a role and your're ready to go!
This plugin works with all versions of Spigot above 1.8 even the newest 1.13.1!
To use the API simply follow the instructions on the github page here *Click Me*
or simply Copy&Paste this little Code in your onEnable method
Depending on what runtime your using this API for BungeeCord or Spigot!
If you want to know why this way read here!Code (Java):CurrencyAPI currencyAPI = SpigotCurrency.getInstance().getCurrencyAPI();
CurrencyAPI currencyAPI = BungeeCurrency.getInstance().getCurrencyAPI();
There are 2 commands one to display the balance or another players balance, the other one to change the balance deposit/withdraw.
Code (Text):/balance - Shows your own balance
/balance <player> - Shows a players balance
/currency withdraw <player> <amount> - To withdraw from a players balance
/currency deposit <player> <amount> - To deposit to an players balance
Free for personal and commercial use
You may not resell, re-distribute, or abuse the creator's copyrights
♦ Do not this claim as yours
♦ Do no redistrubute as a COMMERCIAL USE item
♦ Have available for download on your or other sites
PLEASE ALSO NOTE A FEW CLASSES HAVE A MIT LICENSE ATTACHED!
Thanks for using my CurrencyAPI there will be updates from time to time to make sure it still works as intended!