TextChatService now Supports Autocomplete for Emojis and Commands!

Please add so each command have a property named: “Display in Autocomplete”
Cuz I don’t want all the commands to be displayed!!!

1 Like

Emoji autocomplete should trigger by typing two non-space characters, not just one.
Why?

  • it prevents you from typing emojis such as “:D” or “:)”
  • the chance that you get the emoji you searched for with just one character is low.
2 Likes

Will this update be able to give us a chance to make our own custom emojis for the chat? I’m not sure if anyone had done that before this update was released, but it would be a cool idea.

AAAAAAAAAAAAAH IT DOESNT WORK FOR CUSTOM COMMANDS
image
please fix this

1 Like

nevermind i read the post but the need for the command start with “/” is so stupid,
please remove that requirement

and yes i use the textchatcommand instance

1 Like

Finally I no longer have to do Windows + .

But @Clasifex
Can someone, please, please do Add something like SpecialKeyPressed to have a UserInputService that would get input in a keyboard layout friendly way

In the topic, you’re mentioning / (Slash).

But the behaviour of the new TextChatService, is utilizing UserInputService.GetStringForKeyCode

There are Keyboard Layouts where Enum.KeyCode.Slash is not represented as /.

The OLD Chat, used a better method to listen for / where it actually would be a / character, and nothing else.

For some reason this issue is only in Studio. Studio doesn’t seem to be listening for the SpecialKeyPress on the new chat. Only on the Roblox Client.

Please fix, to make testing in Studio better :pray:

2 Likes

Why is it stupid for it to start with /?

cuz you cant change it???

You’re misunderstanding.

For me it doesn’t start for /.

It starts with this.
image

While this is set to its default value. I didn’t change it.
image

In Studio I have to press -, because for my keyboard language layout, Enum.KeyCode.Slash for me, is represented as the key -. If I press / on my NumPad, it doesn’t focus the chat.

However, in the Roblox Client itself, I can press / and it would open the chat. But not in Studio.

Fact is, it’s still displaying me to press -.

 

Roblox designed it to be the /. But for me it’s not even displaying the / key. That’s the issue that I am addressing.

Developer’s intention was / but the user gets the “wrong” key, if their keyboard layout is different. It’s the intended behaviour from UserInputService.GetStringForKeyCode. But not what the developer expected.

 

If Roblox would address this issue, I’d encourage more to use the new TextChatService over the LegacyChat.
Along with it to show the chat log when a user joins.

3 Likes

Makes sense. I made the mistake of commenting without knowing what the topic is about lol.

3 Likes

would be nice if inserting multiple of the same emoji didn’t result in it spitting out an incorrect unicode

3 Likes

It’s because of UserInputService.GetStringForKeyCode

You’re trying to set it to Enter, using game.TextChatService.ChatInputBarConfiguration.KeyboardKeyCode

but it doesn’t work because you get an Error like this:

ChatInputBarConfiguration.KeyboardKeyCode has an unsupported keycode for rendering UI:Enum.KeyCode.Home  -  Client - setUpConfigurationObjects:38

And then it gets set to whatever it was previously set to. Fun fact is Roblox displays “Home” key as a thing that you can select to set the keybind to, but it doesn’t even work.

@Clasifex

3 Likes

Great quality of life update! However, please consider adding all TextChatCommands to the list!

  • I have made an admin system that uses the new TextChatService with TextChatCommands, and they all use the : prefix, it would be useful to see any TextChatCommand show up in the list.

This causes an issue because people trying to run the :fly command end up running :flying-saucer: … a bit hilarious because I end up seeing a bunch of people sending UFOs in chat.

  • Additionally, you guys could add a bool property under the TextChatCommand’s instance named something along the lines of “InAutocompleteList” to manage what command shows up in there.

  • Another idea, under the TextChatCommand property maybe you guys could add a Description string property, when it shows in chat it could put a little description on the right of it

Thank you, I’m glad this new chat system is getting a bunch of love!

2 Likes

The team tag when typing a message doesnt scale when the text size for the input bar is changed
image

This makes much easier using emojis on PC now. Thanks for the update!

im actually just switching it from the dropdown menu

I absolutely love this update! Although it will be an utter tragedy that anyone can now use skull emojis with little to no effort, it will greatly improve my ability to express by being able to easily react with a sobbing emoji.

Now, jokes aside, I want to give my take on the whole “restricting text commands to /”. I think this is the best way to do it honestly, / has always been the way to use Roblox commands (like /help) so having the prefix be changeable to anything anyone wants just makes it unnecessarily inconsistent per experience.
Sure, customization is nice, but it’s such a minute customization that (apart from feeling nicer to those used to utilities such as Adonis) it serves no real positive value.

To prove my point (although I doubt everyone has faced this same issue) you’ll often see people trying to see if a game has any useful commands set up by repeating the same thing (“cmds”) followed by common prefixes such as: !, ?, ;, ;, and of course /. Having the standard be / for all experiences would eliminate this issue – and if a game doesn’t want to use the TextChatService for its command system, /cmds could just inform the user of what the experience uses for its commands or whatnot.

3 Likes

wow! am excited for this!! thank you.

Will there be a way to change the roundness of the corners through the chat window and chat bar configuration objects? Personally, that’s the only thing thats kind of stopping me from switching, since most of my UI is square. Everything else is looking great through!

2 Likes

Wow, que buen logro esto, algo util se podria decir. Que gran actualizacion.