notable deaths
这是一个 Minecraft Paper 插件,允许服务器管理员自定义哪些实体的死亡消息会被广播。
该插件允许你配置哪些实体的死亡消息应该在整个服务器上广播。
这也可以取决于实体是否是宠物、是否有自定义名称,或者是否被交易过。
死亡的位置也可能在消息中显示。
该插件使用 Minecraft 的消息系统,因此支持所有语言。
配置
默认情况下,该插件会显示村民(已交易过的)、流浪商人、Boss 生物以及任何命名实体的死亡消息。可以在 plugins/NotableDeaths/config.yml 中更改此设置。以下是默认配置:
# 生物的默认配置
# 'mobs' 下的配置会覆盖此项
default:
# 是否应为此类型的所有实体宣布死亡消息
# 如果此项为 true,则忽略其他条件如 'named' 或 'tamed'
all: false
# 是否应为此类型的命名实体宣布死亡消息
named: true
# 是否应为此类型的驯服实体宣布死亡消息
tamed: false
# 是否应为此类型已被交易的村民宣布死亡消息
traded-with: false
# 是否应在此类型实体的死亡消息中广播位置
location: false
# 是否应将驯服实体的死亡告知服务器上的每个人,
# 而不仅仅是宠物主人
# 此选项仅在死亡设置为对该驯服实体进行广播时才生效。
broadcast-tamed-deaths: false
# 特定实体的覆盖配置
mobs:
VILLAGER:
traded-with: true
WANDERING_TRADER:
all: true
WITHER:
all: true
ENDER_DRAGON:
all: true
ELDER_GUARDIAN:
all: true
WARDEN:
all: true
ILLUSIONER:
all: true
GIANT:
all: true
CAT:
tamed: true
WOLF:
tamed: true
PARROT:
tamed: true
# Discord 配置:如果指定了频道 ID 和机器人令牌,则将消息发送到指定的频道
# 只会发送那些向*所有人*广播的消息
channel-id: ''
bot-token: ''
default 部分适用于所有实体,除非在 mobs 下存在该实体的条目,在这种情况下,该条目的优先级更高。
链接
免责声明
非官方 Minecraft 产品。未经 Mojang 或 Microsoft 批准或关联。
Notable Deaths
This is a Minecraft Paper plugin that allows server owners to customize which entities' deaths should be announced.
The plugin lets you configure which entities should have their death message broadcast across the whole server.
This can also depend on whether the entity is a pet, has a custom name, or has been traded with.
The location of the death may also be displayed in the messages.
The plugin uses Minecraft's message system meaning all languages are supported.
Configuration
By default, the plugin will show the death messages of villagers (that have been traded with), wandering traders, boss mobs, as well as any named entity. This can be changed in plugins/NotableDeaths/config.yml. Here is the default configuration:
# The default configuration for mobs
# Configuration under 'mobs' overrides this
default:
# Whether death messages should be announced for all entities of this type
# Other conditions such as 'named' or 'tamed' will be ignored if this is true
all: false
# Whether death messages should be announced for named entities of this type
named: true
# Whether death messages should be announced for tamed entities of this type
tamed: false
# Whether death messages should be announced for villagers that have been traded with
traded-with: false
# Whether the location should be broadcast along with the death message for entities of this type
location: false
# Whether the deaths of tamed entities should be announced to everyone on the server,
# instead of just the pet owner
# This option only takes effect if the death is set to be announced for that tamed entity.
broadcast-tamed-deaths: false
# Overrides for specific entities
mobs:
VILLAGER:
traded-with: true
WANDERING_TRADER:
all: true
WITHER:
all: true
ENDER_DRAGON:
all: true
ELDER_GUARDIAN:
all: true
WARDEN:
all: true
ILLUSIONER:
all: true
GIANT:
all: true
CAT:
tamed: true
WOLF:
tamed: true
PARROT:
tamed: true
# Discord configuration: will send messages to the channel specified by channel ID
# if channel ID and bot token are specified
# Will only send messages that are announced to *everyone* on the server
channel-id: ''
bot-token: ''
The section under default applies to all entities, unless there exists an entry for that entity under mobs, in which case that entry takes priority.
Links
Disclaimer
NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.
评论 0
登录后参与评分
还没有评论,来抢沙发吧