Make sure the KeepInventory gamerule is set to FALSE in ALL DIMENSIONS, otherwise it won't work as intended!
Are you tired of arguing with your friends about whether to turn KeepInventory on? I'm sure you've never done that before.. but just in case, I made a plugin.
SMARTDEATH is a simple and lightweight plugin for Survival servers. When a player dies, it determines whether the death was caused by another player or by a natural causes.
You have free use to modify this plugin however you want. Feel free to decompile it, play with the code, or redistribute it as you please.
Are you tired of arguing with your friends about whether to turn KeepInventory on? I'm sure you've never done that before.. but just in case, I made a plugin.
SMARTDEATH is a simple and lightweight plugin for Survival servers. When a player dies, it determines whether the death was caused by another player or by a natural causes.
- If the player was attacked by another player within 5 seconds of them dying, they will drop their items.
- If the player dies by any other cause, they will keep everything upon respawning.
You have free use to modify this plugin however you want. Feel free to decompile it, play with the code, or redistribute it as you please.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.20.6, 1.21
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
SMARTDEATH is a free Minecraft Java mod. Compatible with Minecraft 1.20.6, 1.21. Downloaded 40 times (via Spigot). Download it and open it directly in the game.