死亡笔记允许你广播不同种类的死亡事件,包括使用武器和被击中的身体部位等信息。
常见问题和常见问题
- 问题:我收到一些关于远程配置的错误,插件不起作用
溶液:如果您在下载远程配置时遇到问题,请从以下站点手动下载它们,并使用这些名称将它们存储在 /data/DeathNotes/ 中
地方化
默认消息位于目录下的文件中。要添加对其他语言的支持,请创建一个新的语言文件夹(例如 对于德语),如果尚未创建,请将默认语言文件复制到新文件夹,然后自定义邮件。
DeathNotes
lang/en
de
{
"Distance Unit Singular": "meter",
"Distance Unit Plural": "meters"
}
配置
可以在目录下的文件中配置设置和选项。建议使用编辑器和验证器,以避免格式问题和语法错误。
DeathNotes
config
消息
可配置消息由以下消息块组成:
{
"KillerType": "Player",
"VictimType": "Player",
"DamageType": "Bullet",
"Messages": [
"{killer} shot {victim} using their {weapon} over a distance of {distance}."
]
}
这些消息块可以根据您的喜好进行编辑、删除或添加。要禁用消息,请完全删除相应的消息块。插件动态决定在特定情况下应该使用哪条消息。因此,您必须指定 ,并描述您希望消息出现的情况。KillerType
VictimType
DamageType
当一个玩家杀死另一个造成子弹伤害的玩家时,会使用上面的消息示例。您可以使用默认配置作为示例,了解具有多个消息块时的外观,这样做很重要,不要忘记逗号。
*
和 -
也可用于 KillerType、VictimType 或 DamageType。
*
匹配任何可能的杀手/受害者/伤害类型,包括没有杀手/受害者/伤害类型的情况-
如果没有杀手/受害者/伤害类型,则匹配。这通常只适用于凶手。
可用的杀手/受害者类型
- Helicopter
- Bradley
- Animal
- Murderer
- Scientist
- Scarecrow
- Player
- Trap
- Turret
- Barricade
- ExternalWall
- HeatSource
- Fire
- Lock
- Sentry
可用的损坏类型
- Generic
- Hunger
- Thirst
- Cold
- Drowned
- Heat
- Bleeding
- Poison
- Suicide
- Bullet
- Slash
- Blunt
- Fall
- Radiation
- Bite
- Stab
- Explosion
- RadiationExposure
- ColdExposure
- Decay
- ElectricShock
- Arrow
- Collision
可用的变量占位符
始终可用:
- {victim} : Name of the victim
适用于涉及凶手的死亡:
- {killer} : Name of the killer
- {bodypart} : Bodypart which was hit
- {distance} : Distance between killer and victim
适用于以锁、陷阱或炮塔为杀手的死亡:
- {owner} : Name of the lock/trap/turret owner
适用于涉及玩家作为杀手的死亡:
- {hp} : Remaining HP of the killer
- {weapon} : Weapon used by the killer
- {attachments} : Attachments used on the killers weapon
默认配置
Copy
{
"Translations": {
"Death Messages": [
{
"KillerType": "Player",
"VictimType": "Player",
"DamageType": "Bullet",
"Messages": [
"{killer} shot {victim} using their {weapon} over a distance of {distance}."
]
},
{
"KillerType": "Player",
"VictimType": "Player",
"DamageType": "Arrow",
"Messages": [
"{victim} was shot by {killer} with their {weapon} over a distance of {distance}."
]
}
// More messages here
],
"Names": {
"Boar": "Boar",
"Bear": "Bear",
"Scientist": "Scientist"
},
"Bodyparts": {
"Chest": "Chest",
"Head": "Head",
"Leg": "Leg"
},
"Weapons": {
"M249": "M249",
"Spas-12 Shotgun": "Spas-12 Shotgun",
"LR-300 Assault Rifle": "LR-300 Assault Rifle"
}
},
"Variable Formats": {
"attachments": " ({value})"
},
"Variable Colors": {
"killer": "#C4FF00",
"victim": "#C4FF00",
"weapon": "#C4FF00",
"attachments": "#C4FF00",
"distance": "#C4FF00",
"owner": "#C4FF00"
},
"Chat Format": "<color=#838383>[<color=#80D000>DeathNotes</color>] {message}</color>",
"Chat Icon (SteamID)": "76561198077847390",
"Show Kills in Console": true,
"Show Kills in Chat": true,
"MessageRadius": -1,
"Use Metric Distance": true
}
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。