We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08ee979 commit 1946835Copy full SHA for 1946835
doc/lua_api.txt
@@ -6938,7 +6938,11 @@ Player properties need to be saved manually.
6938
-- in mods.
6939
6940
nametag = "",
6941
- -- By default empty, for players their name is shown if empty
+ -- The name to display on the head of the object. By default empty.
6942
+ -- If the object is a player, a nil or empty nametag is replaced by the player's name.
6943
+ -- For all other objects, a nil or empty string removes the nametag.
6944
+ -- To hide a nametag, set its color alpha to zero. That will disable it entirely.
6945
+
6946
6947
nametag_color = <ColorSpec>,
6948
-- Sets color of nametag
0 commit comments