OnPlayerDeath

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

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.

The OnPlayerDeath Team

profile avatar
Owner
  • 1
    Projects
  • 138
    Downloads