Skip to content

feat: AvatarNametag component (id 1221) - #474

Open
popuz wants to merge 3 commits into
mainfrom
feat/avatar-nametag-main
Open

feat: AvatarNametag component (id 1221)#474
popuz wants to merge 3 commits into
mainfrom
feat/avatar-nametag-main

Conversation

@popuz

@popuz popuz commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

A scene-authored plate drawn above an avatar's nametag — a rank or a role the scene assigns to a player.

Valid on engine.PlayerEntity, on a player's entity in the scene, or on any entity with an AvatarShape; ignored elsewhere. The plate is local to the client that renders it and is never relayed to other players, and only the scene the player currently stands in can write it.

label is a single line; empty draws the plate without text, for color-coding players. The three colors are optional: label_color and background_color fall back to the client's native nametag colors, border_color to background_color.

Implemented in decentraland/unity-explorer#9829.

A scene-authored plate drawn above an avatar's nametag, for a rank or a
role the scene assigns to a player. Valid on the local player entity, on
a player's entity in the scene, or on any entity with an AvatarShape.

The plate is local to the client that renders it and is never relayed;
only the scene the player currently stands in can write it. The three
colors are optional and fall back to the client's native nametag colors,
and an empty label draws the plate without text, for color-coding.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@popuz popuz self-assigned this Aug 31, 2026
@github-actions

github-actions Bot commented Aug 31, 2026

Copy link
Copy Markdown

Test this pull request

  • The @dcl/protocol package can be tested in scenes by running
    npm install "https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-33486360895.commit-24ea87c.tgz"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant