Chat Patches

Chat Patches

2M Downloads

Customizable Nicknames

minecraftwithtwink opened this issue · 0 comments

commented

Feature Request: Customizable Nicknames via Command

Currently, there’s no simple built-in way to give players customized nicknames with colors and styles. This limits personalization and makes it harder for servers to add unique flair to player identities.


Introduce a command that allows setting a nickname with color and style in one step:

/nickname set <hexcolor> <style (bold/italic/bold_italic/etc)> <nickname>

Example:

/nickname set #ff5733 bold_italic FireMage

This would display the player’s nickname as FireMage in the chosen color and style.


The nickname data could be stored in a JSON file inside the config folder for persistence. Example structure:

{
  "players": {
    "uuid-1234-5678-90ab-cdef": {
      "nickname": "FireMage",
      "color": "#ff5733",
      "style": "bold_italic"
    },
    "uuid-abcdef-9876-5432-10gh": {
      "nickname": "IceQueen",
      "color": "#33cfff",
      "style": "italic"
    }
  }
}

This format makes it easy to read, edit, and expand later. (makes it possible to have server side data sync implimentation too since server could just store all names in this json format)


Additional context

  • Could optionally support additional styles like underline, strikethrough, or obfuscated text.
  • A /nickname clear <player> command would be useful to revert to default names.