Changes:
- Added give random command to give a random number of mobcoins between two values.
- Update item when drop amount changes in the event.
- Bump Kotlin version to 2.2.0.
- Enhanced command help functionality with configurable messages.
- Added functions to the UserManager class that can be used without kotlin coroutines.
- Removed libreforge hook since the effects for libreforge is now included in libreforge itself.
- Refactored some code.
Changes:
- Added permission
ultimatemobcoins.update-check
that is required to receive notification about updates on join. - Make sure to update the username of the player when it has changed.
- Added formatting_compact placeholders to miniplaceholders and placeholderapi expansion (See documentation).
- Properly refresh shop when the reset timer has passed.
- Added support for refresh-timer to shop to allow refreshing of non-rotating shops as well.
- Added shop with timer example menu.
- Fixed issue with permission for menus where in some cases permission plugins would check empty permission strings.
- Keep shop data persistent when reloading menus.
- Refactored code for the menus.
- The refresh shop action now completely refreshes the shop, and the refresh shop items action refreshes the items only (See documentation)
Changes:
- Allow negating permission to prevent players with the permission to purchase an item.
- Should fix error when reloading plugin while players have a shop opened.
- Fixed grammar issue in pay_sender message.
- Should fix error that can happen when using itemsadder item.
- Added support for libreforge in the plugin because it takes too long for the PR to be accepted into libreforge itself.
- Added leaderboard placeholders to placeholderapi and miniplaceholders expansion.
- A lot of code improvements.
Changes:
- Added setting to allow hoppers to pickup mobcoin items.
- Added permission to use autopickup when it is enabled in the settings (ultimatemobcoins.autopickup)
- Allow spinnerprizes command to be executed as console when providing a player as argument.
- Allow opening spinner menu with menu action (spinnermenu)
- Added support for nexo (untested).
- Added update checker.
- Allow the use of all miniplaceholders placeholders in the plugin.
- Prevent clickspam in shop menus.
- Added more placeholders to be used in the menu (spinner_price, mobcoins [alias for balance], mobcoins_collected, mobcoins_spent)
- Fixed issue with take command where you could take more mobcoins than the player had.
- Improved logging of configuration errors
- Fixed placeholder flickering when two or more players have the inventory open at the same time when using player purchasing limits.
- Fixed enchantments not working when using caps in enchantment name.
- Allow opening shop for other player by command with /mobcoins shop <shop> <player>
- Allow UUID or placeholders as skull or playerhead value.
- Fixed menu not properly populating the given shop slots.
- Updated a few dependencies.
- You can now add an item that fills the empty spots in the inventory by creating an item called filler.
- Fixed some deprecation warnings with BetonQuest 2.1.3.
- Fixed NPE when trying to get non-existing user from database.
- Created custom PlayerArgument that allows wrapping the username in quotes and supports bedrock usernames.
- Added experimental support for RoseStacker. Fixed weird bug when mobcoin chance had a double value.
- Added the option to use the plugin as Economy provider in Vault in new hooks.yml file.
- Made a few optimizations.
- Bumped a few dependencies.