Category: PvP
Suggested name: LastAttacker (or whatever you prefer, I don't mind any)
What I want: I want a short script that when a player dies because of anything, it would send the last attacker of the player (if it's set) a message like "You killed %victim's display name%" and it will send a message to the victim saying that they have been killed by that last attacker's display name and their hearts remaining. If the last attacker isn't set, it will just act as victim committed suicide. I tried to do this but couldn't manage to, so if someone can make this for me I'll appreciate it!
Ideas for commands: none
Ideas for permissions: none
When I'd like it by: Monday the 20th or Tuesday 21st, please.
Suggested name: LastAttacker (or whatever you prefer, I don't mind any)
What I want: I want a short script that when a player dies because of anything, it would send the last attacker of the player (if it's set) a message like "You killed %victim's display name%" and it will send a message to the victim saying that they have been killed by that last attacker's display name and their hearts remaining. If the last attacker isn't set, it will just act as victim committed suicide. I tried to do this but couldn't manage to, so if someone can make this for me I'll appreciate it!
Ideas for commands: none
Ideas for permissions: none
When I'd like it by: Monday the 20th or Tuesday 21st, please.