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.arrow-up-right

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!:


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:

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

Last updated