▶ 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.
▶ DIFFERENT OPENING ANIMATIONS!
A different animation will be played depending on if you open one or more Mystery Boxes.
▶ 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.
▶ 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.
▶ 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)
▶ 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.
▶ 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>"
▶ 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"
▶ 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
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!"
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!"
◉ 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.
◉ PlaceHolderAPI: https://www.spigotmc.org/resources/6245/
◉ EffectLib: https://dev.bukkit.org/projects/effectlib
◉ ProtocolLib: https://www.spigotmc.org/resources/protocollib.1997/