RP-Kit / RPKit

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

Set Chat Name Color #662

Closed dmccoystephenson closed 6 months ago

dmccoystephenson commented 7 months ago

Problem

It is not currently possible to set your chat name to be a different color than the chat itself.

Solution

The 'setchatnamecolor' command has been added to allow players to set their chat name color.

Testing

This was tested using the rpk-mc-server project by spinning up a minecraft server that had the rest of the RPKit suite (v2.4.0) installed. These changes have not been tested against the v2.5.x versions of the rest of the RPKit suite.

Chat name colors can now be set and persist upon a restart.

It should be noted that the first time a player chats after logging in, their name appears green, but subsequent chat attempts use the specified color as expected.

Issues

This resolves #627.

The ability for operators to set the chat name colors of others needs to be added before this fully resolves #658.

dmccoystephenson commented 4 months ago

All comments resolved, see #663