Placeholder API support, Optimized file management, Better leaderboards, and Bug Fixes
New features:
- Most saving is now down asynchronously, meaning larger servers' performance should not suffer nearly as much
- At most 100 offline player stats are now loaded in asynchronously on startup. These are the last 100 people to play on the server. This prevents slowdown for servers that see many logins in a short span of time. The number of offline player stats that are loaded in is configurable in advancedConfig.yml (can be increased past 100, each 100 players corresponds to about 1MB of RAM).
- FreeRPG now has placeholders! How to use them can be found on the main plugin forum page.
- /frpg leaderboard optimized so it no longer slows down servers
- Leaderboards are now stored with server resources. Specific stats from any offline player can be loaded in from the leaderboard. This is used in placeholders, /frpg leaderboad, and /frpg statlookUp
- Leaderboards have two options: Dynamic Updates and Timed Updates. By default, leaderboards update dynamically (The leaderboard changes as player's increase their stats, the leaderboard is sorted every time it is requested). This can be switched to more traditional timed updates in advancedConfig.yml
- Added EXP farm tracking and spawner mob tracking. EXP nerfs from these two things configurable in advancedConfig.yml
- Superbait now has a cooldown timer, by default, it is set to 5 ticks between catches (capping users out at an effective 8 clicks per second). The cooldown value is configurable in advancedConfig.yml
- Repairing/Salvaging no longer works on items that have non-vanilla enchants on them. This is configurable in advancedConfig.yml
- /frpg now displays your position in the leaderboard for each skill
New commands:
- /frpg statLookup [playerName] - Looks up the stats/rankings of any player who has played on the server.
Bug Fixes:
- Craftbukkit servers should no longer see errors whenever actionbar messages are displayed (action bar messages display as chat messages)
- Repairing/Salvaging Netherite armor/tools now makes more sense. You can now longer effectively dupe netherrite bars with the skill
- Fixed null pointer error that occured when refunding the defense skill
- Defense's Perk "Hard Body" now caps at 100% instead of 100.9%
- Hearty perk should now work as intended