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
IMAGE
β
Message if it's an image
PING
β
Message if it's a ping
TPS
β
Message if it's TPS
ONLINE
β
Message if it's online
COORDS
β
Message if it's coordinates
STATS
β
Message if it's statistics
SKIN
β
Message if it's a skin
ITEM
β
Message if it's an 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
β
TPS
β
ONLINE
β
COORDS
β
STATS
β
SKIN
β
ITEM
β
URL
β
IMAGE
β
SPOILER
β
BOLD
β
ITALIC
β
UNDERLINE
β
OBFUSCATED
β
STRIKETHROUGH
β
Other Kyori tags β
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
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
Type | Explanation |
---|---|
TRUE | Available for any player |
FALSE | Available if granted separately (e.g., via LuckPerms) |
OP | Available for server operators |
NOT_OP | Available if granted separately (e.g., via LuckPerms) |
all
β
Permission to use all possible formatting options
tags
β
List of tags and their respective permissions