SafePvP (keepInventory on PvP deaths) 1.2.5

Prevents players from losing items after dying in PvP

  1. Etoile
    Native Minecraft Version:
    Tested Minecraft Versions:
    • 1.16
    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."


    /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.

Recent Reviews

  1. Pranklez
    Version: 1.2.5
    Giving this resource it's first review, works flawlessly also on 1.17, one suggestions perhaps, make a small config where one can force enable it for everyone all the time or just disable it entirely