Back to mods
OnPlayerDeath project artwork

CurseForge · Minecraft mod

OnPlayerDeath

A mod that allows you to execute any command upon a player's death.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which OnPlayerDeath release should I use?

Updated 8 months ago
Latest stable file onplayerdeath-1.20.1-1.0.0.jar
Game version 1.20.1
Loader Forge

onplayerdeath-1.20.1-1.0.0.jar targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is OnPlayerDeath required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does onplayerdeath-1.20.1-1.0.0.jar need?

onplayerdeath-1.20.1-1.0.0.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add OnPlayerDeath without breaking your instance.

Built for onplayerdeath-1.20.1-1.0.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use onplayerdeath-1.20.1-1.0.0.jar. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside onplayerdeath-1.20.1-1.0.0.jar. It opens that exact file at the source.

About this project

What does OnPlayerDeath add?

Execute custom commands automatically when players respawn!

OnPlayerDeath is a simple server-side mod that allows you to automatically execute commands when players respawn after death.

Key Features

  • Group System: Create multiple independent groups, each with a different set of commands to execute.
  • Multiple Commands: Each group can execute a sequence of several commands.
  • Easy Administration: Complete setup and management via in-game commands.
  • Player Management: Easily add or remove players from groups using simple commands.

Commands

  • /deathgroup create <group> - Create a new death group.
  • /deathgroup delete <group> - Delete an existing group.
  • /deathgroup list - List all created groups.
  • /deathgroup info <group> - View detailed information about a group.
  • /deathgroup add <group> <player> - Add a player to a group.
  • /deathgroup remove <group> <player> - Remove a player from a group.
  • /deathgroup addcmd <group> <command> - Add a command to execute on respawn.
  • /deathgroup removecmd <group> <index> - Remove a command by its number.
  • /deathgroup clearcmd <group> - Remove all commands from a group.

Notes

  • Commands are executed in the order they were added.
  • Commands execute with operator permissions automatically.
  • Players can be in multiple groups simultaneously (all commands from all groups will execute).
  • Use @s in commands to target the respawning player.

Project description from CurseForge.

Pick your setup

OnPlayerDeath by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

OnPlayerDeath versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.