Changes
Page history
Create Skills/Triggers/onPlayerKill
authored
Oct 25, 2024
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
Skills/Triggers/onPlayerKill.md
0 → 100644
View page @
0719d500
## Description
Executes the skill when the mob kills a player.
> The associated [@trigger](/Skills/Targeters/Trigger) is the player that has been killed
## Examples
```
yml
EXAMPLE_MOB
:
Type
:
CHICKEN
Skills
:
# sends a message to all the players in the world
# when the mob kills a player
-
message{m=PLAYER KILLED} @World ~onPlayerKill
```
## Aliases
-
[x] onKillPlayer
\ No newline at end of file