Skip to main content

Graveyard UI Pages

The Graveyard plugin provides two main UI pages: the Graveyard Menu (browsing/settings) and the Loot UI (recovering items).


Graveyard Menu

How to open: /ksgraveyard menu (aliases: /grave menu, /gy menu)

Permission: ks.graveyard.user.use (default: allowed for all players)

The menu uses a sidebar navigation layout (ItemControl style) with 4 tabs:

Gravestones Tab

Shows all active gravestones for the player.

ElementDescription
Gravestone listEach entry shows world name, coordinates (X, Y, Z), protection status, and item count
Protection badgeGreen = protected (owner only), Red = public (anyone can loot)
Teleport buttonTeleport to the gravestone location (if allowTeleportToGravestone is enabled; may cost currency)
Item countNumber of items stored in the gravestone

Designs Tab

Browse and select gravestone designs.

ElementDescription
Design gridShows all available designs with 3D model preview
Selected indicatorHighlights the currently active design
Premium badgeShows price for premium designs (with Buy button if economy is available)
Locked statePremium designs show a lock icon until purchased or granted by admin

Click a design to select it as your active gravestone appearance. Free designs can be selected immediately. Premium designs require purchase or admin grant.

Particles Tab

Browse and select particle effects. Only visible when enableParticles is true in config.

ElementDescription
Particle listShows all available particle effects with preview
"None" optionAlways available — disables particle effects
Premium badgeShows price for premium particles
Color previewShows the configured hex color for each effect

Statistics Tab

View personal death and graveyard statistics.

StatisticDescription
Total DeathsNumber of times the player has died
Total GravestonesNumber of gravestones created
Items LostTotal items destroyed by the item loss system
Items RecoveredTotal items recovered from gravestones
Expired GravestonesNumber of gravestones that despawned
Looted by OthersNumber of gravestones looted by other players

Loot UI

How to open: Press F on a gravestone block in the world

The Loot UI uses a custom background image (images/gravestone_bg.png) and shows:

Owner's Gravestone

ElementDescription
Player avatarLoaded from HyVatar (cached in avatar-cache/)
Item gridShows all items stored in the gravestone with quality-colored backgrounds
Item tooltipsHover over items to see details
Loot All buttonRecovers all items to inventory at once
Individual pickupClick individual items to pick them up selectively

Other Player's Gravestone (Protected)

When the gravestone is still in its protection period, other players see:

ElementDescription
Player avatarShows the owner's avatar
Player nameShows the owner's name
Memorial modeItems are hidden — only the avatar and name are visible
Protection timerShows remaining protection time

Other Player's Gravestone (Public)

After the protection period expires, other players can loot the gravestone with the same UI as the owner.


WorldMap Integration

When showWorldMapMarker is enabled:

ElementDescription
Death marker iconCustom icon placed on the world map at each gravestone location
Item countShows how many items are stored
Protection statusShows whether the gravestone is still protected
VisibilityOnly visible to the gravestone owner

Markers are registered via the GraveyardMarkerProvider and update automatically when gravestones are created, looted, or removed.