Apparently because of the recent update to cache the balance internal the usage of the API got changed!
- Spigot Version resets the Player balance on join to 0
- API Changes due to Caching
The new Way of getting the API instance is as follows:
Depending on what runtime your using BungeeCord or Spigot you must use it this way! If you do it the old way by creating a new instance the values will be messed up because they are not synchron.Code (Java):CurrencyAPI currencyAPI = SpigotCurrency.getInstance().getCurrencyAPI();
CurrencyAPI currencyAPI = BungeeCurrency.getInstance().getCurrencyAPI();