RP-Kit / RPKit

RPKit plugin suite
Apache License 2.0
21 stars 12 forks source link

Customizable Chat Name Colors #658

Open dmccoystephenson opened 1 year ago

dmccoystephenson commented 1 year ago

Desired Solution

As a regular player, I should be able to change the color of my name when it appears in the chat. As an operator, I should be able to change the color of the name of any player when it appears in the chat. Changes to name colors should be immediate and persist upon a server restart.

A list of channels excluded from the profile color override should be configurable in the config.yml. In other words, operators should be capable of configuring some channels to not allow players to override the color of their name that appears in the chat.

Subtasks

Acceptance Criteria

dmccoystephenson commented 12 months ago

The branch for this work item can be found here: https://github.com/dmccoystephenson/my-RPKit/tree/setchatnamecolor

(updated 3/27/2024)

dmccoystephenson commented 11 months ago

I can verify that the migration for the new table works and that the 'chat_name_color' associated with a minecraft profile id can be inserted, updated & queried.

Next step is to actually use the 'chat_name_color' value when a message gets sent to a channel.

dmccoystephenson commented 7 months ago

Added "Changes to chat name colors persist upon restarting the server" to the acceptance criteria

dmccoystephenson commented 7 months ago

This may be considered a duplicate of #627

dmccoystephenson commented 4 months ago

Fully implemented by #663