ModsJava
PreventFirstDeath
A very simple plugin that does as its name would suggest. Prevents the first death of a player.
⬇ Download on HangarOpen in MCModsHubGet it on Google Play →# PreventFirstDeath
A very simple plugin that does as its name would suggest. Prevents the first death of a player.
The plugin sends a configurable message to the player when they would have died for the first time.

If the plugin detects that an rtp command is available, it will notify the player of it as well.
The plugin can be configured to also kill all nearby hostiles in a configurable area (default 10 blocks).
## Config
All messages are styled with [MiniMessage](https://docs.advntr.dev/minimessage/format.html)
```yaml
preventFirstDeath:
enabled: true
message: |2+
Hey there {PLAYER} you almost died! You have been saved by the gods this time.
Next time you won't be so lucky!
messageHasRtp: |2+
Hey there {PLAYER} you almost died! You have been saved by the gods this time.
Next time you won't be so lucky!
Use /rtp to find a new location if this one is too dangerous for you.
killNearbyHostiles: true
killRadius: 10.0
rtpCommands:
- rtp
- wild
```
PreventFirstDeath is a free Minecraft Java mod. Compatible with Minecraft 1.20, 1.20.1, 1.20.2, 1.20.3 and newer. Downloaded 23 times (via Hangar). Download it and open it directly in the game.
Explore more