Skip to content

Chat and Formatting

el211 edited this page Sep 9, 2026 · 1 revision

Chat & Formatting

GoCraft supports MiniMessage formatting throughout chat, group prefixes, and item names, plus a custom glyph system. Formatting works for Java and Bedrock players — Bedrock strips tags it can't render and shows the collapsed text.

Chat format

The chat line template lives in configuration/chatformat.yml:

# Supports MiniMessage tags: <red>, <gold>, <bold>, <#RRGGBB>,
# <gradient:#FF0000:#00FF00>, &c legacy codes, etc.
format: "<gradient:#5865F2:#EB459E>{player}</gradient> <white>:</white> <gray>{message}</gray>"
bedrock_format: ""   # optional; falls back to `format` with gradient/hex collapsed
  • {player} — the sender's name (with group prefix applied where configured)
  • {message} — the chat message
  • bedrock_format is optional; if empty, GoCraft reuses format and collapses gradients/hex to plain colors for Bedrock clients.

MiniMessage syntax

The same MiniMessage syntax is used in chat, group prefixes (Permissions), and custom item display names (Custom Items):

Example Result
<red>text Named color
<#A0522D>text Hex color
<gradient:#ff0000:#aa0000>text Color gradient
<bold>, <italic>, <underlined> Text decorations
&c, &l Legacy color/format codes

Glyphs

Custom glyphs (icons/emoji rendered from a resource-pack font) are defined in configuration/glyphs.yml:

glyphs:
  ":heart:": ""
  ":star:":  ""

Glyph tokens are substituted into chat and formatted text, letting you show custom icons inline. Pair them with a resource pack that supplies the matching font characters.

Group prefixes

Assign a MiniMessage prefix per permission group so it appears in chat:

/gocraft group vip setprefix <gradient:#FFD700:#FFA500>[VIP]</gradient>

See Permissions for the full group system, and Commands for the /say, /me, /msg messaging commands.

Clone this wiki locally