cyberpwnn / Gloss

API https://github.com/VolmitSoftware/GlossAPI
0 stars 1 forks source link

Tab completion not working for emojis in 1.13.2 #46

Closed Puretie closed 5 years ago

Puretie commented 5 years ago

Typing ":air" or ":heart" and pressing tab does not auto-complete it into the emoji as intended. 1.13

DavidRockin commented 5 years ago

Can't fix this in 1.13+, tab completion is now client-side.

Andre601 commented 5 years ago

I don't think so...

You can use libraries like commodore to add 1.13+ command suggestions and yes tab-completion... So I think it's somehow possible to add this to normal chat... Will just be more difficult.

DavidRockin commented 5 years ago

It's not possible, chat completion is only available prior to 1.13. That commodore library is only for command suggestions, not chat. I even ran a test for you, emoji codes would only auto complete if the chat message begins with / which is not the intended design.

image

If you refer to the Spigot docs the PlayerChatTabCompleteEvent is deprecated since 1.13 due to "This event is no longer fired due to client changes"

Andre601 commented 5 years ago

fair enough