DeathCommands - [PAPI Support] 1.0

Execute Commands on Death

  1. MSWS
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    Execute commands when a player dies. Supports PlaceholderAPI and comes with a few included placeholders to configurability.

    Code (Java):

    #Placeholders:
    # %player% %x% %y% %z% %blockX% %blockY% %blockZ% %world% %uuid%
    #Supports PlaceholderAPI
    CommandsOnDeath:
    - 'say %player% died!'
    - 'noperm:example.negated.perm eco remove %player% 50' #Will not run if the player has the permission 'example.negated.perm'
    - 'perm:example.perm tell %player% you died at %x% %y% %z%' #Will run only if the player has the permission 'example.perm'[/spoiler]