
描述
Localized Chat 限制了玩家通过文本聊天进行对话和听到的范围。服务器上的大多数聊天都发生在彼此邻近的玩家之间。
这与 Simple Voice Chat(作者:henkelmax)配合使用效果极佳。
目前仅可配置范围和错误代码颜色。
在 Fabric、Forge 和 Neoforge 的 1.20.1 及更高版本中,现已支持呼喊(Shout)功能。
在此之前的版本不支持呼喊。
* Fabric 版本需要 Fabric API 和 ClothConfig
兼容性
本模组不与其他聊天模组兼容,例如 Discord 聊天集成或 FTB Utilities 聊天。
不与 1.19.x+ 版本的聊天举报功能兼容。该功能会导致此模组失效。在找到可行的解决方案之前,此模组的最高兼容版本为 1.18.2。

如果您希望以零 effort 设置 Any 整合包的服务器,请获取 BisectHosting 的服务器,并使用代码 kreezxil 作为新客户享受首月 25% 的折扣。
适用端
客户端非必需,但如果在局域网派对中使用,可以在客户端启用。
更新日志
从 5.4.0(适用于 1.21.4/1+)开始
- 每个聊天频道都可以开启或关闭,并拥有独立的范围以及消耗的 HP、饥饿值、经验值,或其任意组合,也可以不消耗任何资源。
- 普通聊天(Talk)、呼喊(
/shout、/s、/sh)、自言自语(/me)和私聊(/tell、/msg、/w)均使用同一套系统。
/me 不再仅受范围限制。它拥有独立的启用开关、距离和消耗。
- 原版私聊现在也采用相同的限制方式。超出范围的接收者将被跳过。如果至少有一个接收者收到消息,则只支付一次消耗。
- 呼喊不再仅消耗饥饿值。其消耗选项与其他频道相同。默认仍为消耗 1 点饥饿值。
- 添加了
/s 和 /sh 作为呼喊的别名。
opAsPlayer = true 表示管理员需支付消耗并遵守范围限制。false 表示他们免除消耗,且该频道的所有人都能听到他们的发言。
- 可在配置文件中列出额外的命令,仅设置开关和消耗(无范围限制)。适用于家园、随机传送点(RTP)、传送门以及其他非聊天性质的命令。
- 距离计算仍采用曼哈顿距离。
-1 表示无限制。0 表示没有人能听到。
- 配置文件键名已重构。旧的名称如
talkRange、shoutDisabled 和 shoutFoodCost 已移除。请复制新文件或让模组生成全新的配置文件。
整合包/重新托管
无需询问,直接添加即可。如果能链接回此页面会很好,但不是必需的。MCBBS 是唯一被授权重新托管的地方,因为他们确实链接回此处,且下载链接指向 Curse。

Description
Localized Chat limits the range a player can talk and be heard VIA TEXT CHAT. Most chats on a server are between players that are local to each others.
This pairs really well with Simple Voice Chat by henkelmax.
Only range and error code colors are configurable currently.
Shout is now supported in versions 1.20.1 and newer for Fabric, Forge, and Neoforge.
Prior to this it does not support shout.
* Fabric Versions require Fabric API and ClothConfig
Compatibility
This mod not compatible with other chat mods such as Discord Chat integration or the FTB Utilities chat.
Not compatible with 1.19.x+'s chat reporting feature. That feature breaks this mod. Until we find a solution that works, 1.18.2 is the highest this mod can go.

If you want a server setup for the Any mod pack with zero effort, get a server with BisectHosting and receive 25% off your first month as a new customer using the code kreezxil
Sides
Not required on client side, but if there you can use it in LAN parties.
Changes
Starting with 5.4.0 on 1.21.4/1+
- Every chat channel can be turned on or off, given its own range, and charged HP, hunger, XP, any mix of those, or nothing.
- Talk (normal chat), shout (
/shout, /s, /sh), whisper (/me), and tell (/tell, /msg, /w) all use that same system.
/me is no longer just range-limited. It has its own enable switch, distance, and cost.
- Vanilla private messages are now gated the same way. Out-of-range targets are skipped. The cost is paid once if at least one target gets the message.
- Shout is no longer hunger-only. Same cost knobs as the other channels. Default is still 1 hunger.
- Added
/s and /sh as shout aliases.
opAsPlayer = true means ops pay and obey range. false means they skip the cost and everyone on that channel hears them.
- Extra commands can be listed in config with only a toggle and a cost (no range). Meant for homes, RTP, warps, and anything else that is not necessarily chat.
- Distance is still Manhattan.
-1 is unlimited. 0 means nobody else hears it.
- Config keys were rebuilt. Old names like
talkRange, shoutDisabled, and shoutFoodCost are gone. Copy the new file or let the mod generate a fresh one.
Modpacks/Rehosting
No need to ask, just add. A link back to this page would be nice but is not required. MCBBS is the only authorized place for rehosting as they actually link back here and they download links go to Curse.
评论 0
登录后参与评分
还没有评论,来抢沙发吧