Nameplates
What this player's game draws of the plates above players, and short labels resources add above them. None of this is sent to others. What the server sets on a plate with Player.setNameplate* comes with the player. A label belongs to the resource that set it, and goes when that resource stops.
nameplates.setVisible()
Nameplates.setVisible(visible)Shows or hides all plates on this screen.
nameplates.isVisible()
Nameplates.isVisible()Whether plates show on this screen. True by default.
nameplates.setHealthVisible()
Nameplates.setHealthVisible(visible)Shows or hides health bars on this screen.
nameplates.isHealthVisible()
Nameplates.isHealthVisible()Whether health bars show on this screen.
nameplates.setNameVisible()
Nameplates.setNameVisible(visible)Shows or hides names on this screen.
nameplates.isNameVisible()
Nameplates.isNameVisible()Whether names show on this screen. With health bars alone, each bar takes its name's place.
nameplates.setMode()
Nameplates.setMode(mode)Sets what a plate shows on this screen: 'both', 'name', 'health' or 'none'.
nameplates.getMode()
Nameplates.getMode()What a plate shows on this screen: 'both', 'name', 'health' or 'none'.
nameplates.setSelfVisible()
Nameplates.setSelfVisible(visible)Shows or hides the local player's own plate.
nameplates.isSelfVisible()
Nameplates.isSelfVisible()Whether the local player's own plate shows. False by default.
nameplates.setLabel()
Nameplates.setLabel(entityId, text, durationMs, color)Adds a short line above an entity's plate on this screen. '' removes it.
nameplates.clearLabel()
Nameplates.clearLabel(entityId)Removes the label from one entity.
nameplates.clearLabels()
Nameplates.clearLabels()Removes all labels.