mc.pvpers.us
Online
← The Frontier Suite

FrontierGraves

v1.1.1QoL

Permanent, shared player graves — keep your inventory on death, claim it later.

What it does

When a player dies their drops are not scattered on the ground: the plugin cancels them, places an invisible armor stand wearing the victim’s head as a marker at the death spot (clamped inside world height, so void deaths still get a reachable grave), and stores the inventory in graves.yml.

Anyone can right-click the marker to open a shared loot GUI; several players can browse the same grave at once and take what they want, and whatever they leave stays. Graves never decay on a timer — a grave despawns only when the last viewer closes it empty — and the dead player gets their XP levels back the first time they open it.

Graves are shared rather than owner-locked on purpose: it keeps death meaningful (your gear is on the floor, go get it) while removing the worst part of vanilla, the 5-minute despawn timer and lava or void loss. Whether someone else loots you is a social question, not a plugin one.

Requires & integrates with

Required
Paper 26.2+, Java 25+
Optional
FrontierEvents — deaths inside an event (fighter or spectator) never make a grave, and FrontierEvents can sweep stray graves out of an arena at teardown
Used by
FrontierEvents (looks up the GraveApi service to clear arena graves)

Commands

/grave and /graves are player-only; /graveadmin also works from console.

CommandWhoWhat it does
/grave | /grave listEveryoneList your active graves: world, block coordinates and creation time
/grave nearestEveryoneCoordinates and distance of your closest grave in your current world
/gravesEveryoneAlias for /grave list
/graveadmin | /graveadmin infoAdminTotal number of graves on the server
/graveadmin reloadAdminReload config.yml and re-read graves.yml from disk
/graveadmin wipeAdminRemove every grave (marker and stored items) — irreversible

Permissions

Player features default to true, staff features to op. Every node follows frontier.<plugin>.<action>, so a LuckPerms setup is e.g. lp group default permission set frontier.shop.use true. Wildcards work: frontier.reputation.*.

NodeDefaultGrants
frontier.graves.adminop/graveadmin (info, reload, wipe)

Config reference

File

plugins/FrontierGraves/config.yml

To apply changes

/graveadmin reload

KeyDefaultWhat it controls
enabledtrueMaster toggle. false = deaths drop items normally
restore-xptrueStore the victim’s XP level and return it when the owner first opens the grave. When true, dropped XP orbs are suppressed and the player respawns at level 0; when false vanilla XP drop applies. Non-owners never receive the XP
announce-deathtrueBroadcast <name>’s grave appeared at x, y, z. to the server (the victim is always told privately)

Good to know

  • +Storage is plugins/FrontierGraves/graves.yml — one record per grave (owner, location, XP, contents) written on every add, remove, XP claim and GUI close. Items sit in this file, not as ground entities, so chunk unloads, lag and the item timer can’t eat them.
  • +The GUI is take-only: putting items into a grave is blocked, so it can’t be used as free storage. Only the owner gets the XP, only once, only on click — if someone else empties and closes the grave first, the stored XP is gone with it.
  • +If the death already keeps inventory (keepInventory), the plugin does nothing.
  • +Graves open at LOWEST event priority, so land-protection plugins usually can’t block looting a grave inside someone else’s claim. There is no owner-only mode.
  • +Grave times in /grave list use the JVM default timezone. A grave in a world that no longer exists shows as ?, is skipped by nearest, and can only be cleared with /graveadmin wipe.

Looking for something specific? Search the whole suite.