介绍
A chat mod with two modes:
- Global chat by prefix (default:
!) - Local chat by radius (default:
100blocks)
If nobody is in range for a local message, the sender gets a warning.
Compatibility
- Minecraft:
1.21.1 - NeoForge:
21.1.222+ - Java:
21
Clients do not need this mod installed: all chat logic runs on the server side.
How It Works
- A message starting with
globalPrefixis sent to all players. - A regular message is sent only to players in the same dimension within
localChatRadius. - If there are no listeners, an optional warning can be shown (
warnIfNoListeners).
Configuration (config/chatter-common.toml)
Available settings:
globalPrefix
Global chat prefix. Default: "!"
localChatRadius
Local chat radius in blocks. Default: 100.0
globalMessageFormat
Global message format.
Default: "&6[G] <{player}> {message}"
localMessageFormat
Local message format.
Default: "&7[L] <{player}> {message}"
emptyGlobalMessage
Message shown when globalPrefix is used without text.
Default: "&cYou must type message text after {prefix}."
noListenersMessage
Warning shown when nobody heard a local message.
Default: "&cNobody heard you within {radius} blocks."
echoLocalToSender
Whether to show local messages to the sender.
Default: true
warnIfNoListeners
Whether to show warning when local message has no listeners.
Default: true
Placeholders
Supported in formats and warning messages:
{player}– player name{message}– message text{radius}– current local chat radius{prefix}– current global chat prefix{listeners}– number of listeners
Colors and Styles
Supported & formatting codes:
- Colors:
&0..&9,&a..&f - Styles:
&l,&o,&n,&m,&k - Reset:
&r - Literal
&:&&
Example Config
globalPrefix = "!"
localChatRadius = 120.0
globalMessageFormat = "&6[GLOBAL] &f<{player}> &e{message}"
localMessageFormat = "&7[LOCAL {radius}] &f<{player}> {message}"
emptyGlobalMessage = "&cYou must type text after {prefix}."
noListenersMessage = "&cNobody heard you ({radius} blocks)."
echoLocalToSender = true
warnIfNoListeners = true
常见问题
ChTR 支持哪些 Minecraft 版本?
ChTR 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
ChTR 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
Cat4blep 的其他作品
查看全部 →B&W Shader
A shader that completely turns your game into a black and white version
SeeU
Makes distant players visible far beyond vanilla entity tracking, Compatible with Voxy and Distant Horizons
SeeU
Makes distant players visible far beyond vanilla entity tracking, Compatible with Voxy and Distant Horizons
Create Fly: Steam ‘n’ Rails Continued
Steam 'n' Rails for Fabric, Minecraft 26.2, and Create Fly
评论
登录后评论和评分