> For the complete documentation index, see [llms.txt](https://mdswork.gitbook.io/ragemode-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mdswork.gitbook.io/ragemode-docs/guides/tombstones.md).

# TombStones

Tombstones are used to revive deceased players from their underground graves in games. Every grave has its own lifespan, after which it self-destructs or keeping active until game ends, and the deceased players can no longer be revived. It is currently available for [zombies mode](https://mdswork.gitbook.io/ragemode-docs/zombie-game-guide/setup.md) only. Tombstones are basically a player head placed down on the ground inside the game arena and self-destructs after x seconds or remains until game ends. These graves have a unique hologram that can be configured from `graves.yml` file.

Other alive players can approach this grave, pressing and holding <kbd>LSHIFT</kbd> button ([sneaking](https://minecraft.wiki/w/Sneaking)), revive process begins and deceased player will respawn at the grave location.

<figure><img src="https://1575163152-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FskWI64PwdbJ7tccv5BdG%2Fuploads%2F6FNu10fdOt07fXNrwpVh%2FPlayer-grave.gif?alt=media&amp;token=70e50991-e2f1-46a4-8326-08efa30fb6bb" alt=""><figcaption></figcaption></figure>

### Features

* Lifespan for graves
  * Change lifespan interval
    * `0` to respawn player immediately and no graves placed
    * `-1` to keep graves active until game ends
    * 1 or higher values counting in seconds
  * Option to `keep` or `self-destruct` itself after grave lifespan expired
  * Deceased players will be spectators automatically
* Customisable built-in hologram system to display above the graves
* Configurable revive time
* Automatic revive process cancellation after <kbd>LSHIFT</kbd> key release
* Option to choose respawn location

### Configuration

{% code title="graves.yml" lineNumbers="true" expandable="true" %}

```yml
# The lifespan of the graves in seconds, before it expires and destroys.
# If the time runs out other alive players can not revive these dead players anymore.
# Set to 0 to disable and players will be respawned immediately.
# Set to -1 to remain active until game ends.
time-alive: 0

# Select where deceased players will respawn at.
# Types:
# game_spawn - Respawns player at one of the game spawn
# grave_location - Respawns player at the grave location
respawn-location: grave_location

# Types:
# keep - keeps the grave after lifespan expires
# self_destruct - self destructs itself after the lifespan expires
grave-lifespan-mechanic: self_destruct

# Displays a static hologram above graves
hologram:
  enabled: true

  # The text lines of the hologram above the player head grave when expired.
  expired:
  - <red>☠ <gray>%owner%<red> ☠
  - <gray>Killed by<red> %killer%

  # The text lines of the hologram above the player head grave when active.
  active:
  - <red>☠ <gray>%owner%<red> ☠
  - <gray>Killed by<red> %killer%
  - <gray>%time-remaining%
```

{% endcode %}
