# ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
# ■ ░█▀▄▀█ ░█──░█ ░█▀▀▀█ ▀▀█▀▀ ░█▀▀▀ ░█▀▀█ ░█──░█ ░█▀▀█ ░█▀▀▀█ ▀▄░▄▀ ░█▀▀▀ ░█▀▀▀█ ■
# ■ ░█░█░█ ░█▄▄▄█ ─▀▀▀▄▄ ─░█── ░█▀▀▀ ░█▄▄▀ ░█▄▄▄█ ░█▀▀▄ ░█──░█ ─░█── ░█▀▀▀ ─▀▀▀▄▄ ■
# ■ ░█──░█ ──░█── ░█▄▄▄█ ─░█── ░█▄▄▄ ░█─░█ ──░█── ░█▄▄█ ░█▄▄▄█ ▄▀░▀▄ ░█▄▄▄ ░█▄▄▄█ BY XERICKER ■
# ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
# ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ──
# Change the appearance of a box after its loot is revealed.
# ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ──
box-settings:
loot-discovered:
hologram-lines:
- "&f{LOOT_NAME}"
type: ENDER_CHEST
data: 0
player-head: ""
custom-head: ""
loot-duplicated:
hologram-lines:
- "&7&lDUPLICATED"
- "&f{LOOT_NAME}"
type: ENDER_CHEST
data: 0
player-head: ""
custom-head: ""
# ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ──
# Customize various events that will happen after its loot is revealed.
# ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ──
events-settings:
loot-discovered:
send-broadcasts:
- "&7[&dMB&7] &b{PLAYER} &efound &r{LOOT_NAME} &ein &r{BOX_NAME}"
play-sounds:
- ENTITY_PLAYER_LEVELUP;1.0;1.0
spawn-fireworks:
- STAR;false;false;0;LIME;WHITE
loot-duplicated:
send-broadcasts:
play-sounds:
- ENTITY_PLAYER_LEVELUP;1.0;1.0
spawn-fireworks:
- STAR;false;false;0;LIME;WHITE
# ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ──
# Confetti & Popper Effects
# enabled: True to enable, false to disable
# effect-duration: How long the effect lasts
# item-type: Type of item dropped
# item-glow: Whether the item should glow or not
# ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ──
# Firework Show Effect
# enabled: True to enable, false to disable
# amount: How many fireworks are spawned
# period: How quickly fireworks spawn apart from each other
# random: If true, all fireworks will be random
# fireworks: Customize which fireworks are spawned (ignored if random = true)
# syntax: [TYPE];|FLICKER];[TRAIL];[POWER];[COLOR1, COLOR2...];[FADE COLOR1, FADE COLOR2...]
# ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ──
effects-settings:
loot-discovered:
confetti-effect:
enabled: false
effect-duration: 2
item-type: AMETHYST_SHARD
item-glow: false
spiral-popper-effect:
enabled: false
effect-duration: 2
item-type: AMETHYST_SHARD
item-glow: false
firework-show-effect:
enabled: false
amount: 10
period: 4
random: true
fireworks:
- BALL_LARGE;false;false;1;WHITE;WHITE
loot-duplicated:
confetti-effect:
enabled: false
effect-duration: 2
item-type: AMETHYST_SHARD
item-glow: false
spiral-popper-effect:
enabled: false
effect-duration: 2
item-type: AMETHYST_SHARD
item-glow: false
firework-show-effect:
enabled: false
amount: 10
period: 4
random: true
fireworks:
- BALL_LARGE;false;false;1;WHITE;WHITE
# ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ──
# If a player receives the same loot twice, they will receive a compensation in
# the form of a duplicate loot. By default, duplicated loots always provide dust.
# ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ──
duplicate-settings:
check-for-duplicate: true
dust-duplicate: 100
# ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ──
# Create your loots within this category by copying one of the existing loots and
# changing its ID (e.g. "example-loot-1"). Don't forget to assign the loots to the
# boxes of your choice!
# ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ── ──
loot-creator:
example-loot-1:
enabled: true
name: "&aCommon Loot #1"
loot-discovered:
execute-as-player: false
commands:
- "command goes here"
loot-duplicated:
execute-as-player: false
commands:
- "mysteryboxes adddust {PLAYER} {DUST_DUPLICATE}"
example-loot-2:
enabled: true
name: "&aCommon Loot #2"
loot-discovered:
execute-as-player: false
commands:
- "command goes here"
loot-duplicated:
execute-as-player: false
commands:
- "mysteryboxes adddust {PLAYER} {DUST_DUPLICATE}"