跳到主要内容

Chat Format

The Chat Format entry controls how chat messages appear, applying different formats based on player permission groups.

Configuration

fallbackFormatString

: <message>"> Default format if no group rules match.

generalPermissionString

Optional global permission required to use chat.

groups

"> List of formatting rules sorted by priority.

Group Rule

nameString

ID for the rule (e.g., "admin").

permissionString

Permission required to use this format.

priorityInt

Higher values take precedence.

formatString

The chat string. Supports placeholders and MiniMessage.

  • <player>: Interactive player name.
  • <message>: The chat content.
manifest:
type: chat_format
groups:
- name: "admin"
permission: "chat.admin"
priority: 100
format: "<red>[Admin] <player><reset>: <white><message>"