💬Chat Format

Learn how to configure chat formats.

Chat format files are located in the plugins/AdvancedChat/format directory.

Creating New Formats

To create a custom chat format, you'll need to add a new file to the plugins/AdvancedChat/format directory. This file should follow the YAML file format (.yml). You can base your new format on the provided examples or start from scratch using the guidelines below.

Format File Explained

Below is an explanation of the various sections within a chat format file and how to configure them:

  • priority: Determines the priority of the format. Higher numbers have higher priority.

  • prefix: Configuration for the prefix displayed before the player name.

    • text: The text of the prefix.

    • tooltip: Hover text shown when the mouse is over the prefix.

    • click: Action to perform when the prefix is clicked.

  • name: Configuration for the player name display.

    • Similar to the prefix, it can have text, tooltip, and click configurations.

  • suffix: Configuration for the suffix displayed after the player name.

  • chat: Configuration for the chat message itself.

  • range: Determines the range in which the chat will be visible. A value of 0 disables range limitations.

Last updated