TotemShow
一个插件、数据包和模组,用于检测玩家是否使用了不死图腾,并向所有玩家广播一条消息。

功能
- 检测任何玩家使用不死图腾的行为。
- 通过资源包中的
segtotems.message翻译键(适用于数据包和模组版本)或修改插件版本的config.yml文件来广播可自定义的消息。
自定义(插件)
可以在插件的 config.yml 文件中自定义消息。
messages:
# 当玩家使用不死图腾时发送的消息。
#
# 占位符:
# <player> - 玩家名称。
# <team-player> - 包含队伍前缀和后缀的玩家名称。
# <item-name> - 显示物品名称。
# <item-hover> - 鼠标悬停时显示使用的物品。
#
# 权限:
# totemshow.send - 允许玩家向其他玩家广播消息。
# totemshow.receive - 允许玩家接收广播消息。
resurrect: "<gold>☠ <reset><team-player> <gray>使用了 <yellow><item-hover>不死图腾</item-hover><gold>!"
# 使用 /totemshow reload 时显示的消息,该命令会重新加载此配置文件。
#
# 权限:
# totemshow.admin - 允许玩家执行此命令。
reload: "<bold><#CF6704>[<gold>TotemShow<#CF6704>]</bold> <yellow>配置已重新加载。"
# 通过 /totemshow on 或 /totemshow toggle 启用时显示的消息。
#
# 权限:
# totemshow.admin - 允许玩家执行此命令。
enable: "<bold><#CF6704>[<gold>TotemShow<#CF6704>]</bold> <yellow>插件现已 <green>启用<yellow>。"
# 通过 /totemshow off 或 /totemshow toggle 禁用时显示的消息。
#
# 权限:
# totemshow.admin - 允许玩家执行此命令。
disable: "<bold><#CF6704>[<gold>TotemShow<#CF6704>]</bold> <yellow>插件现已 <red>禁用<yellow>。"
# 使用 /totemshow 时显示的消息。
#
# 权限:
# totemshow.admin - 允许玩家执行此命令。
help:
- "<#CF6704><strikethrough> <reset><gold><bold> TotemShow </bold><#CF6704><strikethrough> "
- "<gold>/totemshow on <#CF6704>- <yellow>启用图腾检测。"
- "<gold>/totemshow off <#CF6704>- <yellow>禁用图腾检测。"
- "<gold>/totemshow toggle <#CF6704>- <yellow>切换图腾检测状态。"
- "<gold>/totemshow reload <#CF6704>- <yellow>重新加载插件配置。"
自定义(数据包/模组)
您可以通过编辑语言文件中的 segtotems.message 键来自定义广播消息。以下示例展示了默认消息在 en_us.json 文件中的样子:
{
"segtotems.message": "§6☠ %s §7使用了 §e不死图腾§6!"
}
在您自己的 en_us.json(或等效文件)中修改此键以更改游戏中消息的显示方式,这可以通过资源包来实现以获得更好的用户体验。
TotemShow
A plugin, datapack and mod that detects when a player uses a Totem of Undying and broadcasts a message to all players.

Features
- Detects whenever any player uses a Totem of Undying.
- Broadcasts a customizable message using the
segtotems.messagetranslation key in resource packs for the datapack and mod versions, or by modifying theconfig.ymlfile for the plugin version.
Customization (plugin)
The messages can be customized in the config.yml file of plugin.
messages:
# Message sent when a player uses a Totem of Undying.
#
# Placeholders:
# <player> - Player name.
# <team-player> - Player name including team's prefixes and suffixes.
# <item-name> - Displays the item's name.
# <item-hover> - Displays the used item when the text is hovered.
#
# Permissions:
# totemshow.send - Allows the player to broadcast the message to other players.
# totemshow.receive - Allows the player to receive broadcast messages.
resurrect: "<gold>☠ <reset><team-player> <gray>used a <yellow><item-hover>Totem of Undying</item-hover><gold>!"
# Message displayed when using /totemshow reload, which reloads this config file.
#
# Permissions:
# totemshow.admin - Allows the player to execute the command.
reload: "<bold><#CF6704>[<gold>TotemShow<#CF6704>]</bold> <yellow>The configuration has been reloaded."
# Message displayed when enabled via /totemshow on or /totemshow toggle.
#
# Permissions:
# totemshow.admin - Allows the player to execute the command.
enable: "<bold><#CF6704>[<gold>TotemShow<#CF6704>]</bold> <yellow>The plugin is now <green>enabled<yellow>."
# Message displayed when disabled via /totemshow off or /totemshow toggle.
#
# Permissions:
# totemshow.admin - Allows the player to execute the command.
disable: "<bold><#CF6704>[<gold>TotemShow<#CF6704>]</bold> <yellow>The plugin is now <red>disabled<yellow>."
# Messages displayed when using /totemshow.
#
# Permissions:
# totemshow.admin - Allows the player to execute the command.
help:
- "<#CF6704><strikethrough> <reset><gold><bold> TotemShow </bold><#CF6704><strikethrough> "
- "<gold>/totemshow on <#CF6704>- <yellow>Enables totem detection."
- "<gold>/totemshow off <#CF6704>- <yellow>Disables totem detection."
- "<gold>/totemshow toggle <#CF6704>- <yellow>Toggles totem detection."
- "<gold>/totemshow reload <#CF6704>- <yellow>Reloads the plugin's configuration."
Customization (datapack/mod)
You can customize the broadcast message by editing the segtotems.message key in your language file. The example below shows how the default message would look in an en_us.json file:
{
"segtotems.message": "§6☠ %s §7used a §eTotem of Undying§6!"
}
Modify this key in your own en_us.json (or equivalent) to change how the message appears in-game, this can be done inside a resource pack for better user experience.
下载 TotemShow
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TotemShow
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TotemShow
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TotemShow
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TotemShow
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TotemShow
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TotemShow
下载 TotemShow
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TotemShow
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 TotemShow
- 新增对 26.3 的支持
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