Skip to content

Chat Colors

RexChat includes a chat color system that lets players select a color preset for their messages. Colors are defined in config.yml with per-color permissions.

/chatcolor — List available colors
/chatcolor list — List available colors
/chatcolor set <color> — Set your chat color
/chatcolor <color> — Set your chat color (shortcut)
/chatcolor off — Remove your chat color

Alias: /color

chatcolor:
enabled: true
colors:
red:
format: "&c"
permission: "rexchat.chatcolor.red"
display-name: "Red"
gold:
format: "&6"
permission: "rexchat.chatcolor.gold"
display-name: "Gold"
rainbow:
format: '<rainbow>'
permission: "rexchat.chatcolor.rainbow"
display-name: "&cR&6a&ei&an&bb&do&5w"
sunset:
format: '<gradient:#FF6B6B:#FFE66D>'
permission: "rexchat.chatcolor.sunset"
display-name: "Sunset"
ocean:
format: '<gradient:#00B4DB:#0083B0>'
permission: "rexchat.chatcolor.ocean"
display-name: "Ocean"
  • Legacy codes: &c, &6, &a, etc.
  • MiniMessage tags: <rainbow>, <gradient:#FF6B6B:#FFE66D>, etc.
  • Player selections are stored in data.yml by UUID
  • The selected color is applied to the message text only (not the format/prefix)
  • Preview tokens ([item], [inventory]) are not colored — they keep their own styling
  • If a player loses permission for their selected color, it’s automatically removed

Set chatcolor.enabled: false to disable the entire system. The /chatcolor command will return an error.

You can also remove individual colors from the config — they won’t regenerate automatically.