Totem Announcer 是一款适用于 Forge 1.20.1 的简单高效模组。其唯一功能是在玩家通过持有死灵图腾(Totem of Undying)免于死亡时,向服务器全局聊天发送一条醒目的消息。消息格式简明扼要:「[玩家] 已消耗一个图腾!」。
主要特性 全局公告:明确告知服务器上的所有玩家。
高兼容性:与依赖伤害或死亡事件的其他类似模组不同,Totem Announcer 使用 Minecraft 内部统计系统来检测物品使用情况。这确保了该模组不会与其他模组发生冲突或被其他模组拦截。
替代背包支持:如果图腾是从背包(如 Sophisticated Backpacks)或饰品栏位(Curios)中激活使用的,也能完美运行。
Totem Overhaul 支持:经过测试,可与大幅改变图腾机制的模组(例如 Better Totem of Undying)完全兼容并正常运行。
性能优化:代码经过优化且轻量级,对服务器或客户端没有任何性能影响。
致谢 本项目是受公共领域代码 “mensajetotem” 启发而改编并增强的 Forge 移植版,原版由 CrispCesar 为 Fabric 创建。
自定义消息 / Mensaje personalizable (1.1.0)
English: 你现在可以更改当玩家消耗死灵图腾时显示的消息,支持所有版本(Forge 和 Fabric)。
命令(管理员):/totemannouncer message {player} <your text>
按 Tab 键补全 message 和 {player},然后输入你的文本。{player} 代表玩家名称,是固定占位符。
此外还有 /totemannouncer get(查看当前消息)和 /totemannouncer reset(恢复默认值)。更改立即生效,无需重启。
你也可以编辑配置文件:config/totemannouncer-common.toml(Forge 1.16.5+)、config/totemannouncer.cfg(Forge 12.2)或 config/totemannouncer.json(Fabric)。
Español: ahora puedes cambiar el mensaje que sale cuando un jugador consume un Tótem de la Inmortalidad, en todas las versiones compatibles (Forge y Fabric).
Comando (operadores): /totemannouncer message {player} <tu texto>
Pulsa Tab para completar message y {player} y escribe tu texto. {player} es el nombre del jugador y es fijo.
También /totemannouncer get (ver el mensaje actual) y /totemannouncer reset (restablecer el original). Los cambios se aplican al momento, sin reiniciar.
También puedes editar el archivo de configuración: config/totemannouncer-common.toml (Forge 1.16.5+), config/totemannouncer.cfg (Forge 1.12.2) o config/totemannouncer.json (Fabric).
Examples / Ejemplos
/totemannouncer message {player} almost died! -> Steve almost died!
/totemannouncer message {player} was saved by a totem -> Steve was saved by a totem
/totemannouncer message {player} casi se muere -> Steve casi se muere
/totemannouncer message {player} se ha salvado con un tótem -> Steve se ha salvado con un tótem
Default / Por defecto: ¡Steve ha consumido un tótem!
Totem Announcer is a simple and efficient mod for Forge 1.20.1. Its sole function is to send a prominent message to the global server chat whenever a player is saved from death by using a Totem of Undying. The message format is straightforward: "[Player] has consumed a totem!".
Key Features Global Announcement: Clearly informs all players on the server.
High Compatibility: Unlike other similar mods that rely on damage or death events, Totem Announcer uses Minecraft's internal statistics system to detect item usage. This ensures the mod does not interfere with or get blocked by other mods.
Alternative Inventory Support: Works perfectly if the totem is activated from a backpack (like Sophisticated Backpacks) or accessory slots (Curios).
Totem Overhaul Support: Tested and fully functional alongside mods that drastically alter totem mechanics, such as Better Totem of Undying.
Performance: Optimized, lightweight code that has zero performance impact on the server or client.
Credits This project is an adapted and enhanced Forge port inspired by the public domain code "mensajetotem" originally created by CrispCesar for Fabric.
Custom message / Mensaje personalizable (1.1.0)
English: you can now change the message shown when a player consumes a Totem of Undying, on every supported version (Forge and Fabric).
Command (operators): /totemannouncer message {player} <your text>
Press Tab to complete message and {player}, then type your text. {player} is the player's name and is fixed.
Also /totemannouncer get (show the current message) and /totemannouncer reset (restore the default). Changes apply immediately, no restart needed.
You can also edit the config file: config/totemannouncer-common.toml (Forge 1.16.5+), config/totemannouncer.cfg (Forge 1.12.2) or config/totemannouncer.json (Fabric).
Español: ahora puedes cambiar el mensaje que sale cuando un jugador consume un Tótem de la Inmortalidad, en todas las versiones compatibles (Forge y Fabric).
Comando (operadores): /totemannouncer message {player} <tu texto>
Pulsa Tab para completar message y {player} y escribe tu texto. {player} es el nombre del jugador y es fijo.
También /totemannouncer get (ver el mensaje actual) y /totemannouncer reset (restablecer el original). Los cambios se aplican al momento, sin reiniciar.
También puedes editar el archivo de configuración: config/totemannouncer-common.toml (Forge 1.16.5+), config/totemannouncer.cfg (Forge 1.12.2) o config/totemannouncer.json (Fabric).
Examples / Ejemplos
/totemannouncer message {player} almost died! -> Steve almost died!
/totemannouncer message {player} was saved by a totem -> Steve was saved by a totem
/totemannouncer message {player} casi se muere -> Steve casi se muere
/totemannouncer message {player} se ha salvado con un tótem -> Steve se ha salvado con un tótem
Default / Por defecto: ¡Steve ha consumido un tótem!
下载 Totem Announcer
下载 Totem Announcer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Totem Announcer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Totem Announcer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Totem Announcer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Totem Announcer
下载 Totem Announcer
下载 Totem Announcer
下载 Totem Announcer
下载 Totem Announcer
新增(英文):当玩家使用不死图腾时显示的聊天消息现在可配置。命令(仅限操作员):/totemannouncer message {player} <文本> - 按 Tab 键补全 message 和 {player},然后输入你的文本。其中 {player} 为固定占位符。此外还有 /totemannouncer get 和 /totemannouncer reset 命令。更改立即生效。或者编辑 config/totemannouncer.json 文件。默认消息未变:¡{player} ha consumido un tótem!。无效值(空字符串、超过 256 个字符或缺少 {player})将回退到默认值。需要 Fabric API。
NUEVO (ES): 当玩家使用不朽图腾时显示的聊天消息现在可配置。命令(操作者):/totemannouncer message {player} <文本> - 按 Tab 键自动补全 message 和 {player},然后输入你的文本。{player} 是固定的。还有 /totemannouncer get 和 /totemannouncer reset。更改会立即生效。也可以编辑 config/totemannouncer.json。默认消息不变:¡{player} ha consumido un tótem!。无效值(空、超过256字符或缺少 {player})将恢复为默认值。需要 Fabric API。
版本 1.0.1
发布日期:2026-11-09
更新内容:
- 移植至 Minecraft 26.3(Forge)
- 许可证更改为“保留所有权利”
修复内容:
- 无
备注:
- 代码与 1.0.0 相同;服务端行为已在专用服务器上测试,纯客户端部分(GUI、音效、渲染)未经过测试
版本 1.0.0 - 初始发布
适用于 Minecraft Forge 1.20.1 的初始发布。
在使用图腾时,添加了具有显著格式(金色加粗文本)的全局聊天公告。
实现了基于读取玩家内部统计数据(minecraft.used:minecraft.totem_of_undying)的被动检测系统,以防止事件冲突。
确保了与 Sophisticated Backpacks 和 Better Totem of Undying 的原生兼容性(零冲突)。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