Trigger Command After Specific Death Message

1 emeralds0 replies • 60 views
GanonCraft99 started 11/20/21 8:31 pm
Hello. I am looking for a way to trigger a command in MC Bedrock when a player dies a certain way. For example, if a player is on Level 4 (tracked by a scoreboard), if they die by “hitting the ground too hard” a repeating command block will increment the scoreboard to Level 5, teleport the player and set their spawn point to a new location.

The part I can’t figure out is how to detect the specific death message to check the level and trigger the other automated actions. I do NOT need custom death messages—I am trying to evaluate the vanilla death messages in the chat to see if they match the message I want in order to trigger the other actions.

Any ideas how I can accomplish this? Thank you!
Posted by avatar
Level 1 : New Miner

Create an account or sign in to comment.

Planet Minecraft


© 2010 - 2021