Skip to content

Format ​

The module responsible for formatting sent messages

🌍 Localization ​

πŸ“‚ Path localizations β†’ язык.yml β†’ message.format

βš–οΈ Default ​

yml
format:
  tags:
    PING: "<fcolor:2><ping></fcolor>"
    TPS: "<fcolor:2><tps></fcolor>"
    ONLINE: "<fcolor:2><online></fcolor>"
    COORDS: "<fcolor:2><x> <y> <z></fcolor>"
    STATS: "<color:#ff7171><hp>β™₯</color> <color:#3de0d8><armor>πŸ›‘ <color:#e33059><attack>πŸ—‘ <color:#4eff52><exp>⏺ <color:#f0a01f><food>πŸ–"
    SKIN: "<image:\"<message>\"><u>πŸ‘¨ Π‘ΠΊΠΈΠ½</u></image>"
    ITEM: "<fcolor:2>[<message>]</fcolor>"
    URL: "<click:open_url:\"<message>\"><hover:show_text:\"<fcolor:2>ΠžΡ‚ΠΊΡ€Ρ‹Ρ‚ΡŒ ссылку <br><u><message>\"><fcolor:2><u>πŸ—— Бсылка</u></fcolor:2></hover></click>"
    IMAGE: "<image:\"<message>\"><u>πŸ–ƒ ΠšΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠ°</u></image>"
yml
format:
  tags:
    PING: "<fcolor:2><ping></fcolor>"
    TPS: "<fcolor:2><tps></fcolor>"
    ONLINE: "<fcolor:2><online></fcolor>"
    COORDS: "<fcolor:2><x> <y> <z></fcolor>"
    STATS: "<color:#ff7171><hp>β™₯</color> <color:#3de0d8><armor>πŸ›‘ <color:#e33059><attack>πŸ—‘ <color:#4eff52><exp>⏺ <color:#f0a01f><food>πŸ–"
    SKIN: "<image:\"<message>\"><u>πŸ‘¨ Skin</u></image>"
    ITEM: "<fcolor:2>[<message>]</fcolor>"
    URL: "<click:open_url:\"<message>\"><hover:show_text:\"<fcolor:2>Open url <br><u><message>\"><fcolor:2><u>πŸ—— Url</u></fcolor:2></hover></click>"
    IMAGE: "<image:\"<message>\"><u>πŸ–ƒ Image</u></image>"

url ​

Message if it's a link
url

IMAGE ​

Message if it's an image
image

PING ​

Message if it's a ping
ping

TPS ​

Message if it's TPS
tps

ONLINE ​

Message if it's online
online

COORDS ​

Message if it's coordinates
coords

STATS ​

Message if it's statistics
stats

SKIN ​

Message if it's a skin
skin

ITEM ​

Message if it's an item
item

βš™οΈ Setting ​

πŸ“‚ Path message.yml β†’ format

βš–οΈ Default ​

yml
format:
  enable: true
  tags:
    PING:
      enable: true
      trigger: "%ping%"
    TPS:
      enable: true
      trigger: "%tps%"
    ONLINE:
      enable: true
      trigger: "%online%"
    COORDS:
      enable: true
      trigger: "%coords%"
    STATS:
      enable: true
      trigger: "%stats%"
    SKIN:
      enable: true
      trigger: "%skin%"
    ITEM:
      enable: true
      trigger: "%item%"
    URL:
      enable: true
      trigger: "(?<!:\")((https?|ftp|gopher|telnet|file):((//)|(\\\\))+[\\w:#@%/;$()~_?+-=\\\\.&]*)"
    IMAGE:
      enable: true
      trigger: "(?<!:\")((https?|ftp|gopher|telnet|file):\\/\\/(?:i\\.imgur\\.com|media\\.discordapp\\.net)\\/[\\w:#@%/;$()~_?+-=\\\\.&]*)"
    SPOILER:
      enable: true
      trigger: "\\Q||\\E"
    BOLD:
      enable: true
      trigger: "\\Q**\\E"
    ITALIC:
      enable: true
      trigger: "\\Q##\\E"
    UNDERLINE:
      enable: true
      trigger: "\\Q__\\E"
    OBFUSCATED:
      enable: true
      trigger: "\\Q??\\E"
    STRIKETHROUGH:
      enable: true
      trigger: "\\Q~~\\E"
    HOVER:
      enable: true
      trigger: null
    CLICK:
      enable: true
      trigger: null
    COLOR:
      enable: true
      trigger: null
    KEYBIND:
      enable: true
      trigger: null
    TRANSLATABLE:
      enable: true
      trigger: null
    TRANSLATABLE_FALLBACK:
      enable: true
      trigger: null
    INSERTION:
      enable: true
      trigger: null
    FONT:
      enable: true
      trigger: null
    DECORATION:
      enable: true
      trigger: null
    GRADIENT:
      enable: true
      trigger: null
    RAINBOW:
      enable: true
      trigger: null
    RESET:
      enable: true
      trigger: null
    NEWLINE:
      enable: true
      trigger: null
    TRANSITION:
      enable: true
      trigger: null
    SELECTOR:
      enable: true
      trigger: null
    SCORE:
      enable: true
      trigger: null
    NBT:
      enable: true
      trigger: null
    PRIDE:
      enable: true
      trigger: null
    SHADOW_COLOR:
      enable: true
      trigger: null

