MysteryBoxes | Crates that give a random loot

SpigotVIP MysteryBoxes | Crates that give a random loot v4.0.10

MysteryBoxes | Crates that give a random loot
i0VUkPI.png

KHMaJpE.png


CREATE CUSTOM & UNLIMITED MYSTERY BOXES!

Create Mystery Boxes and configure them for your own needs. Mystery Boxes can contain almost everything you can think of. Use Mystery Boxes to unlock stuff from other plugins, give permissions, items, or else.
GiN6G67.png


DIFFERENT OPENING ANIMATIONS!

A different animation will be played depending on if you open one or more Mystery Boxes.
giphy.gif

giphy.gif


CREATE, REMOVE, OR VIEW MYSTERY VAULTS EASILY!

The Mystery Vault is a place where you can open Mystery Boxes, craft Mystery Boxes, view Statistics, view previous Loots, and manage Mystery Vaults.
sFc7SYT.png
vOD6OIb.png
9GxWp6f.png


CUSTOMIZE YOUR OPENING!

Before you open a Mystery Box, you'll be asked how many Mystery Boxes you would like to open. You can open up to ten Mystery Boxes at once.
DSPiWt8.png

Qsncfbo.png


SPEND MYSTERY DUST TO CRAFT MYSTERY BOXES!

Spend Mystery Dust to craft Mystery Boxes which can be opened in any Mystery Vault located on the server.

◉ "mb setdust <player> <amount>"
◉ "mb adddust <player> <amount>"
◉ "mb removedust <player> <amount>"
◉ "mb setdust <amount>" (everyone)
◉ "mb adddust <amount>" (everyone)
◉ "mb removedust <amount>" (everyone)
29vN8V6.png
5wB53RX.png


VIEW ALL YOUR PREVIOUS LOOTS!

After you open a Mystery Box, you will be able to view the loot you acquired in the Loot History menu.
mHXdxsP.png
iXGW4v9.png


ADVANCED DEBUG COMMANDS!

If the plugin is not working correctly, then run the debug commands from below. If there's at least one path missing or empty, then your config is outdated or broken and needs to be fixed.

The safest way to fix your config is to delete it and let the plugin generate a new one.

◉ "/mb checkvariables (print paths <true/false>)"
◉ "/mb checklanguage (print paths <true/false>)"
◉ "/mb listboxes"
◉ "/mb boxinfo <box ID>"
◉ "/mb lootinfo <box ID> <loot ID>"
OrCNENxjSvKKOhtpW6O1zw.jpeg

HU7TrM9ASqyIlz1PuqvOhA.jpeg

cWkMZUPmQwmAUaFCca-ODQ.jpeg

kl-yPiqRQf6glEKWedqW6A.jpeg

kqc5P4i5SCeQw0cLhFGjSQ.jpeg


MYSTERY VAULT HOLOGRAMS!

Code:
vault-holograms:
    boxes-available:
    - "&bMystery Vault"
    - "&c{BOXES_AVAILABLE} Boxes Available!"
    - "&e&lRIGHT CLICK"
    boxes-unavailable:
    - "&bMystery Vault"
    - "&e&lRIGHT CLICK"
    options:
        enabled: true
        height-increase: 1
        permission: "mysteryboxes.vault-holograms.see"

kFCsBXC.png
piz9PQ9.png


GENERAL OPTIONS!

Code:
general:
    ignore-permissions: false
    generate-ancient-treasure-box-file: true
    generate-mythic-treasure-box-file: true
    unlimited-boxes: false

DATA MANAGEMENT OPTIONS!

Code:
data-management:
    load-delay: 0
    loading-message-enabled: true
    loading-message: "&8[&dMystery Boxes&8] &eYour data will be loaded shortly..."
    loaded-message-enabled: true
    loaded-message: "&8[&dMystery Boxes&8] &eYour data was successfully loaded."

▶ MYSQL DATABASE!

Code:
mysql-database:
    properties:
        enabled: false
        auto-reconnect: true
        use-ssl: true
    credentials:
        hostname: "hostname"
        port: 3306
        database: "database"
        username: "username"
        password: "password"

CONFIGURABLE MENUS!

