Note about updates: Unless otherwise specified, your existing config options and messages will stay for all updates and new options/messages are added automatically. You will not lose any config options, messages, or loot tables.
New Features:
- Added a basic API:
- AureliumAPI class for static methods related to mana, xp, and skill level
- XpGainEvent - Called when xp is gained internally (cancelable)
- SkillLevelUpEvent - Called when a skill levels up (not cancelable)
- ManaRegenerateEvent - Called when a player's mana regenerates (cancelable)
- Added wood blocks (six sided logs) to the respective regular log xp source
- Added /sk rank (/skillrank) command to see rankings
- Added a ranking item in the level progression menu
- Added a /sk toggle (/abtoggle) command to toggle your own skills action bar
- Added a /sk save command to save skill data (async)
- Added a /sk updateleaderboards command that updates and sorts the leaderboard forcibly (async)
- New permissions:
- aureliumskills.abtoggle (default: true)
- aureliumskills.updateleaderboards (default: op)
- aureliumskills.save (default: op)
- aureliumskills.rank (default: true)
Changes:
- Better and more optimized leaderboards:
- Added pages for /sk top commands (/sk top <page> or /sk top [skill] <page>)
- Leaderboard caching and asynchronous periodic leaderboard updating (configurable)
- Message support for /sk top and /sk rank
- /skilltop command alias for /sk top
- Added sorting by XP if level is the same for more precise sorting
- MySQL data saving is now much more efficient (recommended for large player counts)
- Data saving to file is now asynchronous
- Accessing/modifying skill and stat data is now thread safe
- Mana no longer regenerates for offline players
- Updated spigot-api version to 1.16.3
- Mana now regenerates synchronously to support new ManaRegenerateEvent
Bug Fixes:
- Fixed plugin disabling when loading skill data with an invalid format, added warning
- Fixed action bar and regeneration not working for all players when a player is in a disabled world
- Fixed action bar only displaying as white in some versions (requires ProtocolLib)
- Fixed level progression menu in progress item displaying incorrect xp needed to level up and percent
- Fixed wisdom description grammar