Death messages with item name rather than item and item name

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!


New Member
Feb 19, 2022
Category: Combat

Suggested name:

Spigot/Skript Version: 2.6 (1.17.1 please)

What I want:
I made a skript that shows a death message when someone dies to a player or a mob. but when i kill someone with a named item, says the item then the name.

So what i need is so that it says the item name rather than the item and the name. And if it's possible to make it like hoverable and show the item, enchants & item name.

Here's the skript btw:


only victim: "&e%victim% &chas died!" and "&e%victim% &cmet their fate" and "&e%victim% &cpassed away strangely"

victim and attacker: "&e%attacker% &ckilled &e%victim% &cusing &4%attacker's item name%" and "&e%attacker% &cDECAPITATED &e%victim% &cusing &4%attacker's %"

on death:
if attacker is not a player:
set death message to random element out of {@only victim}
else if attacker is a player:
set death message to random element out of {@victim and attacker}

When I'd like it by: Idk, whenever someone can do it lol