资源图标

转载 闭源 聊天 工具 村民播报员 1.8.0

没有下载权限
版权类型
转载
插件中文名
村民播报员
插件英文名
villager announcer
原帖地址
https://www.spigotmc.org/resources/villager-announcer.119266/
支持的核心 [服务端]
  1. Paper
语言支持
  1. 中文(简体)
适配Minecraft版本 [Java]
  1. 1.8
[MD]
# 村民播报员

> 注意:本插件的较新版本已不再发布至 SpigotMC。

你是否建了村民大厅,却总是莫名其妙地发现有村民死亡,甚至毫不知情?如果是这样,这个插件正是为你准备的。

村民播报员是一款高度可定制、但使用简单的插件。默认情况下,当村民被击杀或被感染时,相关详情会广播给所有玩家,同时播放一段可自定义的音效。

插件内置了对 DiscordSRV 的可选集成,且默认启用。若已启用 DiscordSRV 并配置了主文字频道,消息将自动发送至该频道,也可按需关闭。

效果示例:

!(https://img.scdn.io/i/6a7a335368d3c_1786393427.webp)

## 默认配置文件

```text
enabled: true
play-sound: true
sound-name: 'ENTITY_VILLAGER_DEATH'
sound-name-wandering-trader: 'ENTITY_WANDERING_TRADER_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
include-wandering-trader: false
# 消息格式使用 MiniMessage
# 详情请访问 https://docs.advntr.dev/minimessage/format.html
messages:
# 以下四项用于填充 %villager% 变量:
villager: 'villager'
baby-villager: 'baby villager'
zombie-villager: 'zombie villager'
baby-zombie-villager: 'baby zombie villager'
wandering-trader: 'wandering trader'
# 填充 %location% 变量:
location: '<reset>( <color:gold>XYZ: %x% %y% %z%, <color:yellow>in <color:green>%world-name%</color>)'
# 若需要带 URL 的可点击链接,请参考以下示例:
#location: '<reset><click:OPEN_URL:http://mymapsite.com/world=%world-name%;%x%,%y%,%z%>( <color:gold>XYZ: %x% %y% %z%, <color:yellow>in <color:green>%world-name%</color>)</click>'
villager-message-with-profession: '<color:yellow>A %villager% has died! Profession: %villager-profession%, level: %villager-level% %location%'
villager-message: '<color:yellow>A %villager% has died! %location%'
villager-infection-with-profession: '<color:yellow>A %villager% has been infected by %entity%! Profession: %villager-profession%, level: %villager-level% %location%'
villager-infection: '<color:yellow>A %villager% has been infected by %entity%! %location%'
death-by-entity: '<color:yellow>A %villager% was killed by %entity% %location%'
death-by-misc: '<color:yellow>A %villager% died by %death-cause% %location%'
wandering-trader-death: '<color:yellow>A %wandering-trader% has died! %location%'
wandering-trader-death-by-entity: '<color:yellow>A %wandering-trader% was brutally murdered by <color:red>%entity%<color:yellow>! %location%'
```

如有问题或功能建议,欢迎加入 [discord](https://discord.gg/arcaneplugins-752310043214479462) 服务器。
[/MD][/MD]
作者
cacca
下载
0
查看
33
首次发布
最后更新
评分
0.00 星 0 星

来自cacca的更多资源

后退
顶部