Format
The module responsible for formatting sent messages
🌍 Localization
📂 Path localizations → locale.yml → message.format
⚖️ Default
yml
format:
yml
format:
⚙️ Setting
📂 Path message.yml → format
⚖️ Default
yml
format:
enable: true
convert-legacy-color: true
adventure-tags:
- "HOVER"
- "CLICK"
- "COLOR"
- "KEYBIND"
- "TRANSLATABLE"
- "TRANSLATABLE_FALLBACK"
- "INSERTION"
- "FONT"
- "DECORATION"
- "GRADIENT"
- "RAINBOW"
- "RESET"
- "NEWLINE"
- "TRANSITION"
- "SELECTOR"
- "SCORE"
- "NBT"
- "PRIDE"
- "SHADOW_COLOR"
enable
Enables or disables the functionality of the module
convert-legacy-color
Enables formatting of legacy colors
Input Color | Converted to |
---|---|
&0 -&9 , &a -&f | <black> , <dark_blue> ... <white> |
&l /&m /&n /&o /&k /&r | <b> / <st> / <u> / <i> / <obf> / <reset> |
&#rrggbb , #rrggbb , &x&r&r&g&g&b&b , <##rrggbb> | <#rrggbb> |
MiniMessage Tags | <color:#rrggbb> , <rainbow> , <click:...> , <font> , etc. |
adventure-tags
These are Kyori tags that may appear in messages.
Tag | Usage | Description |
---|---|---|
<hover> | Hover | Text displayed when hovering over |
<click> | Click | Action triggered when clicked |
<color> | Color | Color |
<keybind> | Keybind | Key setup for the message |
<translatable> | Translatable | Message using the player's locale |
<translatable_fallback> | Translatable | Message with fallback translation using the player's locale |
<insertion> | Insertion | Text insertion in chat with SHIFT |
<font> | Font | Change font for text |
<decoration> | Decoration | Standard Minecraft decorations bold , italic , underlined , strikethrough , obfuscated |
<gradient> | Gradient | Gradient text color |
<rainbow> | Rainbow | Rainbow-colored text |
<reset> | Reset | Reset all tags and decorations |
<newline> | Newline | Newline, replaces \n |
<transition> | Transition | Transition between two colors |
<selector> | Selector | Mob selector |
<score> | Score | Team score (scoreboard) |
<nbt> | NBT | Insertion of NBT component |
... | ... | ... |
🔐 Permissions
📂 Path permission.yml → message.format
⚖️ Default
yml
format:
name: "flectonepulse.module.message.format"
type: "TRUE"
legacy-colors:
name: "flectonepulse.module.message.format.legacy_color"
type: "OP"
adventure-tags:
HOVER:
name: "flectonepulse.module.message.format.hover"
type: "OP"
CLICK:
name: "flectonepulse.module.message.format.click"
type: "OP"
COLOR:
name: "flectonepulse.module.message.format.color"
type: "OP"
KEYBIND:
name: "flectonepulse.module.message.format.keybind"
type: "OP"
TRANSLATABLE:
name: "flectonepulse.module.message.format.translatable"
type: "OP"
TRANSLATABLE_FALLBACK:
name: "flectonepulse.module.message.format.translatable_fallback"
type: "OP"
INSERTION:
name: "flectonepulse.module.message.format.insertion"
type: "OP"
FONT:
name: "flectonepulse.module.message.format.font"
type: "OP"
DECORATION:
name: "flectonepulse.module.message.format.decoration"
type: "TRUE"
GRADIENT:
name: "flectonepulse.module.message.format.gradient"
type: "OP"
RAINBOW:
name: "flectonepulse.module.message.format.rainbow"
type: "OP"
RESET:
name: "flectonepulse.module.message.format.reset"
type: "OP"
NEWLINE:
name: "flectonepulse.module.message.format.newline"
type: "OP"
TRANSITION:
name: "flectonepulse.module.message.format.transition"
type: "OP"
SELECTOR:
name: "flectonepulse.module.message.format.selector"
type: "OP"
SCORE:
name: "flectonepulse.module.message.format.score"
type: "OP"
NBT:
name: "flectonepulse.module.message.format.nbt"
type: "OP"
PRIDE:
name: "flectonepulse.module.message.format.pride"
type: "OP"
SHADOW_COLOR:
name: "flectonepulse.module.message.format.shadow_color"
type: "OP"
name
Permission name
type
Permission type
Type | Explanation |
---|---|
TRUE | Available to any player |
FALSE | Not available to anyone, must be granted separately (e.g., using LuckPerms) |
OP | Available to server operators |
NOT_OP | Available to not server operators |
legacy-colors
This allows player to use legacy colors in their messages
Input Color | Converted to |
---|---|
&0 -&9 , &a -&f | <black> , <dark_blue> ... <white> |
&l /&m /&n /&o /&k /&r | <b> / <st> / <u> / <i> / <obf> / <reset> |
&#rrggbb , #rrggbb , &x&r&r&g&g&b&b , <##rrggbb> | <#rrggbb> |
MiniMessage Tags | <color:#rrggbb> , <rainbow> , <click:...> , <font> , etc. |
NOTE
If you need player's chat colors to be formatted, use flectonepulse.module.message.format.color
adventure-tags
List of tags and their respective permissions