Set how long graves last
Choose how long a grave stands, what happens to its contents afterwards and how many graves a player can have.
By default a grave stands for 60 minutes, then its contents drop where it stood, and a player can have 5 graves on a server. Here you change those three things.
Steps#
Open the settings
Run /gravesadmin, click Settings, then Graves.
Set the lifetime
Click Lifetime and pick how long a grave stands. In the file this is graves.expire-time: a number of minutes or 30m, 2h, 1d; -1 keeps it until it is collected.
Choose what happens at the end
Click On expiry to switch between Drop (the contents fall where the grave stood) and Delete (they are gone).
Set the limit
Click Graves per player to set how many a player can have standing on one server. -1 is no limit.
Check that it works#
Die once with graves.expire-time set to 1m: after a minute the head disappears and your items drop where it stood, or vanish if you chose Delete. The owner gets a notice either way.
Going further#
Never expire#
Set graves.expire-time: -1. Graves then stay until somebody collects them.
Longer graves for a rank#
Grant exyliagraves.expire.<minutes> and exyliagraves.limit.<n>. See Give ranks longer or more graves.
The rules in detail#
graves.expire-time (default 60 minutes) is how long a grave stands. -1 keeps it until it is
collected. A rank can be given longer with exyliagraves.expire.<minutes>: the largest number a player
holds wins, and a number below the configured time is ignored. With -1 configured, graves never expire
whatever the permissions say; 0 also never expires, but there an exyliagraves.expire.<minutes> node
still gives its holder a timed grave.
Expired graves are swept once a second. What happens to the contents is graves.on-expire:
| Value | What happens |
|---|---|
DROP (default) | Items and experience drop where the grave stood. An unloaded chunk is loaded in the background first. |
DELETE | They are gone. The audit log keeps a summary of what the grave held. |
Anything other than DELETE drops. A grave whose world is no longer loaded on this server has no floor to
drop on, so its contents are handed to the owner instead.
An expiry goes through the same delete as a click, so a grave being collected at that exact moment is not also dropped. A delete that fails leaves the grave standing and is tried again a minute later.
Limits#
graves.max-per-player (default 5) is how many graves one player may have standing on this server.
Dying with that many tips the oldest one out where it stands — its contents drop, whatever on-expire
says — and the owner is told it expired. -1 (or 0) is no limit.
exyliagraves.limit.<n> raises it for a rank: the largest number wins, and a number below the configured
limit is ignored. With -1 configured there is no limit for anybody; with 0, a limit node still
gives its holder one.
Graves still being written, or being taken at that moment, are not counted.
Something missing on this page? Tell us on Discord