Death Notes 允许您向聊天广播不同种类的死亡信息,包括使用的武器和被击中的身体部位等信息。
- 问题:我收到了一些关于远程配置的错误,但插件不起作用
溶液:如果您在下载远程配置时遇到问题,请从以下站点手动下载它们,并将它们存储在 /data/DeathNotes/ 中,并使用以下名称
默认消息位于目录下的文件中。要添加对其他语言的支持,请创建一个新的语言文件夹(例如 对于德语),请将默认语言文件复制到新文件夹,然后自定义消息。DeathNoteslang/ende
<span>{</span><br> <span>"Distance Unit Singular"</span><span>:</span> <span>"meter"</span><span>,</span><br> <span>"Distance Unit Plural"</span><span>:</span> <span>"meters"</span><br><span>}</span>
设置和选项可以在目录下的文件中进行配置。建议使用编辑器和验证器,以避免格式问题和语法错误。DeathNotesconfig
可配置的消息由以下消息块组成:
<span>{</span><br> <span>"KillerType"</span><span>:</span> <span>"Player"</span><span>,</span><br> <span>"VictimType"</span><span>:</span> <span>"Player"</span><span>,</span><br> <span>"DamageType"</span><span>:</span> <span>"Bullet"</span><span>,</span><br> <span>"Messages"</span><span>:</span> <span>[</span><br> <span>"{killer} shot {victim} using their {weapon} over a distance of {distance}."</span><br> <span>]</span><br><span>}</span>
这些消息块可以根据您的喜好进行编辑、删除或添加。要禁用消息,请完全删除相应的消息块。该插件动态决定在特定情况下应该使用哪个消息。因此,您必须指定 ,并描述您希望消息出现的情况。KillerTypeVictimTypeDamageType
上面的消息示例用于一名玩家杀死另一名造成子弹伤害的玩家。您可以使用默认配置作为示例,说明拥有多个消息块时的外观,这样做很重要,您不要忘记逗号。
* 和 - 也可用于 KillerType、VictimType 或 DamageType。
- * 匹配任何可能的杀手/受害者/伤害类型,包括没有杀手/受害者/伤害类型的情况
- - 如果没有杀手/受害者/伤害类型,则匹配。这通常只适用于凶手。
- Helicopter<br>- Bradley<br>- Animal<br>- Murderer<br>- Scientist<br>- Scarecrow<br>- Player<br>- Trap<br>- Turret<br>- Barricade<br>- ExternalWall<br>- HeatSource<br>- Fire<br>- Lock<br>- Sentry
- Generic<br>- Hunger<br>- Thirst<br>- Cold<br>- Drowned<br>- Heat<br>- Bleeding<br>- Poison<br>- Suicide<br>- Bullet<br>- Slash<br>- Blunt<br>- Fall<br>- Radiation<br>- Bite<br>- Stab<br>- Explosion<br>- RadiationExposure<br>- ColdExposure<br>- Decay<br>- ElectricShock<br>- Arrow<br>- Collision
始终可用:
- {victim} : Name of the victim
适用于涉及杀手的死亡:
- {killer} : Name of the killer<br>- {bodypart} : Bodypart which was hit<br>- {distance} : Distance between killer and victim
适用于涉及锁、陷阱或炮塔作为杀手的死亡:
- {owner} : Name of the lock/trap/turret owner
适用于涉及玩家作为杀手的死亡:
Copy
- {hp} : Remaining HP of the killer<br>- {weapon} : Weapon used by the killer<br>- {attachments} : Attachments used on the killers weapon
{
"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
}
|