(Discord for suggestions and bugs) = (protectedbyme (Discord Username) (the author is accepting all of the suggested ideas)
⭐COMMANDS⭐
NEW! /lootbox give <type of lootbox> <player> 1 (it will give the player 1 lootbox)
NEW! /lootbox give <type of lootbox> all <amount> l (you will give all the players lootbox
- /lootbox reload
NEW! /lootbox give <type of lootbox> player or all <amount>
NEW! /lootbox reload
⭐
PERMISSIONS
⭐
-lootbox.give ( to give a lootbox to specific player)
-lootbox.reload (reload config)
NEW! - lootbox.giveall (to give everyone a lootbox)
⭐ FEATURES ⭐
- NEW! Config.yml added! (You can simply add any items in minecraft) (You can find many materials in the config.yml link)
- NEW! Permission added (lootbox.give) to block any troller abusing the command!
- NEW! Chance System added! ** DONT ADD PERCENT SYMBOL**
- NEW! You can add your lores to the lootbox!
⭐FEATURES ADDED IN 1.4 PATCH⭐
- NEW! Now you can make the reward execute commands!!
⭐ TO- DO List ⭐
- Manual creating lootboxes
- Creating api for developrs ( maybe tomorrow )
Plugin Overview (Updated Video)
Config.yml Example: (Colors Supported)
Code (YAML):
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# Patch V1.4
# Author: Worldly
# Discord: https://discord.gg/UngGwKu2jg or DM me: protectedbyme (Discord)
# SpigotMC Page: https://www.spigotmc.org/resources/authors/worldly.1453990/
# You can report bugs in the discord server by opening a ticket or contact me directly on Discord!
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
# !-- LootBox plugin started --!
# Broadcast sound and particles when a lootbox is opened
broadcast-sound-enabled
: true
# if true, a particles will be spawned on the player, if false it will not.
spawn-particles
: true
# Rewards configuration
rewards:
reward-0:
material
: DIAMOND
amount
: 16
display-name
:
"&bSpecial Diamonds"
chance
: 70
reward-1:
material
: EMERALD
amount
: 16
display-name
:
"&aSpecial Emeralds"
chance
: 25
reward-2:
command
:
"give {player} minecraft:golden_apple 1"
chance
: 5
reward-3:
command
:
"ban {player} joke"
chance
: 1
# Lootbox lore (supports multiple lines)
lootbox-lore
:
"&7This is the first line of lore\n&7Another lore line\n&7And a final lore line"
# Broadcast messages when a lootbox is opened
broadcast-messages
:
-
"&a&lWow! &2{player} &ejust received a &6{item} &afrom a lootbox!"
-
"&a&lCongrats!! &2{player} &ereceived a &6{item} &afrom a lootbox!"
# !-- LootBox plugin ended --!
#for material options check this link ( https://pastebin.com/59KmsdCi )
### COLORS
# &0 = Black
# &1 = Dark Blue
# &2 = Dark Green
# &3 = Dark Aqua
# &4 = Dark Red
# &5 = Dark Purple
# &6 = Gold
# &7 = Gray
# &8 = Dark Gray
# &9 = Blue
# &a = Green
# &b = Aqua
# &c = Red
# &d = Light Purple
# &e = Yellow
# &f = White
# &l = Bold