What is the difference between a user's name and display name?

You can write your topic however you want, but you need to answer these questions:
I want to learn the difference of a name and display name, as they look the same in most instances I have seen them and I really don’t see how they are any different. I searched up solutions on the devforum and no luck.

1 Like

Name is the real name, DisplayName is just what shows up to other users in-game

3 Likes

Like the real person’s name? or just their username? if it is their username, what is the point of having a display name? can a player change their display name? how? because when getting player data, I am pretty sure it returns player id, player username, and player display name even when looking it up outside the server.

1 Like

I’m pretty sure player.Name returns their name, so for me, Cyafu. player.userId returns my user id, so 131517131 or something for me. player.displayName returns the player’s display name, so like the name that hovers over player’s heads, or the name that people see when they chat.

Once again, pretty sure but ya might need to double check.

1 Like

Ok, but I am still a little confused on how display name is a property even for those who aren’t in a server, and my other question, can players change their display name?

1 Like

Players cannot change their displayName while in-game, but a recent exploit would allow players to change their display name before fully loading in. I’m not entirely sure what you mean by how display name is a property even for those who aren’t in a server, because you need the player to change their display name, and you can’t get the player if they aren’t in a game.

1 Like

How do you change your display name while outside of a game?

1 Like

You can’t, its not a global value. It doesn’t save, and will only activate in the game you change it in.

Think of it as a temporary nickname.

1 Like

That’s starting to sound like you are asking for exploiting advice, and that’s strictly forbidden, not to mention against Roblox ToS.

1 Like

BRUH

NO I AM NOT

It is just that when working with player characters and players I see the property display name, and: UserService | Documentation - Roblox Creator Hub

I just saw this function and was wondering what a display name was. I also heard a post about exploiting with display names and I actually want to know how players might be able to alter their display names to ruin people’s games, just to prevent that from happening.

2 Likes

I am still confused about one thing though, can a player change it, how, and if it is a temporary nickname that you can only have in a server, why does this function (which can get player display names while they are not in games) UserService | Documentation - Roblox Creator Hub exist?

1 Like

A player normally cannot change it, however, there was an exploit found a bit ago that could change it if they tried while their game was still loading.

That is in case the player IS in-game, and you need to get the player. Might as well give the extra info for when it has been changed.

1 Like

But if a player can’t change it, what is the point of the property?

1 Like

For the game to be able to change it. Like if you have a feature that allows you to turn into other people, you can change their character and Display Name and you will look exactly like that person to other people

1 Like

Welp, now we know what that is gonna be used for, I don’t know if you’re supposed to talk about unreleased features / leaked and stuff, but yeah. I think we all know, just a reminder for you guys to start using this on leaderboards, guis stuff like that, before the update gets released.
And also don’t ever get the player’s character by doing this:

DON’T

game.Workspace[player.Name]

2 Likes

Yeah, and I’m going to be honest with you, this is going to suck.
There are going to be the people with dumb nicknames, toxic nicknames, duplicate nicknames, etc. and it is going to get annoying really fast to have many people with the same name displayed on UIs. If this does come out I don’t want to implement this in my game unless it is highly filtered and moderated and players don’t end up just abusing it.

1 Like

It has the same rules as a normal username so i don’t except problems, as long as I can change this dumb username of mine without paying 1000 ROBUX I’m good with it. I don’t think people will have the same username over and over again but we’ll see.

1 Like

No I don’t mean bad words but like you know “rogangsters” right well they are gonna be like “Depressed kid” and “Sad boy” and crap like that which has a very good chance of happening.

1 Like

Nah, it also has filtering just like normal usernames, and i except to be even more filtered. When you use for example the roblox chat (the one in the website) the filtering is HUGE you can’t type numbers AT ALL even if both parties are +13… I except numbers to be allowed but not swear words… They’re taking a while to release, I wonder if their making a new filter or waiting for games to support it, or maybe waiting till people pay 1000 ROBUX to change their username lol.

1 Like

I sure do hope so. Even then, feature could still be annoying for copying reasons. They better make the actual name noticeable.

3 Likes