Configs
Default plugin configuration file.
treasures-limit:
treasures-limit:
Defines the number of treasures that will be executed. For example, if you have configured 5 treasures (not rewards/sections) and the limit is set to 2, up to 2 rewards can be triggered when breaking a block.
Example:
remove-vanilla-drops:
remove-vanilla-drops:
Specifies whether the plugin will remove/cancel the block-breaking event after a treasure is executed and the reward is given to the player.
true
: Always removed; this will cancel the event, which may prevent other plugins from detecting that the block was broken.false
: Never removed; no special handling will be applied.
Example:
drop-to-inventory:
drop-to-inventory:
Specifies whether the reward will be added directly to the player's inventory instead of spawning at the block's location.
true
: Items will be added to the player's inventory.false
: Items will spawn at the block's location.
Example:
discard-excess:
discard-excess:
Specifies whether excess rewards should be removed instead of being dropped at the block's location when the player's inventory is full.
true
: Excess items will be discarded.false
: Excess items will spawn in the world.
Example:
Last updated