I’m gonna answer these prescribed questions:
-
What do you want to achieve?
I want to make it easier to target players with chat commands.
In a chat cmd system that I’ve already scripted, I want to let a PrivateServerOwner use any Customized Names they (might) have already set for friends who are playing with them.
- What is the issue?
Screenshot where one can set a very simple Custom Name for friends who have not set a Display Name over their complicated UserName.
-
What solutions have you tried so far?
A reasonable amount (hopefully) of searching.
Howdy all,
I’m a rookie game dev. This is my first question post
I’ve scripted a chat cmd system along with extra admin features/private server privileges etc. and I know that I can get Player.DisplayName for functions. But of course, that’s often, by default, a player’s typewriter-unfriendly UserName if they haven’t yet set a Display Name.
This “Customize Name” feature on the Client is very useful in game play and the social media platform part of Roblox. Friends who frequently change their DisplayName can be hard to quickly recognize. I recently started using it to find peeps in my own friends list when gaming, so now I wonder how a Customized Name could be used in a chat command system.
In other words, in absence of a suggestive auto-fill feature (which would be a scripting hurdle I don’t want to jump over at the moment) I would like to let an Admin-powered player use all their Custom Names (that they have already set for friends or whoever is on their private server with them at a given time) in my chat command system.
I still need to get my code to properly deal with two players on the same server with identical DisplayNames, and I think this Custom Name feature on the Client would be really convenient for admin command use (at least, in the chat).
I suspect that the “not visible to other players” might imply that a Customized Name also isn’t visible to a developer’s scripts? Sorry if this topic is answered somewhere else. I searched but couldn’t find anything definitive on this. Found nothing in documentation, but maybe I missed something somewhere. Most results give me info about Display Name issues/questions.
What I really should do is make a GUI (I’m just reluctant to further clutter the screen) and I likely will do so eventually. At the moment I have most admin command functions working by way of chat only. It would be great to make that easier for private server owners.
/Thanks in advance ramble: I did at least a year of lurking/reading prior to getting an account almost a year ago and until today suspected I might not ever need to write my own question, as the community here tends to be so friendly, resourceful and helpful (and my specific problems are commonly fixed in somewhat related solutions) This old dog has learned new tricks thanks to countless super clever coders (many who are a fraction of my age) It’s hard to imagine a better community of people in tech