Configs

Default plugin configuration file.

options:
  treasures-limit: 1
  remove-vanilla-drops: false
  drop-to-inventory: true
  discard-excess: true

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:

treasures-limit: 2

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:

remove-vanilla-drops: true

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:

drop-to-inventory: true

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:

discard-excess: true

Last updated