# racked.ru — ChatChat formats.yml
# Channel-defined formats in channels.yml take priority. This file holds the
# fallback `default` format (used if a player uses a non-channel context like
# legacy plugin-routed chat) AND the console-format (visible in server log).
# Translated 2026-05-07.

# Default format if no channel format matches (defensive — global channel format wins in practice).
default-format: 'default'

# Console / server-log format. Strip MM tags + use LP plain-text prefix so the log
# stays readable ASCII (Carbon's console format was: "[<channel>] <username>: <message>").
console-format:
  parts:
    name:
      - '%luckperms_prefix_element%%player_name%'
    divider:
      - ' — '
    message:
      - '<message>'

formats:
  default:
    priority: 2
    parts:
      prefix:
        - '%luckperms_prefix%'
      name:
        - '<white>%player_displayname%</white>'
      suffix:
        - '%luckperms_suffix%'
      divider:
        - ' <dark_gray>—</dark_gray> '
      message:
        - '<gray><message></gray>'
