MysteryBoxes | The Ultimate Loot Boxes Experience

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

BUG FIXES
  • Fixed a bug that caused infinite "Syncing Data" status.
COMMANDS
  • Updated the tab completion system to provide better results when typing on the fly.
BUG FIXES
  • Fixed a bug that caused the system to show "Invalid X" during tab completion.
MYSQL DATABASE
  • Added a new system that adds commands to the queue if the data is syncing, to prevent data loss.
    • This system will ensure that data is set properly, regardless of whether the player has just joined or has been on the server for a while.
    • Keep in mind that it is recommended for players to be online when they are purchasing items from your server's item shop.
THEMES
  • New theme: Witch Brewing
    • "Bubbling cauldrons, potions stew, a witch's craft, in Minecraft's hue."
    • Preview:
  • New theme: Bee Hive
    • "Buzzing bees in honeyed hives, Sweet nectar flows, the hive thrives."
    • Preview:
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.
Top Bottom