Patchnotes:
- Added many new PlaceholderAPI placeholders:
%coinsystem_balance_formatted%, %coinsystem_rank%, %coinsystem_top_balance%, %coinsystem_top_<n>_name%, %coinsystem_server_balance_total%, %coinsystem_default_balance%, %coinsystem_next_rank_balance%, %coinsystem_pay_limit%, %coinsystem_total_players% and more!
- Placeholders are now highly performant and partially cached for scoreboard/tablist use.
- Player names in top lists and everywhere else are always up-to-date, even after name changes.
- Unified and cleaned up CoinPlayer access and cache logic (getOrCreateCoinPlayer).
- Improved code structure and reduced duplicate code in commands.
- Various performance improvements for large servers.
- Minor bugfixes and internal refactoring.
**New Placeholders**
Code (Text):
%coinsystem_balance% -Alias for %coinsystem_coins%
%coinsystem_balance_formatted% - Shows your balance with thousands separator. Example: 1,234
%coinsystem_rank% - Shows your rank by coins. Example: 5
%coinsystem_top_balance% - Highest balance on the server. Example: 10000
%coinsystem_top_balance_formatted% - Formatted. Example: 10,000
%coinsystem_top_1_name% - Name of the richest player. Example: Pentrax
%coinsystem_server_balance_total% - Total coins on the server. Example: 123456
%coinsystem_server_balance_total_formatted% - Formatted. Example: 123,456
%coinsystem_default_balance% - Default starting balance for new players. Example: 1000
%coinsystem_default_balance_formatted% - Formatted. Example: 1,000
%coinsystem_next_rank_balance% - Coins needed for the next higher rank. Example: 2500
%coinsystem_next_rank_balance_formatted% - Formatted. Example: 2,500
%coinsystem_pay_limit% - Max coins you can pay at once (from config). Example: 5000
%coinsystem_pay_limit_formatted% - Formatted. Example: 5,000
%coinsystem_total_players% - Number of players with a coin account. Example: 42