everyone.dance icon indicating copy to clipboard operation
everyone.dance copied to clipboard

Use SM profile display name as the player card name

Open MrTwinkles47 opened this issue 5 years ago • 3 comments

If current player has loaded a profile, use the profile's display name as the player card name. Otherwise, continue to use the random Player nnn player name.

Lua to grab the profile name: PROFILEMAN:GetProfile(player):GetDisplayName()

MrTwinkles47 avatar Apr 02 '21 19:04 MrTwinkles47

I considered this for a while and didn't implement it because of conflict handling - if a player has a display name set in their profile and they decide to change their name on everyone.dance to something else, what should be displayed next time they open it? The saved one, or the profile name? Maybe if there's a profile name then it always takes precedence unless the player edits their name in the game room?

benank avatar Apr 03 '21 05:04 benank

Maybe if there's a profile name then it always takes precedence unless the player edits their name in the game room?

This is how I was picturing it. Use the SM profile name as default, but any edit to the player name in everyone.dance will take priority.

MrTwinkles47 avatar Apr 03 '21 16:04 MrTwinkles47

Gotcha! I'll bundle this in with some other updates probably later today!

benank avatar Apr 03 '21 16:04 benank