I really need to know how to set a command where the health of a player can be seen when you press TAB in-game. It must show the players amount of hearts as displayed on the top of their hotbar in-game. I hope you get the point of what I'm trying to say and I hope you can help me!
21 Answer
Create an objective for players' health values:
/scoreboard objectives add health healthSet the objective to display in the TAB list:
/scoreboard objectives setdisplay list health