SafePvP (keepInventory on PvP deaths) icon

SafePvP (keepInventory on PvP deaths) -----

Prevents 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.
Resource Information
Author:
----------
Total Downloads: 232
First Release: Feb 1, 2021
Last Update: Feb 3, 2021
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings