介绍
Algrim Chat
Algrim Chat is a chat styling fabric mod for clients.
About
The mod applies custom styling to server messages through use of “patterns”. These patterns tell the mod which messages
should be styled, and how to style them.
Dependencies
Dependencies are listed with each release.
Configuration
Config GUI can be opened with R,C, by default.
Patterns
Patterns consist of three components:
- ### Literal
Literal pattern parts are the simplest. They match characters exactly (with a few exceptions).
Example Patterns:
| Pattern | Message | Matches |
|——————-|——————–|:——-:|
| You leveled up! | “You leveled up!” | ✅ |
| <Player6> Hello | “\ Hello” | ✅ |
| <Player6> Hello | “\ Bye” | ❌ |
| <Player6> Hello | “\ Hello” | ❌ |
They’re great for matching static messages that don’t change, but not too useful on their own in terms of
chat on a server where player names and message content change.
Some special characters may also be mistaken as other pattern parts, avoid this by escaping them with \
- ### Regex
Regex pattern parts are denoted by a / at the beginning and end.
Example Patterns:
| Pattern | Message | Matches | Note |
|———————|——————–|:——-:|—————————————————————————–|
| /You leveled up!/ | “You leveled up!” | ✅ | While regex can match static messages, it’s often simpler to use a Literal. |
| /.*/ | “\ Hello” | ✅ | Will technically match all messages. |
| </\\w+/> /.*/ | “\ Bye” | ✅ | Here we are using a combination of Literal ” “, and Regex parts. |
- ### Style
Style pattern parts apply style to messages (Finally!!!) and are split into two
sections: [Style, Overrides] and (Content)
- Style Overrides are a comma separated list of styles.
- Content consists of Literal or Regex components.
Example Patterns:
| Pattern | Message | Matches | Note |
|—————————————|———————|:——-:|————————————————————-|
| [green](You leveled up!) | “You leveled up!” | ✅ | Styles the message green. |
| <[#00FFFF](/\\w+/)> [white,i](/.*/) | “\ Hello” | ✅ | Styles the player’s name in aqua and their message white. |
Style Overrides
The valid Style Overrides are:
| | Override Name(s) |
|:———————————-:|———————–|
| Bold | bold, b |
| Italics | italic, it, i |
| Underlined | underline, u |
| Strikethrough | strikethrough, s |
| ͅO͆b̼f̧u̺s̓c͠a̿t̝e̿d̮͒ | obfuscate, o |
| Colour | #<hex>, <mc name> |
Styles can be removed by prefixing ! to the Override Name. ! on its own will strip all styles.
ex: [!bold](/.*/) remove bold.
or: [!](/.*/) remove all styling.
常见问题
Algrim Chat 支持哪些 Minecraft 版本?
Algrim Chat 支持 Minecraft Java 版 1.20.1–1.21.10,共 13 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Algrim Chat 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
评论
登录后评论和评分