**配置:**
```YAML
# 死亡时执行的命令
# 由 NIN1275 创建 --> youtube.com/@nin1275
# 玩家死亡时执行的命令
# 请勿使用 "/"
# 占位符: [killed] 显示被杀玩家的名字, [killer] 显示杀人者名字, [noCommand] 不发送命令。
commands-to-run:
killed:
command: 'tellraw [killed] ["",{"text":"You died to ","color":"red"},{"text":"[killer]","color":"gold"}]'
# 如果 console 设置为 false,则命令将以玩家身份发送,这意味着他们需要为此命令的权限
console: false
killer:
command: 'tellraw [killer] ["",{"text":"You killed ","color":"green"},{"text":"[killed]","color":"red"}]'
# 如果 console 设置为 true,则命令将以控制台身份发送
console: true
```
**查看 [nessentials](https://modrinth.com/plugin/nessentials)!**