MysteryBoxes | The Ultimate Loot Boxes Experience

MC Plugin MysteryBoxes | The Ultimate Loot Boxes Experience v1.20.43
✅ Loot Boxes, Crafting, Gifting, Themes, Songs, Upgrades & MORE

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.
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
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:
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)}
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)}
FILTERS
  • You can now specify the default filtering option for players.
    • This setting is located in the config file under general-settings.

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.

BUG FIXES
  • Fixed a bug that caused null pointer exceptions under some scenarios.
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.
[IMG]

[IMG]


SONG PACK
  • Added a new menu that guides you through the creation of a Song Pack.
  • Removed the /mb generatepack and /mb verifypack commands.
[IMG]
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.
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
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.
Top Bottom