Survival & world
SnuggleGraves
When you die, your items and XP go into a protected grave that you can find your way back to.
- Runs on
- Game server
- Commands
- 10
When you die, your stuff doesn't spill on the ground. It goes into a grave, a player head with your face on it, and waits for you to come back.
When you die
- A grave appears where you died, holding everything you were carrying and your XP.
- If that spot is taken, it looks for a free spot close by (a few blocks around and up to 8 blocks higher).
- If you fell into the void, the grave goes on the nearest ground, or at world spawn if there is none.
- If no spot can be found at all, your items drop on the ground like normal and you get a message saying so.
- You don't get a grave if keep inventory is on, or if you had nothing to lose.
A floating label above the grave shows your name, how many items and how much XP are inside, and how long until it expires.
Getting back to it
When you respawn you get three helpers:
- A Grave Compass. It points at your grave. Right-click it to turn the tracker on or off. It vanishes by itself once the grave is gone, and it never ends up in a new grave.
- An action-bar tracker. An arrow and the distance in blocks, shown above your hotbar. If the grave is in another world, it tells you which one. Use
/graves untrackto hide it and/graves trackto bring it back. - A light beam. A column of white particles rises above the grave. Only you can see it, from up to 128 blocks away.
The death message also has a clickable [Track] button. Lost the compass? Use /graves compass.
Opening a grave
Right-click the grave to collect it. Breaking it works too.
- Items go back into the same slots they were in, including armor and your offhand. Anything that doesn't fit is added to your inventory, and anything left over drops at your feet.
- Your stored XP comes back too.
Rules and timers
| Setting | Value |
|---|---|
| Other players can open your grave after | 15 minutes |
| Grave expires after | 60 minutes |
| When it expires | Items and XP spill onto the ground at the grave |
| Graves per player | 5. A 6th makes your oldest one expire early |
| XP kept | All of it |
For the first 15 minutes only you can open your grave. After that anyone can, and you get a message telling you who took it. Graves can't be blown up, pushed by pistons, flooded, or changed by mobs.
Your graves are saved, so they survive a server restart.
For staff
Staff can open and break any grave, even locked ones. /graves list <player> shows someone else's graves, and clicking a line teleports you there. /graves restore <id> hands a grave back to its owner if they couldn't reach it. Grave ids are the 8-character codes shown in the list, and tab completion fills them in.
Only players with snugglegraves.teleport can use /graves tp, and only for their own graves.
Commands
For everyone
| Command | What it does | Permission |
|---|---|---|
/graves | Lists your graves. Same as /graves list. /grave works too. | snugglegraves.use |
/graves list | Lists your graves with their id, location, item count and time left. Click a line to track it (or teleport, if you're allowed). | snugglegraves.use |
/graves track [id] | Shows an arrow and distance to a grave above your hotbar. Without an id it picks your newest grave. /graves find works too. | snugglegraves.use |
/graves untrack | Stops the action-bar tracker. | snugglegraves.use |
/graves compass [id] | Gives you a new Grave Compass for a grave. Without an id it picks your newest grave. | snugglegraves.use |
Staff
| Command | What it does | Permission |
|---|---|---|
/graves tp <id> | Teleports you to one of your own graves. /graves teleport works too. | snugglegraves.teleport |
/graves list <player> | Lists another player's graves. | snugglegraves.admin |
/graves restore <id> [player] | Gives a grave's items and XP straight to its owner, or to another online player. | snugglegraves.admin |
/graves delete <id> | Deletes a grave and everything in it. /graves remove works too. | snugglegraves.admin |
/graves reload | Reloads the config. | snugglegraves.admin |