
MysteryBoxes v1.21.08
⭐ Mystery Vault • Crafting • Gifting • Themes • Songs • Upgrades • MySQL
1.20.45
Apr 30, 2024
COMMANDS
- Updated the system.
- Hide some unecessary commands.
- Improved the tab-completion system.
- Improved the look of some commands.
v1.20.44
Apr 28, 2024
BUG FIXED
- Fixed a bug where invalid theme & song data would be stored locally, leading to errors.
- Fixed a bug where players couldn't interact with menus if MySQL was disabled.
v1.20.43
Apr 27, 2024
MYSQL DATABASE
- Optimized the overall system performance.
- Reduced the number of queries sent for each player.
- This change GREATLY boosted the performance.
- I was able to reduce load/save times by up to 80%.
- Added the data modification check:
- Only modified data will be sent to the database.
- Meaning, if a player joins and leaves immediately, no queries will be sent to the database.
- On the other hand, if, let's say, the player receives some currency, only that currency will be queried.
- Added systems in place to prevent server crashes when reloading the plugin.
- Fixed a lot of issues when file sync was enabled.
v1.20.42
Apr 26, 2024
THEMES
- Added cool descriptions to themes.
- New Theme: Solar System
- "Planets align, in Minecraft's skies, a grand design, for wondering eyes."
- Preview: [url]https://youtu.be/eX8gSGVt77Q[/url]
- Reworked Theme: End Astronaut Void Convergence
- "As the void uncurls, it eats all there is, until there is none."
- Preview: [url]https://youtu.be/Ze41bJes2hw[/url]
COMMANDS
- Updated the "/mb stats" command:
- Now displays player's unique ID.
- Formatting is better.
v1.20.41
Apr 23, 2024
THEMES
- Re-coded the Underwater Trouble theme:
- No longer uses the external library for displaying lasers.
- Replaced the lasers with particle effects.
- Added back the water sphere effect.
- Added unique particles when opening more than one box.
BUG FIXES
- Fixed a bug where the open vault event would be fired twice.
v1.20.40
Apr 21, 2024
MYSQL DATA SYNCING
- Introducing a new feature that allows you to upload boxes and loots to a MySQL database.
- Connected MysteryBoxes plugins will update their boxes and loots in real-time.
- Eliminates the need for manual configuration on multiple servers.
- Two tables are used: "MB_BOX_FILES" for boxes and "MB_LOOT_FILES" for loots.
- Import boxes, loots, or both.
- Plugin creates a session ID on load and compares it with the database.
- If the session ID doesn't match, boxes and loots are synced from the database.
- Use "/mb release" command to push a new session to the database.
- All connected MysteryBoxes will update their boxes and loots.
- Updated config.yml: https://pastebin.com/zmpuFuNV
v1.20.39
Apr 17, 2024
GENERAL
- Optimizations and system updates.
BOXES
- The format for assigning loots has changed:
- Before: "id:loot_id;chance:50"
- After:
- By ID: "id{loot_id} | chance{50}"
- By File: "file{file_name} | chance{100}"
- You can now specify either the loot ID or the file name.
- If the file is specified, all loots from that file will be assigned.
FIREWORKS
- The firework builder has received an update.
- You can now use RGB colors for both the initial and fade colors.
- The builder is now much more beginner-friendly to work with:
- Before: STAR;false;false;0;LIME;WHITE
- After: type{BALL_LARGE} | flicker{true} | trail{false} | p{0} | c{WHITE} | f{rgb(255,255,255)}
v1.20.38
Apr 15, 2024
GENERAL
- Updated error messages across the plugin.
- System updates and optimizations.
THEMES
- Added the ability to specify how the Vault looks during a theme.
- Updated the theme builder - you can now specify the number of rings and the task period (speed of the animation).
BUG FIXES
- Fixed a bug that caused placeholders not to be translated.
v1.20.37
Apr 14, 2024
GENERAL
- Added null warnings to prevent unknown errors, such as "Task #X generated an exception".
ECONOMY
- Fixed a bug that sometimes caused the currency to be reset (sorry for that!).
HOLOGRAMS
- Added a warning when the plugin detects that one of the holograms was externally removed.
LOOTS
- "{DUST_TO_GIVE}" is now properly translated in broadcasts.
THEMES
- You can now customize the terrain blocks.
- The settings are located under the "theme-settings" in each theme file.
- Here's an example: https://pastebin.com/raw/Gb00vNDy
- Updated the system behind executing the themes.
- Note: Some themes may look weird after this update. I will work on them in future updates.
v1.20.36
Apr 9, 2024
FILTERS
- You can now specify the default filtering option for players.
- This setting is located in the config file under general-settings.
- https://i.imgur.com/GHzOe3d.png
BOXES
- You can now specify whether a box can only be opened one at a time.
- This setting is located in the box file under opening-settings.
- https://i.imgur.com/ve2Xieg.png
BUG FIXES
- Fixed a bug that caused null pointer exceptions under some scenarios.
v1.20.35
Mar 24, 2024
ADMIN TOOLS MENU
- Replaced the admin-related shortcuts in the Vault with a single Admin Tools Menu.
- Within the Admin Tools menu, you can find various admin-related tools.


