You can download the Spigot Plugin here: (SOON)
The CoinManager have currently 1 Command:
This Command shows the current Player balance. You can also add a Player as argument to view their Balance.
The CoinManager have 4 Events you can listen to:
- PlayerCoinsAddEvent (When Coins for a Player are added)
- PlayerCoinsRemoveEvent (When Coins for a Player are removed)
- PlayerCoinsSetEvent (When Coins for a Player are set)
- PlayerPayCoinsEvent (When someone pays Coins to another Player)
You can give a Player Coins with this Code:
CoinManager.getStorageMananager().addCoins(UUID, COINS);You can remove Coins from a Player with this code:
CoinManager.getStorageMananager().removeCoins(UUID, COINS);You can also set the Coins for a Player:
CoinManager.getStorageMananager().setCoins(UUID, COINS);And of course you can get the Coins of a Player:
CoinManager.getStorageMananager().getCoins(UUID);