Possibility to send chat, title and actionbar messages;
Possibility to summon particles when break a luckyblock;
Possibility to play sound when break a luckyblock;
Possibility to require permission for each luckyblock;
➜ Config
Code (YAML):
[/LEFT
][/COLOR
] sound: ENTITY_EXPERIENCE_ORB_PICKUP
# Put "NONE" to disable this function! particle: CLOUD
# Put "NONE" to disable this function! particle-quantity: 1
blocks:
Example:
block: SPONGE
data: 0
permission: "luckyblocks.example"# Permission required to break this luckyblock no-permission: "&cYou must be VIP to break this luckyblock!"# This message will be shown when player doesn't have required permission above chat-message: true
# Does "chat-message" (in rewards) has to be shown? actionbar-message: true
# Does "actionbar-message" (in rewards) has to be shown? titles:
enabled: true
# Does "title-message" (in rewards) has to be shown? enter-duration: 5
# Duration (in ticks, 20 ticks = 1 second) stay-duration: 10
leave-duration: 5
default-title: "&6&lLuckyBlock!"# Default title that will appear above the "subtitle-message" rewards:
example1:
commands: -
"eco give %player% 10" chat-message: "&eYou received &6$10&e!" subtitle-message: "&eYou received &6$10&e!" actionbar-message: "&eYou received &6$10&e!" example2:
commands: -
"give %player% emerald 1" chat-message: "You have received an emerald!" subtitle-message: "You received an emerald!" actionbar-message: "&7You found an &fEmerald&7!"