Changelog:
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...Code (Java):CurrencyAPI currencyAPI = SpigotCurrency.getInstance().getCurrencyAPI();
CurrencyAPI currencyAPI = BungeeCurrency.getInstance().getCurrencyAPI();

CurrencyAPI [1.8 - 1.13.X] 1.3
Provides a database to store, modify and call a players balance
-
Major Fix & API Changes
-
Major Fixes
Changelog:
- Error when using /currency command with offline players
- Typos in /currency
- TabComplete (alltrough the new tabcomplete system 1.13 is amazing so i gave it a try xD)
- Updated http://repo.zm4xi.de
-
Little Fixes
Changelog:
- Typo Fix in Help Message(Spigot)
- argument length was wrong in the spigot currency command
- Typo Fix in Help Message(Spigot)
-
1.13 compatible
Changelog:
- checked for 1.13 compability
-
Caching database entries & Fixed some errors/misspellings
Changelog:
- Added caching for the balance of a player
- Corrected color code in a help message
- Updated Maven Repo to 1.1
Thanks to @HAlex for the suggestion to make it cache the balance.
The methods of the API got reworked but still work the same way.
Only updates still will be triggering a SQL Statement so the database can keep up. If the server would crash without the steady updates the could be data loss. Thats why i keept it that way -
Added Maven Repository
Hosted my own Repository Server now you can use the API even easier xD
Maven Repository:
Code (Text):<repositories>
<repository>
<id>currencyapi-repo</id>
<url>http://repo.zm4xi.de</url>
</repository>
</repositories>Code (Text):<dependencies>
<dependency>
<groupId>de.zm4xi.currencyapi</groupId>
<artifactId>CurrencyAPI</artifactId>...