Custom Chat Alerts
This mod allows players to create and customize their own alerts, based on incoming chat messages. Players can automate audio and text alerts, including adding delay, using regex, and more.
截图
介绍
Cosmic Chat Alerts
A client-side Fabric mod that lets you create custom chat notifications through a
fully in-game UI. Set a phrase or regex pattern to watch for, choose a sound, and
the mod plays it whenever a matching message appears. Works on any server with no
server-side installation required.

Features
Sound Alerts
Choose any in-game sound as your alert tone from a searchable picker with a
quick-pick row for common choices. Sounds can be previewed before confirming.
Volume is configurable per alert (0–200%) with automatic preview playback as you
adjust the slider.

Pattern Matching
Alerts can match by plain text substring or full Java regular expression, with an
optional case-sensitive toggle per alert.
On-Screen Text Alerts
Pair any alert with on-screen text displayed as a Title, Subtitle, or Action Bar
message. Use $1, $2, … to embed regex capture groups into the displayed text —
for example, detect "(\d+) seconds left" and display the number as a subtitle.

Time Delay
Trigger an alert a set number of seconds after a message is detected, with decimal
precision. Useful for countdowns — detect the start of an event and receive a
reminder when it is about to end.
Formatting Palette
An inline color and style palette sits directly in the alert editor. Click any of
the 16 color swatches or 5 style buttons to insert the formatting code at your
cursor — no manual color codes required.

Load From Recent Chat
Browse your last 100 chat messages and load any one directly into the pattern
field when creating or editing an alert.
Import & Export
Share alerts with other players using a compact JSON export code. Copy it from
the editor, send it however you like, and the recipient can paste it directly into
the Import screen.
Alert Management
- Name alerts for easy identification
- Enable or disable alerts individually without deleting them
- Reorder alerts with per-row ▲ / ▼ buttons, or sort all disabled alerts to the bottom in one click
- Green and red row tinting provides an instant visual overview of active alerts
Getting Started
Bind a key to “Open Chat Alerts” under the Chat Alerts category in
Controls — it is unbound by default. The UI can be opened from anywhere, including
the main menu.
Example Use Cases
- Server event starting soon — plain text match on
"begins in 30 seconds" - Time remaining on screen — regex
"(\d+) seconds left"with display text$1 - Name mention detection — regex
"(?i)YourName"with case-sensitive off - Delayed reminder — detect an event start message, set a 300-second delay
- Multiple keywords — regex
"(keyword1|keyword2|keyword3)"
Installation
- Download the .jar file from this Modrinth project
- Add the Cosmic Chat Alerts jar to your mods folder
Client-side only. No server installation required. Settings are stored in
config/cosmic-chat-alerts.json.
Requires: Fabric API
Environment: Client only
Minecraft: 1.21.11
常见问题
Custom Chat Alerts 支持哪些 Minecraft 版本?
Custom Chat Alerts 支持 Minecraft Java 版 1.21.11,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Custom Chat Alerts 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
njkleb 的其他作品
查看全部 →
CosmicTextures
Hundreds of custom item textures to improve QOL and overall gameplay experience on CosmicPrisons and CosmicSky.
CosmicPings
CosmicPings is a visual mod that allows for waypoints & team pings. Specifically made for CosmicSky & CosmicPrisons, brought to you by the Minecoin team.
CosmicPack
CosmicPack is a texture pack made for Cosmic Prisons, brought to you by the Minecoin team.
CosmicPack
CosmicPack is a texture pack made for Cosmic Prisons, brought to you by the Minecoin team.
评论
登录后评论和评分