Combat Tag Keep Inventory 1.0

Selectively keep inventory when players die in combat or naturally!

  1. yoonicorn
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.16
    Source Code:
    https://github.com/yummypasta/CombatTagKeepInv/
    CombatTagKeepInv
    Basic plugin to allow players to keep their inventory when they die to natural causes, but drop their items when they are killed in PvP combat.

    • Plugin will only work in worlds specified in config.yml that have the keepInventory gamerule set to false.
    • Players with the permission combattagkeepinv.exempt will keep their inventories regardless of if they are combat-tagged. (Note: this permission must be explicitly set, operators will not automatically have it)
    Made by Eric (yoonicode.com) / GH: yummypasta / MC: TildeTildeTilde

    Open Source! View on Github

    Config settings
    • cooldownTime: How long a player will be combat-tagged for when hit, in seconds. (int)
    • killCombatLoggers: Set to true to kill combat-tagged players when they disconnect. (boolean)
    • worlds: The names of the worlds in which the plugin will be active. (string[])