Description
***
20.07.2026 - An update is in the works and will bring several quality-of-life improvements.
***
# ๐ชฆ Better Revive
### *A Complete Death & Revive System for Minecraft*
**Better Revive** transforms death in Minecraft into a meaningful, recoverable event.
When you fall, your items don't scatter into the void โ they're stored safely inside a **grave**.
Your friends can bring you back with **magical revive potions**, and a **mystical compass** will always guide you home.
> โ๏ธ **Built for SMP servers** โ carefully balanced for **PvP**, teamwork, and fair recovery.
---
## โ๏ธ Core Features
### ๐ชฆ The Grave System
When you die, an **invisible grave** manifests at your death location โ marked by your floating **player head** and a live **countdown timer**.
- ๐ **Persistent First Grave** โ your first grave is permanent until collected or destroyed.
- โณ **Temporary Backup Grave** โ if you die again mid-recovery, a second grave appears *only* during your death screen, allowing teammates to still revive you.
- ๐ **Full Inventory Storage** โ armor, hotbar, offhand, everything.
- ๐ฑ๏ธ **Right-click to recover** all items instantly.
- โ ๏ธ If the timer runs out โ items drop publicly for anyone to grab.
---
> ## ๐ Hardcore Mode Support
> Play Hardcore with your friends and get **one last chance**. Enter the **Downed State** when you die โ if a teammate revives you in time, you survive.
---
### ๐ Resurrection Scroll
A rare, magical scroll that **teleports you directly to your active grave**.
> Perfect for escaping dangerous dimensions, deep caves, or lava-filled catastrophes.
---
### ๐ Revive Potions โ 3 Tiers
Brew special potions and **revive fallen teammates straight from their death screen** โ no respawn required.
| Tier | Healing | Debuffs | Debuff Duration |
|------|---------|---------|-----------------|
| **Revive Potion I** | โค 1 Heart | Slowness, Hunger, Weakness | 30s |
| **Revive Potion II** | โคโคโค 3 Hearts | Slowness, Hunger, Weakness | 15s |
| **Revive Potion III** | โคโคโคโคโค 5 Hearts | *None!* | โ |
#### How It Works
1. ๐ A player dies โ their grave appears.
2. ๐งช A teammate **throws a Revive Potion** at the grave.
3. ๐ฅ๏ธ The dead player sees **Accept** / **Decline** buttons on their death screen.
4. โ
**Accept** โ teleported back with full inventory + tier-based debuffs.
5. โ **Decline** โ normal respawn, grave stays intact for manual pickup.
---
### ๐งญ The Grave Compass
After a normal respawn, you automatically receive a **Grave Compass** โ enchanted with **Lodestone tracking**.
- โก๏ธ Always points toward your grave.
- ๐ Shows **direction + distance** in the action bar:
`โ Grave: โฌ 145m (Y: 64)`
- ๐ฑ๏ธ Right-click to open the **Grave Contents Screen** โ preview every item inside.
- ๐ฅ **Dissolve** your grave remotely โ drop all items publicly for looters.
- ๐ Works **across dimensions** โ displays *"Other Dimension"* if your grave is in the Nether or End.
- ๐ The compass **cannot be dropped** and is removed automatically when the grave is collected, dissolved, or expires.
---
### ๐ฅ Instant Death Mechanics
Some deaths are simply **unrecoverable** โ no grave, no revive, no second chances.
- ๐ **Lava Death** โ instant permanent death, no grave spawns.
- ๐ **Void Death** โ items are lost, no grave can be placed.
> โ ๏ธ This keeps high-risk zones *actually risky* โ no cheesing lava lakes or the void with infinite revives.
---
### โฑ๏ธ Revive Cooldown (Anti-Spam)
After being revived, a **Revive Lock** (default **60s**, configurable) prevents instant re-revives.
- ๐ต Lock timer shown in the **action bar** *and* on the **grave itself**.
- ๐ซ Potions thrown during the lock notify both players with remaining time.
---
## ๐งช Recipes
### ๐ถ Brewing
| Potion | Base | Ingredient |
|--------|------|------------|
| **Revive Potion I** | Splash Potion | Golden Apple |
| **Revive Potion II** | Revive Potion I | Honeycomb |
| **Revive Potion III** | Revive Potion II | Blaze Rod |
### ๐ ๏ธ Crafting
- **Resurrection Scroll** โ `1x Paper` (center) surrounded by `8x Revive Potion III` in a Crafting Table.
---
## ๐ง Admin Commands
> All commands require **OP level 2**.
| Command | Description |
|---------|-------------|
| `/betterrevive cooldown` | Show current revive lock duration |
| `/betterrevive cooldown ` | Set revive lock duration (0โ600s) |
| `/betterrevive graveduration` | Show current grave duration |
| `/betterrevive graveduration ` | Set grave duration (30โ3600s) |
| `/betterrevive xp` | Show XP retention percentage |
| `/betterrevive xp ` | Set XP retention (0โ100%) |
| `/betterrevive info` | Show all settings + color legend |
| `/betterrevive cleanup` | Remove orphaned grave display entities |
## โ๏ธ Config File
Better Revive creates a server config at:
`config/better_revive.json`
The config persists across restarts and lets server owners tune revive timing, grave behavior, XP recovery, and debugging.
```json
{
"cooldownSeconds": 60,
"graveDurationSeconds": 180,
"xpPercentage": 100,
"forceLoadGraveChunks": false,
"graveTextUpdateIntervalTicks": 20,
"debugLogging": false
}
```
| Setting |Description |
| ------- |----------- |
| cooldownSeconds |Revive Lock duration after a player has been revived. |
| graveDurationSeconds |How long a grave stays protected before it expires and drops its contents publicly. |
| xpPercentage |How much XP is stored inside the grave and restored. |
| forceLoadGraveChunks |If enabled, the chunk containing a grave stays force-loaded so the grave timer and display can continue updating even when no player is nearby. Disabled by default for better server performance. |
| graveTextUpdateIntervalTicks |How often the floating grave text updates. Minimum: 20 ticks / 1 second. |
| debugLogging |Enables extra server log output for debugging. |
> โ ๏ธ For most servers, forceLoadGraveChunks should stay disabled unless you specifically want graves to keep ticking while nobody is nearby.
---
## ๐ฎ Gameplay Scenarios
### ๐ข Scenario 1 โ Normal Death
1. You die โ grave appears โ death message with coordinates.
2. You respawn โ receive a **Grave Compass**.
3. Follow the compass โ right-click the grave โ items restored to original slots.
4. Compass vanishes automatically.
### ๐ต Scenario 2 โ Revived by a Teammate
1. You die โ grave appears.
2. Teammate throws a **Revive Potion**.
3. You see **Accept / Decline** on your death screen.
4. Accept โ teleport back with items + debuffs.
5. **60s Revive Lock** begins.
### ๐ด Scenario 3 โ The Grave Expires
1. You die โ grave appears with countdown.
2. Timer expires โ items drop publicly.
3. Compass is removed โ notification sent.
4. Anyone can loot the drops.
---
## ๐ Multi-Dimension Support
- โ
Works in **Overworld**, **Nether**, and **End**.
- ๐งช Revive Potions must be thrown in the **same dimension** as the grave.
- ๐งญ Compass shows *"Other Dimension"* across worlds.
- ๐ Revive teleportation works across dimensions.
---
## ๐ Technical Details
| Property | Value |
|----------|-------|
| **Mod Loader** | Fabric / NeoForge |
| **Server-side** | โ
Yes |
| **Client-side** | โ
Required (death screen UI + compass HUD) |
| **keepInventory** | โ
Respected โ graves won't spawn if enabled |
---
## ๐ Mod Compatibility
Better Revive plays nicely with popular inventory-extending mods:
- โ
**Accessories Mod** โ accessory slots are safely stored in the grave NBT and fully restored.
- โ
**Trinkets & Curios Mod** โ trinket slots handled separately and restored on revive or grave collection.
- ๐งญ The **Grave Compass** is protected from vanilla inventory drops โ it will never be lost on re-death.
---
## ๐ฃ๏ธ Language Support
- ๐ฌ๐ง English *(default)*
- ๐ฉ๐ช German
- ๐ All strings fully translatable โ contributions welcome!
---
## ๐ก PvP Balance Philosophy
Better Revive was **engineered for competitive servers**:
- ๐ก๏ธ **Revive Lock** prevents revive-spam in extended fights.
- โ๏ธ **Tier-based debuffs** make cheap revives a real risk (1 HP + Slowness + Weakness).
- ๐ฏ Revives **only work during the death screen** โ no post-respawn cheese.
- ๐ค **Accept/Decline** prevents unwanted revives.
- ๐ Dead players **cannot collect items** before deciding โ no exploit vectors.
- โณ Graves have a **time limit** โ no permanent storage abuse.
- ๐ **Lava & void deaths are final** โ no grave, no recovery. High-risk zones stay high-risk.
---
## ๐ Roadmap
| Version | Feature |
|---------|---------|
| **1.1.0** | โก Performance Optimization (server-side grave handling) |
| **1.1.5** | ๐ New Revive Scroll Item |
| **1.1.6** | ๐จ New Revive Potion Texture |
| **1.1.7** | ๐ง NeoForge Port |
| **1.1.7** | ๐จ New Revive Texture |
| **1.2.5** | ๐ Major Bug Fixes |
| **2.0.0** | ๐ **Hardcore Support** |
***
## โค๏ธ Credits & Links
> Made with โค๏ธ by **Mrstilu2k6**
๐ **[Modrinth](https://modrinth.com/user/MrStilu2k6)** ยท โ **[PayPal](https://www.paypal.com/paypalme/stilu2k6)**
***
> ๐ฌ **Found a bug? Have a suggestion?** Drop it in the comments or open an issue โ every piece of feedback helps shape the 2.0 update!
>
> โ **Enjoying the mod?** If you'd like to support my work, a small tip is greatly appreciated. Every bit of support helps me dedicate more time to updates and new features!