Skip to content

Graves

A grave is created when a player dies if:

  • RexGraves is enabled
  • The player has rexgraves.use
  • Keep inventory is off (gamerule and death event)
  • The world is allowed
  • The death cause is not blacklisted
  • There is something to store (items and/or XP)

The grave is placed at the death location (including lava or mid-air). Void deaths stay on the same X/Z above the void so the entities are not deleted.

Each grave spawns:

  • An invisible armor stand with a player head (or skeleton skull if player-head is false)
  • An interaction hitbox for clicking
  • An optional hologram

Particles and create/loot sounds are configurable.

Set with settings.expiration-seconds (0 = never).

When a grave expires:

  • expire-action: drop — items drop at the grave
  • expire-action: destroy — items are deleted

max-graves-per-player caps how many graves a player can have (0 = unlimited).

If the limit is hit and remove-oldest-when-full is true, the oldest grave is removed first.

Players with rexgraves.break can hit the marker twice (within 5 seconds) to remove a grave:

  • Normal hit → destroy (items lost)
  • Sneak + hit → drop items, then remove