
描述
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. /meis 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
/sand/shas shout aliases. opAsPlayer = truemeans ops pay and obey range.falsemeans 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.
-1is unlimited.0means nobody else hears it. - Config keys were rebuilt. Old names like
talkRange,shoutDisabled, andshoutFoodCostare 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.
下载 Localized Chat
下载 Localized Chat
下载 Localized Chat
下载 Localized Chat
下载 Localized Chat
下载 Localized Chat
下载 Localized Chat
下载 Localized Chat
下载 Localized Chat
下载 Localized Chat
如果您希望零配置地搭建支持 Localized Chat 模组的服务器,请通过 BisectHosting 购买服务器,新用户输入优惠码 kreezxil 即可享受首月 75 折。
更新日志 — Localized Chat 5.5.0 对比 1.20.1 (5.1.3)
与 multi/1.20 / 5.1.3(Minecraft 1.20.1 Forge + Fabric)版本进行对比。
平台
- 1.20.1:Forge + Fabric
- 5.5.0:NeoForge + Fabric,适用于 Minecraft 1.21.1
- 依然仅支持服务端。客户端为可选安装(局域网联机 / 单人游戏)。
频道
1.20.1 版本仅包含本地聊天和 /shout。/me 复用本地聊天范围。/tell / /msg / /w 为原版功能且无距离限制。
5.4.0 将每种拥有的通信路径视为独立的频道:
| 频道 | 指令 | 1.20.1 | 5.4.0 |
|---|---|---|---|
| talk | 普通聊天 | 仅限范围 | 启用、范围、消耗 |
| shout | /shout、/s、/sh |
范围 + 饥饿值消耗 + 禁用开关 | 启用、范围、任意消耗组合 |
| whisper | /me |
使用 talk 的范围,无独立配置 | 独立启用、范围、消耗 |
| tell | /tell、/msg、/w |
原版行为,无范围限制,无消耗 | 独立启用、范围、消耗 |
5.4.0 中的范围规则:
-1= 无限范围0= 仅发送者能听到 talk/shout/me;tell 无法发送给任何人- 除非范围为无限或玩家拥有 OP 权限豁免,否则需在同一维度内
- 仍采用曼哈顿距离(
|dx|+|dy|+|dz|),与 1.20.1 保持一致
消耗
1.20.1 中,呼喊仅消耗饥饿值(shoutFoodCost)。交谈免费。其他行为均无额外消耗。
5.5.0 每个频道都可以收取任意组合的费用:
none(无)hp(半颗心生命值)hunger(饥饿值/食物点)xp(经验值,非等级)- 逗号/加号组合,或
all(全部)
如果任何选定的资源无法支付,则不会扣除任何费用,且操作失败。
与 1.20.1 版本的默认值对比:
- talk:仍然免费,范围 100
- shout:默认仍为 1 点饥饿值,范围 400
- whisper:免费,范围 100
- tell:免费,无限距离(
-1)
运算符
opAsPlayer 的含义保持不变。
false(默认):管理员跳过费用,所有频道的人都能听到他们的发言true:管理员需付费并像其他玩家一样遵守距离限制
额外命令(新增)
extra_commands 可以对其他根命令(如 home、rtp、warp 等)征税或禁用。
格式:command|enabled|cost_type|hp|hunger|xp
简写 home 表示启用且无费用。无需前导斜杠。仅匹配根命令 — /execute ... run home 不在此列。内置命令(shout、s、sh、me、tell、msg、w)在此处被忽略;请使用频道部分进行配置。
未变更内容
- 颜色代码、前缀、
usePrefix、rangeNotifier - 当范围通知器开启时,括号内显示的距离
- 不兼容其他聊天覆盖层(Discord 桥接、FTB 风格全局聊天等)
配置键迁移
旧的 1.20.1 键已移除:
talkRange→[talk] talk_distance/enable_talk/ 费用相关键shoutTalkRange→[shout] shout_distanceshoutFoodCost→[shout] shout_cost_type+shout_cost_hungershoutDisabled→[shout] enable_shout(逻辑取反)
手动复制数值。不要把 1.20.1 的配置文件直接放到 5.4.0 上,然后指望它能自动映射。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
Minecraft 中的表情符号
模组
? 主菜单上的闪屏文本将在可配置的延迟后持续变化。
模组
恢复所有账户的游戏聊天访问权限
模组
使聊天消息以平滑的动画效果显示。
模组
Music Maker 为游戏添加了乐谱、乐器以及其他设备,用于创作和演奏音乐。
模组
一个完整经济模组:玩家余额、动态定价商店、玩家市场、买入订单、货币物品以及网页仪表盘。

评论 0
登录后参与评分
还没有评论,来抢沙发吧