Carbon
Carbon copied to clipboard
[Feature] Enhance player pinging with 1.19.1's chat suggestions and chat preview
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:
- Provide player ping auto-completion, listing pingable players.
- Present unsent, valid player pings with the usual player ping styling.
Proposed Feature Functionality:
Those two enhancements could function as follows:
- 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. - 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.