Skip to content

Commit 1946835

Browse files
ZughyZughy
and
Zughy
authoredJan 11, 2021
Document how to make nametags background disappear on players' head (#10783)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
1 parent 08ee979 commit 1946835

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎doc/lua_api.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -6938,7 +6938,11 @@ Player properties need to be saved manually.
69386938
-- in mods.
69396939

69406940
nametag = "",
6941-
-- By default empty, for players their name is shown if empty
6941+
-- 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+
69426946

69436947
nametag_color = <ColorSpec>,
69446948
-- Sets color of nametag

0 commit comments

Comments
 (0)
Please sign in to comment.