Choose who can open a grave
Keep graves for their owner, open them to everybody after a while, or let the killer in.
By default only the owner (and the player who made the kill) can open a grave for the first 15 minutes; after that anybody can. Here you change that.
Steps#
Open the settings
Run /gravesadmin, click Settings, then Graves. You need exyliagraves.admin.
Set the protection time
Click Protection and pick how long only the owner may open a grave: 0 is anybody from the start, and the unlimited value (-1) is only the owner, ever.
Decide about the killer
Click Killer loot to switch on or off whether the player who made the kill may open a protected grave.
Or edit the file
The same values are graves.protection-time and graves.killer-can-loot in plugins/ExyliaGraves/config.yml. Run /gravesadmin reload after editing.
Check that it works#
Die with an item, then ask another player to click your grave. During protection they read who the grave belongs to and how long until it opens to everybody. The hologram's third line shows the same state.
Going further#
Make a grave owner-only forever#
Set graves.protection-time: -1 and graves.killer-can-loot: false. Only the owner and staff with exyliagraves.bypass.protection can open it.
Give a rank a longer protection#
Grant exyliagraves.protection.<minutes>. See Give ranks longer or more graves.
The rules in detail#
graves.protection-time | Who may open it |
|---|---|
15 (default) | The owner, and for those 15 minutes nobody else. After that, anybody. |
0 | Anybody from the start. |
-1 | Only ever the owner. |
During a timed protection the player who made the kill is let in too while graves.killer-can-loot is
true (the default). A grave protected for good lets nobody but the owner in, killer or not. Staff with
exyliagraves.bypass.protection open any grave.
A rank can be given a longer protection with exyliagraves.protection.<minutes>: the largest number a
player holds wins, and it never shortens graves.protection-time (nor changes a -1).
A player who may not open it is told whose grave it is and how long until it opens to everybody, or that only the owner ever can. The hologram's third line and the menus show the same state: "Only the owner can open it", "Anybody can open it", or "Protected » 12m 3s".
Something missing on this page? Tell us on Discord