Chat
Module chat. Settings files: chat.toml, nicknames.toml, mentions.toml, items.toml, menu.json.
Commands
| Command | What it does | Permission | Default |
|---|---|---|---|
/nick <name>, /nickname <name> | Set your nickname | brita.essentials.nick | everyone |
/nick reset | Remove your nickname | brita.essentials.nick | everyone |
/nickother <player> <name|reset> | Change another player's nickname | brita.essentials.nick.others | operators |
/realname <nick> | Show who uses a nickname | brita.essentials.realname | everyone |
/chatcolor | Colour menu: preview, chat text and name colour, nickname anvil, reset | brita.essentials.menu | operators |
/rename <name|reset> | Rename the held item | brita.essentials.rename | operators |
/sign <message> | Sign the held item; | starts a new line | brita.essentials.sign | operators |
In chat
| Type | Result | Permission | Default |
|---|---|---|---|
@name | The player gets a title, the message and a sound | none | everyone |
@everyone | Mentions all players | brita.essentials.mention.everyone | operators |
[item] | Shows the item in your hand | none | everyone |
| colour codes | Colours in your messages | brita.essentials.chat.color | nobody |
Colours in nicknames need brita.essentials.nick.color (operators).
Colour formats: &c, #ff6400, <gradient:#ff6400:#ffffff>, <rainbow>.
Settings
| Setting | File | What it does | Default |
|---|---|---|---|
nameColor | chat.toml | Colour of player names | empty |
operatorNameColor | chat.toml | Colour of operators' names, before nameColor | empty |
prefixColor | chat.toml | Recolours every LuckPerms prefix | empty |
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:
- The colour the player picked in
/chatcolor - Colours written into the nickname
- LuckPerms meta
brita-name-color, for example/lp group admin meta set brita-name-color red operatorNameColorinchat.toml, for operators (after/opor/deop: rejoin or/brita reload)nameColorinchat.toml- 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,rainboworgradient:#ff6400:#ffffff. - Its optional
nameis 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.