Chat Formatting

To Format Player Chats, Go to the Chat Formatting Area Inside config.yml You will find something like this:

chat_format:
  default: '{player}: {message}'
  <LP_GROUP_NAME>: '<red>{player}:<white> {message}'

You can define formats for different ranks/groups, The plugin will use the player's primary group from LuckPerms if available Otherwise, it will fall back to default


Hover And Click

Hover and Click (or HNC) is a away to make it if a person hovers over the player's sent message you can view a tooltip message (aka hover) and if you click it, then it can do actions. You can skip this if you prefer to use MiniMessage's Way.

You can reference these in chat format using {hnc_NAME} and {/hnc_NAME} tags, for example this is the config:

hover_n_click:
  1: # This is an identifier, you can use any name (numbers or text)
    click:
      action: SUGGEST_COMMAND # Can be SUGGEST_COMMAND, RUN_COMMAND, OPEN_URL, COPY_TO_CLIPBOARD
      value: /msg {player}    # The actual value for the action
    hover:                    # List of lines to show when hovering
      - 'line 1'
      - '<gradient:red:blue>This is {player}'
  # You can add more hover_n_click entries as needed:
  2:
    click:
      action: RUN_COMMAND
      value: /stats {player}
    hover:
      - '<yellow>Click to view {player}s stats</yellow>'
      - '<gray>Current server rank: {playergroup}</gray>'

Here is a Preview on how you can use them!:

chat_format:
  default: '{hnc_1}<red>{player}{/hnc_1}: {message}'
  owner: '{hnc_1}<gradient:gold:yellow>{player}{/hnc_1}: <rainbow>{message}</rainbow>'
  admin: '{hnc_2}<gradient:red:dark_red>ADMIN {hnc_1}<#8d9596>{player}{/hnc_1}: <#c4cbcc>{message}'
  mod: '{hnc_2}<aqua>MOD</> {hnc_1}<#8d9596>{player}{/hnc_1}: <#c4cbcc>{message}'
  vip: '{hnc_1}<gradient:green:aqua>{player}{/hnc_1}: {message}'

Join And Leave Messages

Here you can change the Join And Leave Message for people, and it can even work depending on ranks! example config:

join_message:
  default: '+{player}'
  owner: '<gradient:gold:yellow>THE OWNER JOINED WOOOO'
  admin: '<red>Admin {player} joined the server'
  vip: '<green>{player} joined the game'
  <lp_group>: '' # EMPTY TO DISABLE
  
leave_message:
  default: '-{player}'
  owner: '<gradient:dark_red:red>the owner left :c'
  admin: '<red>Admin {player} left the server'
  vip: '<green>{player} left the game'
  <lp_group>: '' # EMPTY TO DISABLE

Supports PlaceholderAPI placeholders (%player_name%, %player_displayname%, etc...

Last updated