SafePvP (keepInventory on PvP deaths)
1.2.5Prevents players from losing items after dying in PvP
If you have older version, please update to v1.2. It fixes all issues with commands. The new version is safe to use on public servers.
I wanted this functionality for my server with my friends, and since I didn't find anything on the internet, I made it myself.
It's very simple - this plugin overrides player death event and checks if keepInventory is enabled. If keepInventory = true, nothing happens, otherwise the plugin ensures you won't lose any items or EXP on death.
This plugin works even on player-related deaths, for example "PLAYER1 burned to crisp while trying to run away from PLAYER2."
Commands:
/safepvp enable
/safepvp disable
I will update this plugin when 1.17 comes out :)
If there are any bugs, do let me know, but I hope it works as intended.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta