Skip to main content

Chat

Module chat. Settings files: chat.toml, nicknames.toml, mentions.toml, items.toml, menu.json.

Commands​

CommandWhat it doesPermissionDefault
/nick <name>, /nickname <name>Set your nicknamebrita.essentials.nickeveryone
/nick resetRemove your nicknamebrita.essentials.nickeveryone
/nickother <player> <name|reset>Change another player's nicknamebrita.essentials.nick.othersoperators
/realname <nick>Show who uses a nicknamebrita.essentials.realnameeveryone
/chatcolorColour menu: preview, chat text and name colour, nickname anvil, resetbrita.essentials.menuoperators
/rename <name|reset>Rename the held itembrita.essentials.renameoperators
/sign <message>Sign the held item; | starts a new linebrita.essentials.signoperators

In chat​

TypeResultPermissionDefault
@nameThe player gets a title, the message and a soundnoneeveryone
@everyoneMentions all playersbrita.essentials.mention.everyoneoperators
[item]Shows the item in your handnoneeveryone
colour codesColours in your messagesbrita.essentials.chat.colornobody

Colours in nicknames need brita.essentials.nick.color (operators). Colour formats: &c, #ff6400, <gradient:#ff6400:#ffffff>, <rainbow>.

Settings​

SettingFileWhat it doesDefault
nameColorchat.tomlColour of player namesempty
operatorNameColorchat.tomlColour of operators' names, before nameColorempty
prefixColorchat.tomlRecolours every LuckPerms prefixempty

The chat line layout, nickname rules, mention sound and title, and the item commands each have their own file; every option is explained in the file.

Name and prefix colour​

In chat and in TAB's player list, the first of these that is set colours the name:

  1. The colour the player picked in /chatcolor
  2. Colours written into the nickname
  3. LuckPerms meta brita-name-color, for example /lp group admin meta set brita-name-color red
  4. operatorNameColor in chat.toml, for operators (after /op or /deop: rejoin or /brita reload)
  5. nameColor in chat.toml
  6. The colour the LuckPerms prefix ends with

The prefix takes LuckPerms meta brita-prefix-color, then prefixColor, otherwise it stays as written. Rank changes in LuckPerms show up at once; after editing chat.toml run /brita reload.

Colour menu layout​

menu.json sets the slots of the /chatcolor menu (0 to 44, -1 hides a button), its items, the glass frame, click sounds and the list of colours and gradients. Write only what you want to change, then run /brita reload; the next opened menu uses it.

  • A colour is a name such as red, #ff6400, rainbow or gradient:#ff6400:#ffffff.
  • Its optional name is a plain text or a key from the language files.
  • A wrong item, slot or colour is reported in the server log, and the default (or nothing) is used instead.

TAB​

With TAB installed, the player list shows nicknames and name colours, and %brita_nick% shows a player's nickname with its colours (or the real name) in TAB's scoreboard, header, footer and boss bar.