Skip to main content
On first start, hChat generates plugins/hChat/config.yml. This page covers the most important sections. For a full annotated config, inspect the generated file directly.

Key sections

  • general — language, debug, update checks.
  • chat — default format, permission-based formats, format mode.
  • channels — per-channel format, range, cooldown, aliases, permissions.
  • private-messages — DM format, spy format, sound, hover, click actions.
  • mentions — sound, color, cooldown.
  • broadcast — manual and scheduled broadcasts.
  • filters — word filter, anti-caps, anti-unicode, anti-ad, anti-spam.
  • offline-messages — mail storage limits and notifications.
  • afk — timeout, auto-detection, messages.
  • placeholders — ping, item, coords, world, AFK tokens.
  • logger — rotating daily logs and retention.
  • metrics — FastStats settings.

Format modes

The renderer resolves formats in two passes: first placeholders are substituted, then the formatter parses the result. Every channel can override the global mode with its own format-mode key, so a global channel in legacy and a staff channel in MiniMessage can coexist.

Dynamic chat tokens

hChat renders the following tokens inside every chat format: Example format:
Each token can be enabled/disabled and tuned under the placeholders: section.

Sample config

Reloading config

After editing config.yml, run:
You need the permission hchat.reload.