Back to all plugins
Minecraft plugin

Graves

Keep Your Loot After Death

Graves is a lightweight fork of the original Graves project by Ranull and contributors, cleaned up and customized for the Realm of Salt. When you die, your items and part of your experience are stored in a grave at your death location instead of scattering on the ground, so you can walk back and recover everything.

The fork removes code the server does not need, fixes placement issues and adds an optional integration with Pylon Wars for faction graves and siege rules. It works without any optional plugin.

Key Features

  • Death graves that store your inventory and experience (80% of your experience by default)
  • Cave-aware placement: a grave stays in the cave where you died and is never moved through the ceiling to the surface
  • Smart void and lava handling that places the grave on the last solid block you stood on
  • Paginated graves GUI with item preview via /graves
  • Take All action to loot a grave in one click
  • Recovery compass on respawn that points to your latest grave
  • Teleport to a grave from the graves GUI when the location is safe
  • Holograms above graves with the owner, items, levels and remaining time
  • Graves last 3 hours by default and each player can keep up to 18 graves
  • Chunk recovery restores tracked grave blocks when their chunk loads, without overwriting other blocks
  • Optional grave protection, grave tokens and per-world settings in YAML
  • SQLite storage so graves survive server restarts

How It Works

  • When you die, a grave is created at your death location with your items and stored experience
  • After respawning you receive a recovery compass that points to the grave
  • Open the grave to take items back, or use Take All to collect everything at once
  • Use /graves to see all of your graves, their location and how long they will last
  • If a grave times out, it is removed, so recover your items before the timer runs out
  • If no valid location can be found, you keep your inventory instead of losing it

Pylon Wars Integration

  • Members of your faction can open your grave when it lies inside your faction's territory
  • Faction access during sieges is configurable and enabled by default
  • Enemies can only loot graves inside your territory during a siege if pylon-wars.enemy-loot-during-siege is enabled (off by default)
  • /graves factioncompass points your compass at the nearest faction grave in your current world
  • Disable the integration with pylon-wars.enabled: false in config.yml

Commands

  • /graves - Open your graves GUI
  • /graves list [player] - List your graves, or another player's graves with graves.gui.other
  • /graves factioncompass - Point your compass at the nearest faction grave (Pylon Wars)
  • /graves help - Show the commands you can use
  • /graves givetoken <player> <token> [amount] - Give a grave token (when tokens are enabled)
  • /graves reload - Reload the configuration
  • /graves dump - Dump server information for debugging
  • /graves debug <level> - Change the debug level
  • /graves cleanup - Remove all graves
  • /graves purge [graves|holograms] - Purge all graves or leftover grave holograms

Aliases include /grave, /tombstone, /deathchest, /tomb and /dc.

Permissions

  • graves.place, graves.open, graves.autoloot, graves.break - Create, open, auto-loot and break graves (default: everyone)
  • graves.gui - View your graves (default: everyone)
  • graves.experience, graves.protection, graves.teleport - Store experience, get grave protection and teleport to graves (default: everyone)
  • graves.factioncompass - Use the faction grave compass (default: everyone)
  • graves.gui.other - View other players' graves (default: op)
  • graves.bypass - Bypass grave protection (default: op)
  • graves.reload, graves.dump, graves.debug - Admin tools (default: op)
  • graves.cleanup, graves.purge, graves.givetoken - Grave management (default: op)

Configuration

The main grave settings live in grave.yml, while config.yml holds storage, integrations and the Pylon Wars options. A few of the defaults:

grave:
  time: 10800 # 3 hours, -1 lasts forever
  max: 18
experience:
  store: 0.8 # 80% of the experience
respawn:
  compass: true
  compass-time: 300

Credits

Based on the original Graves project by Ranull and contributors. Customized and maintained by Saltyy.

Documentation

For build instructions and integration notes, see the documentation.