Carbon icon indicating copy to clipboard operation
Carbon copied to clipboard

[Feature] Enhance player pinging with 1.19.1's chat suggestions and chat preview

Open TehBrian opened this issue 2 years ago • 0 comments

Proposed Feature Description:

Minecraft 1.19.1 introduces suggestions for regular chat messages (as opposed to only commands). It also introduces a chat preview above the player's unsent message. Carbon can use these to enhance player pinging in two ways:

  1. Provide player ping auto-completion, listing pingable players.
  2. Present unsent, valid player pings with the usual player ping styling.

Proposed Feature Functionality:

Those two enhancements could function as follows:

  1. If the player begins to type a new word that begins with the player ping symbol (@), a list of pingable players appears, allowing the player to select which player to ping. This would be implemented with chat suggestions.
  2. For every player ping in the message that is valid (i.e., @ followed by the name of a player that exists and is pingable), the ping should be displayed in the styling for player pings in regular chat. This would be implemented with chat previews.

TehBrian avatar Jul 10 '22 04:07 TehBrian