๐๏ธLuckyblocks
This is a block from which you can get various prizes. Luckyblocks are placed manually and have a cooldown. They can disappear when clicked and appear when the cooldown is over, making them suitable for only 1 player. Or they can be static.

Installation
First you need to get a lucky block. Enter the command to get the block in your hands. By default there are only 1 type. But you can create more types.
Then simply place the block where you want it to be.
Commands
View mode commands
/luckyblock help
Adds an item to your hand as a prize when you pick up a luckyblock. You need to specify the drop chance. Be sure to change the drop type in the config for this mode
/luckyblock additem <name> <chance>
Gives a lucky block to you
/luckyblock give <name>
Removes the lucky block that the player is looking at
/luckyblock remove
Gives a lucky block to the player
/luckyblock give <nick> <name>
Permissions
You must use a permission manager like LuckPerms which supports .*
permissions notation. Bukkit doesn't support this notation by default!
Gives all mode access to the player
fun.luckyblock.*
Gives the player permission to create/remove luckyblocks
fun.luckyblock.create
Gives the player permission to set luckyblocks
fun.luckyblock.set
Gives the player permission to use luckyblocks
fun.luckyblock.use
Gives the player permission to add items to luckyblocks
fun.luckyblock.additem
Main config (config.yml)
Mode config (luckyblock.yml)
Last updated