Get the player's "nametag"/"chat" name

I need a string to identify players for an external API. I don't mind if the name is not stable across sessions (ex. player changing their Steam display name). My first thought for this was the player's nametag name - how can I get a player's display name as it appears in the BPW_PlayerNameTag widget from a server context? Alternatively, any other string identifier for players should work for my use case.
No description
Solution:
PlayerState's Get PlayerName function seems to return it. tested on dedicated server, code running server side, and it gives me the name that appears when I send a chat message
No description
Jump to solution
3 Replies
Solution
Robb
Robb4w ago
PlayerState's Get PlayerName function seems to return it. tested on dedicated server, code running server side, and it gives me the name that appears when I send a chat message
No description
Rex
Rex4w ago
I think Arch answered this a while ago, and I think that was the suggested approach
Robb
RobbOP4w ago
I couldn't find it via discord search but also vaguely remember that discussion, hope I used more searchable terms this time

Did you find this page helpful?