Skip to content

formatting

player-message.formatting

The formatting module is responsible for formatting and placeholders in chat.

ping

player-message.formatting.ping
Placeholder %ping% - ping of the player

yaml
        ping:
#          ↓ ping level
          bad: 
            color: "#ff4e4e" # color
            count: 200
#                   ↑ minimal ping (ms)
          medium: 
            color: "#fce303"
            count: 100
          good:
            color: "#4eff52"
        ping:
#          ↓ ping level
          bad: 
            color: "#ff4e4e" # color
            count: 200
#                   ↑ minimal ping (ms)
          medium: 
            color: "#fce303"
            count: 100
          good:
            color: "#4eff52"

ping

cords

player-message.formatting.cords
Placeholder %cords% - coordinates of the player

cords

stats

player-message.formatting.stats
Placeholder %stats% - basic statistics of the player

stats

url

player-message.formatting.url
Link formatting

yaml
        url:
          hover:
            # Enable hover message 
            enable: true
            
          # Make the link clickable
          clickable: true
          # Customize custom link finding
          trigger: ((https?|ftp|gopher|telnet|file):((//)|(\\))+[\w:#@%/;$()~_?+-=\\.&]*)
          # Formatting for the link
          format: "&&1<message>"
        url:
          hover:
            # Enable hover message 
            enable: true
            
          # Make the link clickable
          clickable: true
          # Customize custom link finding
          trigger: ((https?|ftp|gopher|telnet|file):((//)|(\\))+[\w:#@%/;$()~_?+-=\\.&]*)
          # Formatting for the link
          format: "&&1<message>"

url

item

player-message.formatting.item
Placeholder %item% - item in hand

item

mention

player-message.formatting.mention
Mention in chat

yaml
        mention:
          trigger: "@" # symbol for mentions
          format: "&&1@<message>" # mention format
        mention:
          trigger: "@" # symbol for mentions
          format: "&&1@<message>" # mention format

mention

markdown-||

player-message.formatting.markdown-||
||spoiler||

yaml
        markdown-||:
          symbol: "&&1█" # symbol for spoilers
        markdown-||:
          symbol: "&&1█" # symbol for spoilers

spoiler

markdown-**

player-message.formatting.markdown-
**bold**markdown

markdown-##

player-message.formatting.markdown-##
__italic__markdown

markdown-__

player-message.formatting.markdown-__
__underlined__markdown

markdown-??

player-message.formatting.markdown-??\

??obfuscated??markdown

markdown-~~

player-message.formatting.markdown-~~
##strikethrough##markdown