| 所需 Java 版本: | Java 17(或更高版本) |
| Discord 服务器(聊天/支持): | |
| 源代码: | 点击查看仓库 |
你是否拥有一个村民大厅,并且讨厌当村民神秘死亡或在你不知情的情况下死去? 如果是这样,这个插件正适合你!
Villager Announcer 是一个高度可定制但简单易用的插件。 默认情况下,当村民被杀死或感染时,所有玩家都会收到带有详细信息的公告。 它还会播放一个你可以自定义的声音。
可选的 DiscordSRV 集成已包含并默认启用。 如果你启用了 DiscordSRV 并设置了主文本频道,它将自动向该频道发送消息。如果需要也可以禁用此功能。
示例:

以下是默认配置文件:
enabled: true
play-sound: true
sound-name: 'ENTITY_VILLAGER_DEATH'
# 使用 0 表示无限制半径
max-broadcast-radius: 0
# 如果你曾经与某个村民交易过,你将收到通知
# 注意这仅兼容 Paper 服务器
only-broadcast-if-traded-with: false
# 可选:将广播限制在特定世界
broadcast-worlds: ['*']
# 仅广播那些曾经是普通村民的情况
broadcast-zombie-villager-deaths: true
# villagerannouncer.receive-broadcasts
players-require-premissions: false
# 如果安装了 DiscordSRV,则将任何消息发送到主文本频道
discordsrv-send-message-to-main-channel: true
# 这仅适用于你启用了世界过滤
# 或者正在使用玩家权限的情况
log-messages-to-console: true
messages:
# 以下四项设置都将填充 %villager% 变量:
villager: '村民'
baby-villager: '幼年村民'
zombie-villager: '僵尸村民'
baby-zombie-villager: '幼年僵尸村民'
# 填充 %location% 变量:
location: '&r( &6XYZ: %x% %y% %z%, &r&e位于 &r&a%world-name%&r)'
villager-message-with-profession: '&e一名 %villager% 死了!职业:%villager-profession%,等级:%villager-level% %location%'
villager-message: '&e一名 %villager% 死了!%location%'
villager-infection-with-profession: '&e一名 %villager% 被感染了!职业:%villager-profession%,等级:%villager-level% %location%'
villager-infection: '&e一名 %villager% 被感染了!%location%'
death-by-entity: '&e一名 %villager% 被 %entity% 杀死 %location%'
death-by-misc: '&e一名 %villager% 死于 %death-cause% %location%'
如果你有任何问题或功能建议,请加入 Discord 服务器。
| Java Version Required: | Java 17 (or newer) |
| Discord Server (Chat/Support): | |
| Source Code: | Click to View Repository |
Do you have a villager hall and hate it when a villager dies mysteriously or without your knowledge? If so this plugin is for you!
Villager Announcer is a higher customizable but simple plugin. By default when a villager is killed or infected it will be announced to all players with the details. It will also play a sound which you can customize.
Optional integration with DiscordSRV is included and enabled by default. If you have DiscordSRV enabled and have a main text channel enabled it will automatically send messages to it. Can be disabled if desired.
Examples:

Here is the default config file:
enabled: true
play-sound: true
sound-name: 'ENTITY_VILLAGER_DEATH'
# use 0 for unlimited radius
max-broadcast-radius: 0
# if you're traded with a villager previously then you will get notified
# note this is only compatible on Paper servers
only-broadcast-if-traded-with: false
# optionally limit broadcasts to specific worlds
broadcast-worlds: ['*']
# only broadcasts if they were formally normal villagers
broadcast-zombie-villager-deaths: true
# villagerannouncer.receive-broadcasts
players-require-premissions: false
# if DiscordSRV is installed then send any messages to the main text channel
discordsrv-send-message-to-main-channel: true
# this is only applicable if you have world filtering
# or are using player permisisons
log-messages-to-console: true
messages:
# all four of these settings will populate the %villager% variable:
villager: 'villager'
baby-villager: 'baby villager'
zombie-villager: 'zombie villager'
baby-zombie-villager: 'baby zombie villager'
# populates %location% variable:
location: '&r( &6XYZ: %x% %y% %z%, &r&ein &r&a%world-name%&r)'
villager-message-with-profession: '&eA %villager% has died! Profession: %villager-profession%, level: %villager-level% %location%'
villager-message: '&eA %villager% has died! %location%'
villager-infection-with-profession: '&eA %villager% has been infected! Profession: %villager-profession%, level: %villager-level% %location%'
villager-infection: '&eA %villager% has been infected! %location%'
death-by-entity: '&eA %villager% was killed by %entity% %location%'
death-by-misc: '&eA %villager% died by %death-cause% %location%'
If you have questions or feature requests please join the discord server.
下载 Villager Announcer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Villager Announcer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Villager Announcer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Villager Announcer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Villager Announcer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Villager Announcer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Villager Announcer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Villager Announcer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 添加新权限
villagerannouncer.ignoreplayer,用于忽略拥有此权限的任何玩家
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
评论 0
登录后参与评分
还没有评论,来抢沙发吧