---
description: >-
  This guide explains how to change the chat formatting in our setups. It will
  also explain how to add custom placeholders into the chat formatting.
---

# How To Edit Chat Formatting

> **Difficulty:&#x20;**<mark style="color:green;">**Easy**</mark>

## Plugins used for Chat Formating

In all of our setups, we use the plugins listed below for chat formatting. This means that if you want to edit the chat formatting, these are the plugins to configure.&#x20;

* LPC (LuckPermsChat)
* LuckPerms
* Essentials

{% tabs %}
{% tab title="LPC LuckPermsChat" %}
### LPC (LuckPermsChat)

The LPC plugin is the main plugin for chat message formatting in all of our setups. To configure this plugin, you need to open the LPC config.yml file.

In this config.yml file, you will find the chat-format setting.

```
chat-format: "{prefix}{displayname}&r &7➠ &f{message}"
```

This is where the default chat format for all players is configured. So when a player sends a message in the chat, this will be the layout for the message. The {message} placeholder is the message that the player sends. The {displayname} placeholder is nickname/name of the player sending the message. And the {prefix} placeholder is the prefixes that the player has, which is configured in the LuckPerms plugin.

We recommend not to remove/edit any of the existing placeholders. But you can change the message color or use another arrow instead of this ➠. You can also add placeholders to the chat formatting.

**Per group chat formatting**

You can also have different chat formats depending on which group the player is in. This can be configured here:

```
group-formats:
#  default: "[default] {name}&r: {message}"
#  admin: "[admin] {name}&r: {message}"
```

<mark style="color:orange;">Remove the # infront of the groups.</mark>
{% endtab %}

{% tab title="LuckPerms" %}
### LuckPerms

The LuckPerms plugin is used for all groups and permissions in the setup. For chat formatting, LuckPerms is responsible for formatting the prefixes (ranks and levels).

The prefixes for each rank can be edited in the LuckPerms editor. Open with /lp editor

The order and format in which the prefixes are displayed together as a group can be edited in the LuckPerms config.yml in the meta-formatting section:

<pre><code><strong>meta-formatting:
</strong>  prefix:
    format:
    - highest_on_track_level
    - highest_on_track_rank
    duplicates: first-only
    start-spacer: ''
    middle-spacer: ''
    end-spacer: ''
</code></pre>

You can see the standard format from our setups above. With this format, the level is above the rank which means the level will be displayed before the rank. You can change the order of these prefixes to be displayed. In some of our setups, there will be more than 2 rank tracks.
{% endtab %}

{% tab title="Essentials" %}
### Essentials

The Essentials plugin is used for a lot of different features in our setups, and is also crucial for the chat formatting. The Essentials plugin has its own chat plugin called EssentialsChat. But we don't use the EssentialsChat plugin, we use LPC instead.

However the Essentials config is still responsible for name color, nicknames, chat colors. All of which can be configured in the Essentials config.yml
{% endtab %}
{% endtabs %}

***

## Editing FAQ

<details>

<summary>How do I show tags from /tags in the chat?</summary>

From standard, player tags are only shown in the TAB. If you want a player's tag to show when they send send a message in chat, you can add the %deluxetags\_tag% to the chat-format setting in the LPC config.yml like this:

```
chat-format: "&f%deluxetags_tag% {prefix}{displayname}&r &7➠ &f{message}"
```

</details>



