REQUIRED PLUGINS: (I use my own "Plugin" helper, that needs all of these to function)
- WorldEdit
- PlaceholderAPI
- ProtocolLib
How to use:
Add more items into "Items.yml", and using them create loot boxes using this format:
Code (YAML):
BOXNAME:
box
: ITEMNAME
drops:
ITEMNAME
: WEIGHT
ITEMNAME
: WEIGHT
...
For example:
Code (YAML):
MagicBox:
box
: MagicDirt
drops:
MagicStone
: 2
MagicDirt
: 1
Stone
: 3
You can use: /ezpresents item ITEM
To check if you correctly made it.
To open a box, you have to shift-left click.