NitroSetups Docs
WebsiteBuiltByBitDiscord
  • ⚡Welcome To NitroSetups
  • Setup Guides
    • Premium Setups
      • Survival Setup
      • Skyblock Setup
      • Dungeons Setup
      • Prison Setup
      • Earth Survival Setup
      • Gens Setup
      • Lifesteal Setup
      • Factions Setup
      • Towny Setup
      • Creative Setup
      • Bedwars Setup
      • Lobby Setup
    • Premium Setup Addons
      • Geyser Addon
      • Dungeons Addon
      • RPG Addon
    • General Guides
      • How To Install A Setup
      • How To Get The Startup Log
      • How To Create A Server Network
      • How To Change The Setup Spawn
      • How To Create A NPC
      • How To Create A New Rank
      • How To Change Donator Ranks
      • How To Translate A Setup
      • How To Use ItemsAdder or Oraxen
      • How To Setup A Server Webstore
      • How To Reset A Setup
      • How To Edit Chat Formatting
      • How To Edit The JAVA Texturepack
      • How To Edit The Geyser Packs
      • How To Merge 2 Resourcepacks
    • Update Guides
      • Old Update Guides
        • Update | 1.20.2 to 1.20.4
        • Update | Season 2 to Season 3
        • Update | Geyser Addon
        • Update | 1.20.4 to 1.21
        • Update | 1.21 to 1.21.1
      • Update | 1.21.1 to 1.21.4
  • Config Guides
    • Plugin Configs
    • Custom Configs
      • Factories Config
      • Deliveries Config
  • Graphics Guides
    • Prefix Packs
    • Menu Template Packs
Powered by GitBook
On this page
  • Plugins used for Chat Formating
  • Editing FAQ

Was this helpful?

  1. Setup Guides
  2. General Guides

How To Edit Chat Formatting

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.

Difficulty: Easy

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.

  • LPC (LuckPermsChat)

  • LuckPerms

  • Essentials

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}"

Remove the # infront of the groups.

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:

meta-formatting:
  prefix:
    format:
    - highest_on_track_level
    - highest_on_track_rank
    duplicates: first-only
    start-spacer: ''
    middle-spacer: ''
    end-spacer: ''

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.

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


Editing FAQ

How do I show tags from /tags in the chat?

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}"

Last updated 8 months ago

Was this helpful?