vault-menu:
inventory-rows: 6
group-boxes-by-type: true
craft-boxes-icon-enabled: true
craft-boxes-icon-type: ANVIL
craft-boxes-icon-player-head: false
craft-boxes-icon-player-name: "{PLAYER}"
craft-boxes-icon-data: 0
craft-boxes-icon-slot: 48
statistics-icon-enabled: true
statistics-icon-type: PLAYER_HEAD
statistics-icon-player-head: true
statistics-icon-player-name: "{PLAYER}"
statistics-icon-data: 0
statistics-icon-slot: 49
loot-history-icon-enabled: true
loot-history-icon-type: BOOK
loot-history-icon-player-head: false
loot-history-icon-player-name: "{PLAYER}"
loot-history-icon-data: 0
loot-history-icon-slot: 50
vault-manager-icon-enabled: true
vault-manager-icon-type: CRAFTING_TABLE
vault-manager-icon-player-head: false
vault-manager-icon-player-name: "{PLAYER}"
vault-manager-icon-data: 0
vault-manager-icon-slot: 52
craft-boxes-menu:
inventory-rows: 6
hide-uncraftable-boxes: false
vault-menu:
inventory-title: "Mystery Vault"
craft-boxes-name: "&aCraft Boxes"
craft-boxes-lore:
- ""
- "&7Use Mystery Dust to craft"
- "&7Mystery Boxes to later open"
- "&7them in a Mystery Vault."
- ""
- "&dGain Mystery Dust by obtaining"
- "&dthe same loot more than once."
- ""
- "&7Mystery Dust: &d{DUST_AVAILABLE}"
- ""
- "&eClick to open!"
statistics-name: "&a{PLAYER}'s Statistics"
statistics-lore:
- "&7Mystery Dust: &r{DUST_AVAILABLE}"
- "&7Boxes Opened: &r{STATISTIC_BOXES_OPENED}"
- "&7Boxes Crafted: &r{STATISTIC_BOXES_CRAFTED}"
loot-history-name: "&aLoot History"
loot-history-lore:
- ""
- "&7View all your previous loots."
- ""
- "&eYour five most recent loots found:"
- "&71. &r{LOOT_1_NAME}"
- "&72. &r{LOOT_2_NAME}"
- "&73. &r{LOOT_3_NAME}"
- "&74. &r{LOOT_4_NAME}"
- "&75. &r{LOOT_5_NAME}"
- ""
- "&7Boxes Opened: &r{STATISTIC_BOXES_OPENED}"
- ""
- "&eClick to view!"
vault-manager-name: "&aMystery Vault Manager"
vault-manager-lore:
- ""
- "&7Create, remove, or view all"
- "&7Mystery Vaults which have"
- "&7been created on this server."
- ""
- "&eClick to open!"
craft-boxes-menu:
inventory-title: "Craft Boxes"
craft-box-can-craft-name: "&eClick to Craft &8- &r{BOX_NAME}"
craft-box-cannot-craft-name: "&cCannot Craft &8- &r{BOX_NAME}"
craft-box-no-permission-name: "&cNo Permission &8- &r{BOX_NAME}"
craft-box-no-dust-name: "&cNot Enough Dust &8- &r{BOX_NAME}"
craft-box-lore:
- ""
- "&d&lCrafting Details:"
- ""
- "&8• &7Cost: &c{DUST_COST} Mystery Dust"
- "&8• &7Available: &a{DUST_AVAILABLE} Mystery Dust"
- ""
- "{DUST_LEFT_LORE}"
- ""
- "&d&lBox Description:"
- "{BOX_DESCRIPTION}"
craft-box-dust-left-lore:
- "&aYou will have &d{DUST_LEFT} &adust left"
- "&aafter crafting this box."
craft-box-not-enough-dust-lore:
- "&cYou don't have enough dust to"
- "&ccraft this box!"
go-back-name: "&cGo Back"
go-back-lore:
- "&7Click to go back!"

jxJoQFU.png


◉ config.yml - https://pastebin.com/eVcq5n0S
◉ language.yml - https://pastebin.com/0GXRhTKi
◉ ancient-treasure-box.yml - https://pastebin.com/2p0tciaV
◉ mythic-treasure-box.yml - https://pastebin.com/vtJ7F8ZL

If you have any questions or issues regarding the configuration files, please contact us and we will try to respond as soon as possible.
7e0WV5W.png


◉ PlaceHolderAPI: https://www.spigotmc.org/resources/6245/
◉ EffectLib: https://dev.bukkit.org/projects/effectlib
◉ ProtocolLib: https://www.spigotmc.org/resources/protocollib.1997/

Similar resources

MysteryBoxes GeneroviskBR_
For you to create new possibilities for your server! so create a mysterious box that you can make an
1.00 star(s) 1 ratings
Downloads
390
Updated
MysteryBoxes - Designed Networks & Small Servers [1.16-1.17] MikeyBoy
Give out collectibles in a fancy way by opening a Mystery Box.
5.00 star(s) 1 ratings
Downloads
44
Updated
MysteryBoxes ★ THE BEST CRATE PLUGIN! ★ Frequent Updates! K
Reward your players with eula-friendly boxes which contain random rewards and prizes!
3.00 star(s) 7 ratings
Downloads
589
Updated
BlackSpigot General Chat
Rules Help Users
    Z @ zezohassan: hi
    Top