enable ​

Enables or disables the functionality of the module

PING ​

ping

TPS ​

tps

ONLINE ​

online

COORDS ​

coords

STATS ​

stats

SKIN ​

skin

ITEM ​

item

URL ​

url

IMAGE ​

image

SPOILER ​

spoiler

BOLD ​

bold

ITALIC ​

italic

UNDERLINE ​

underline

OBFUSCATED ​

obfuscated

STRIKETHROUGH ​

strikethrough

Other Kyori tags ​

TagUsageDescription
<hover>HoverText displayed when hovering over
<click>ClickAction triggered when clicked
<color>ColorColor
<keybind>KeybindKey setup for the message
<translatable>TranslatableMessage using the player's locale
<translatable_fallback>TranslatableMessage with fallback translation using the player's locale
<insertion>InsertionText insertion in chat with SHIFT
<font>FontChange font for text
<decoration>DecorationStandard Minecraft decorations bold, italic, underlined, strikethrough, obfuscated
<gradient>GradientGradient text color
<rainbow>RainbowRainbow-colored text
<reset>ResetReset all tags and decorations
<newline>NewlineNewline, replaces \n
<transition>TransitionTransition between two colors
<selector>SelectorMob selector
<score>ScoreTeam score (scoreboard)
<nbt>NBTInsertion of NBT component

πŸ” Permissions ​

πŸ“‚ Path permission.yml β†’ message.format

βš–οΈ Default ​

yml
format:
  name: "flectonepulse.module.message.format"
  type: TRUE
  all:
    name: "flectonepulse.module.message.format.all"
    type: OP
  tags:
    PING:
      name: "flectonepulse.module.message.format.ping"
      type: TRUE
    TPS:
      name: "flectonepulse.module.message.format.tps"
      type: TRUE
    ONLINE:
      name: "flectonepulse.module.message.format.online"
      type: TRUE
    COORDS:
      name: "flectonepulse.module.message.format.coords"
      type: TRUE
    STATS:
      name: "flectonepulse.module.message.format.stats"
      type: TRUE
    SKIN:
      name: "flectonepulse.module.message.format.skin"
      type: TRUE
    ITEM:
      name: "flectonepulse.module.message.format.item"
      type: TRUE
    URL:
      name: "flectonepulse.module.message.format.url"
      type: TRUE
    IMAGE:
      name: "flectonepulse.module.message.format.image"
      type: TRUE
    SPOILER:
      name: "flectonepulse.module.message.format.spoiler"
      type: TRUE
    BOLD:
      name: "flectonepulse.module.message.format.bold"
      type: TRUE
    ITALIC:
      name: "flectonepulse.module.message.format.italic"
      type: TRUE
    UNDERLINE:
      name: "flectonepulse.module.message.format.underline"
      type: TRUE
    OBFUSCATED:
      name: "flectonepulse.module.message.format.obfuscated"
      type: TRUE
    STRIKETHROUGH:
      name: "flectonepulse.module.message.format.strikethrough"
      type: TRUE
    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

TypeExplanation
TRUEAvailable for any player
FALSEAvailable if granted separately (e.g., via LuckPerms)
OPAvailable for server operators
NOT_OPAvailable if granted separately (e.g., via LuckPerms)

all ​

Permission to use all possible formatting options

tags ​

List of tags and their respective permissions