
MysteryBoxes v1.21.08
⭐ Mystery Vault • Crafting • Gifting • Themes • Songs • Upgrades • MySQL
v1.20.25
Jan 7, 2024
GENERAL
- Optimized many back-end systems.
- Updated comments across the plugin to provide better information.
ITEM / ICON BUILDERS
- The item/icon builders have a whole new set of settings. With this update, you can customize many more settings. For example, potion effects, apply tags, apply enchantments, and much more.
LOOTS
- You can now create effects in a separate file (effects.yml) and then assign them to each loot separately. This change saves space in the loot files and makes it easier to maintain the same effect for different loots.
BUG FIXES
- Fixed: Players can now send gifts only with the proper permission.
- Fixed: The "You received a gift" message is no longer sent to the sender.
- Fixed: The Vault Editor can now be enabled.
v1.20.24
Jan 1, 2024
BUG FIXES
- Fixed: Not being able to enable/disable the Vault Editor.
- Fixed: Statistics not being translated properly.
- Fixed: Some menus not opening properly.
v1.20.23
Dec 28, 2023
GENERAL
- Added: Support for Player Heads and Custom Heads (1.20.04).
BUG FIXES
- Fixed: Colors not being translated properly.
v1.20.22
Dec 13, 2023
GENERAL
- Support for Spigot 1.20.4.
- Optimized the plugin.
- Fixed some bugs.
HEX COLORS
- Using hex color formatting in the plugin is easier than ever! Previously, you had to type the following: <SOLID:4287f5>, but with this update, you can simply use #4287f5.
v1.20.20
Dec 1, 2023
DEVELOPER'S NOTE
- This update overhauls how the MySQL system works. During initial testing, everything seemed okay; however, there might be some bugs. For the new system to function correctly, each table must have its PLAYER_ID row set as the primary key; otherwise, the plugin's queries won't work. I've added a script to upgrade the already existing tables with a primary key, but I'm unsure how it will perform on your end. If it doesn't work, you have two options: either manually make PLAYER_ID the primary key or delete the tables, allowing the plugin to generate new and functioning tables (note that this will reset player data).
GENERAL
- Added the "max-pool-size" setting to the MySQL settings (by default, it's set to 5).
BUG FIXES
- Fixed: MySQL not closing connections, leading to the "too many connections" error.
- Fixed: MySQL not syncing data properly, especially kit selections.
- Fixed: MySQL not setting PLAYER_IDs as a primary key.
- Fixed: MySQL performing too many queries, leading to lag spikes.
- Fixed: MySQL syncing process taking too long.
- Fixed: MySQL performing unsafe queries.
v1.20.06
Jul 2, 2023
GENERAL
- Many quality of life changes.
MENUS
- Fixed a bug that caused players to be able to grab items from menus.
v1.20.05
Jul 2, 2023
GENERAL
- Many quality of life changes.
BUG FIXES
- Fixed a bug that caused "{DUST_TO_GIVE}" to appear in the Loot History.
- Removed the "chance to drop" debug message.
v1.20.04
Jun 30, 2023
UPGRADES
- The system has been overhauled and new features have been added.
- Each upgrade level has its own settings, such as price and bonuses.
- This system allows for a more complex customization of each upgrade level.
- After updating, it is recommended to delete the Upgrades folder to allow the plugin to generate new files.
v1.20.03
Jun 29, 2023
MYSTERY LOOTS
- Implemented the "drop-duplicate" setting for each loot.
- Implemented the "dust-to-give" setting for each loot.
- The "dust-to-give" value is used for all dust-related calculations, such as the Dust Collector upgrade.
- Added the "{DUST_TO_GIVE}" placeholder.
- This placeholder will be substituted with the value from "dust-to-give" after completing all dust-related calculations.
- Transferred the settings from "duplicate-settings" to the loot-creator.
- Removed the "duplicate-settings" category (refer to the above changes).
- Here's an example: [url]https://pastebin.com/raw/0rZQc4iQ[/url]
v1.20.02
Jun 26, 2023
GENERAL
- Optimized the code.
- Updated the systems.
BUG FIXES
- Fixed ConcurrentModificationException errors.
v1.20.01
Jun 22, 2023
GENERAL
- The plugin now supports Spigot/Paper 1.20+.
- All sql-related data operations are now async.
- Optimized the onPlayerJoin event to prevent lag-spikes.
- Optimized the process of translating placeholders.
BUG FIXES
- Fixed a bug that caused "identifier already in use" on reload.
- Fixed a bug that caused massive spam of nullpointer errors.
v1.19.122
Jun 21, 2023
GENERAL
- Now supports Spigot 1.20.
- Optimized the plugin.
- Squashed some nasty bugs.
v1.19.121
Jun 6, 2023
Important! Due to some people reporting crashes after reloading the plugin, I have discovered that the loot history is causing it. In this version, if you are using MySQL, the loot history will not be synced with your database until I find a solution for why the loot history is crashing it.
v1.19.120
Jun 1, 2023
BUG FIXES
- Fixed a bug where the data for a player wouldn't be loaded.
- Fixed a bug where the MySQL would sometimes throw errors.
v1.19.119
May 23, 2023
BUG FIXES
- Fixed a bug that caused the Gifts menu to display invalid gifts.
- Fixed a bug where gifts wouldn't be consumed on send.
v1.19.118
May 22, 2023
BUG FIXES
- Fixed a bug that allowed players to shift-click their items into the menus.
v1.19.117
May 21, 2023
PLACEHOLDERS
- Added a new placeholder that shows the number of boxes registered.
- {BOX_TYPES_AVAILABLE} - in configs.
- %mysteryboxes_box_types_available% - PlaceholderAPI.
MYSQL
- Optimized the system.
- Fixed some bugs.
v1.19.116
May 18, 2023
GENERAL
- Optimized the plugin.
BUG FIXES
- Fixed a bug where themes' features wouldn't be removed on reload.
- Fixed a bug where vaults would stay in the open state on reload.
- Fixed random errors when a player left the server.
v1.19.115
May 15, 2023
GENERAL
- Optimized the mysql syncing syncing process.
BUG FIXES
- Fixed a bug that where ConcurrentModificationException would be thrown when a player quit the server.
v1.19.114
May 11, 2023
TRIGGER SCAN
- A new command has been added that scans through every menu to look for invalid triggers.
- Invalid triggers are problematic because they do not inform the plugin about what an item in a menu is doing.
- For instance, without the NEXT_PAGE trigger, the plugin would not recognize the Next Page item.
- To initiate a scan, type /mb scantriggers while in-game.