Buried Treasures
PluginGPL-3.0-only

Buried Treasures

Unearth despawned items in suspicious sand

33
Downloads
3
Followers
11 months ago
Updated
📦
1
Versions

📖About Buried Treasures

How it works

When items on the ground despawn, they are buried underground whenever possible, giving players the chance to find them in the future.

You can configure which items will be buried and which will not, as well as the chance of them dropping from the block when sand/gravel is broken unsuccessfully.

Config

replacement:
  max-y: 4
  blocks:
    GRAVEL: SUSPICIOUS_GRAVEL
    SAND: SUSPICIOUS_SAND
    STONE: SUSPICIOUS_GRAVEL
    DIRT: SUSPICIOUS_GRAVEL
    COARSE_DIRT: SUSPICIOUS_GRAVEL
    DEEPSLATE: SUSPICIOUS_GRAVEL
    COBBLED_DEEPSLATE: SUSPICIOUS_GRAVEL
    TUFF: SUSPICIOUS_GRAVEL
    NETHERRACK: SUSPICIOUS_GRAVEL
  block-faces:
    - SELF
    - EAST
    - SOUTH
    - NORTH
    - WEST
    - NORTH_EAST
    - NORTH_WEST
    - SOUTH_EAST
    - SOUTH_WEST

items:
  # WHITELIST / BLACKLIST
  filter-enabled: false
  mode: BLACKLIST
  # Material ID's: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  materials:
    - STICK
    - EGG
    - GRASS_BLOCK

additions:
  # Drop chance 0-100%
  drop-suspicious-chance: 0.3
  drop-max-ticks-falling: 30