Sueta
BL

Block drop

1.0

Edit what blocks drop upon breaking.

·Plugin

Description
With this plugin you can replace what a certain type of block should drop when it breaks.

Installation
1) Stop server (if running).
2) Put the .jar file in your plugins folder.
3) Start & stop server (generates config.yml).

Configuration
Config file structure:

<material to replace drop for>

<generator name>

<material to drop>

<amount>:<chance>

Example:

LEAVES:

STONE_DROP:

STONE:

"0": 1
"1": 1
"2": 2

The configuration above drops stone whenever a leaf block is broken.
Drop rate is the following:
nothing = 25%
1 stone = 25%
2 stones = 50%

Another example:

LEAVES:

STONE_DROP:

STONE:

"0": 1
"1": 1

IRON_DROP:

IRON_INGOT:

"1": 1

The configuration above drops stone and/or iron whenever a leaf block is broken.

Could drop a stone but with a (50%) chance.
- nothing = 50%
- 1 stone = 50%

Always drops a iron ingot.
- 1 iron ingot = 100%

Another example:

LEAVES:

DROP:

STONE:

"0": 1
"1": 1

IRON_INGOT:

"1": 1

The configuration above drops stone or iron whenever a leaf block is broken.
- nothing = 33.3%
- stone = 33.3%
- iron ingot = 33.3%

Similar projects

Plugin →