SONG PACK
- Added a new menu that guides you through the creation of a Song Pack.
- Removed the /mb generatepack and /mb verifypack commands.


v1.20.34
Mar 8, 2024
GENERAL
- Optimized the performance.
- Adjusted the default config files.
PERMISSIONS
- Adjusted some permission systems.
COMMANDS
- Improvements to various data-showing commands.
- Tab suggestions should now be more accourate.
MENUS
- Re-designed the Alerts menu - now with proper icons and descriptions.
v1.20.33
Feb 16, 2024
COMMANDS
- Completely re-coded the tab completion system.
- With this update, the plugin will now suggest many more options.
- The error-checking and invalid-syntax systems have been improved.
- The plugin will now alert you if you entered an invalid number or provided incorrect range syntax.
- Tab completion now supports:
- Players
- Boxes/Gifts
- Songs
- Themes
- Any number-related arguments
- Range syntax
v1.20.32
Feb 15, 2024
BUG FIXES
- Fixed: Incorrect number of boxes being opened when a player leveled up their Time Box upgrade.
v1.20.31
Feb 13, 2024
MYSQL DATABASE
- Reduced the number of queries needed to save data.
- Previously, the plugin was sending a query for each box, gift, update, theme, song, etc., resulting in 30+ queries with the default configuration. As of this update, the number of queries will always be roughly +/- 9.
BUG FIXES
- Fixed: Item model data not being loaded properly for loots.
- Fixed: Not being able to create Vaults on player heads.
v1.20.30
Feb 11, 2024
MYSQL DATABASE
- Optimized the connection.
- Optimized the systems for loading/saving data.
- Added more debug messages to easier locate issues.
v1.20.29
Jan 31, 2024
GENERAL
- Updated the backend systems.
- Updated comments across the plugin.
- Minor optimizations.
v1.20.28
Jan 12, 2024
BUG FIXES
- Fixed: Decoration items are not displayed in menus with specific triggers.
v1.20.27
Jan 11, 2024
DEVELOPER'S NOTE
- The "Couldn't look up profile properties" error was caused by the plugin attempting to look up "player->" heads because Mojang limits the number of requests the server can make within a certain timestamp. For this reason, the "player->" heads are disabled until I find a solution on how to fix them. "custom->" heads are still working as intended.
BUG FIXES
- Fixed: Some menus freezing the server.
- Fixed: The "Couldn't look up profile properties" error.
v1.20.26
Jan 8, 2024
BUG FIXES
- Fixed: The menus now take into account the "menu-rows" setting.
- Fixed: Menu items no longer throw "out-of-bounds" errors.