插件介绍
广播死亡事件以及详细信息。
Death Notes allows you to broadcast deaths of different variety to chat, including information like the weapon used and which body part was hit.
The configurable messages consist of these message blocks:
These message blocks can be added or edited to your liking.To disable a message, please change Enabled to false.The setting Display Permissions (Display For All Players If Empty) allows the creation of custom permissions (must start with "deathnotes.") for groups of players to see certain death messages.The plugin dynamically decides which message should be used in a certain situation.Therefore, you have to specify the KillerType, VictimType and DamageType describing the situation you want your message to appear in. Please note that you may only have one block of settings for any particular set of KillerType, VictimType and DamageType combination.
The message example above is used when a player kills another player doing bullet damage.You can use the default configuration as an example of what it looks like when having multiple message blocks. If adding message blocks, remember to include a comma after the end brace ( }, ).
主要用途
主要用于deaths、notifications等服务端功能。 本插件由 MrBlue 发布,当前目录记录版本为 v6.5.5,uMod 累计下载 215,546 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
Broadcasts deaths to chat along with detailed information.
权限节点
Permissions control the viewing of death notes by players.
- deathnotes.cansee : If Require Permission is set to true in the configuration, then this permission will require that a player has this permission in order to receive death notes. - deathnotes.cantsee : Prevents a player or group with this permission from seeing any Death Notes output. This permission functions regardless of the Require Permission configuration setting. - deathnotes.suppress: Useful for Admins. Players with this permission will not generate death notes. This permission functions regardless of the Require Permission configuration setting. - deathnotes.seeteamonly: Prevents a player or group with this permission from seeing any Death Notes output other than those pertaining to them or their teammates. NOTE: Custom permissions can also be used per death message setting block. Permissions must begin with "deathnotes." and cannot be identically named as the above default permissions.
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
Chat commands that players can use to modify Death Notes visibility.
- /dn - Toggles the player's ability to see Death Notes output. - /dn teamonly - Toggles the player's ability to see Death Notes output for their team only.
相关依赖
- Death Notes GUI
- Death Notes Toggle
- Discord Death
- Discord Logger
- Magic Death Notes Panel
- Paratroopers
- Rustcord
配置说明
The configurable messages consist of these message blocks:
{ "Display Permissions (Display For All Players If Empty)": [], "KillerType": "Player", "VictimType": "Player", "DamageType": "Bullet", "Enabled": true, "Show Kills in Console": true, "Show Kills in Chat": true, "Show Kills in Notify": false, "Show Kills in UINotify": false, "Messages": [ "{killer} shot {victim} using their {weapon} over a distance of {distance}." ] }
These message blocks can be added or edited to your liking.To disable a message, please change Enabled to false.The setting Display Permissions (Display For All Players If Empty) allows the creation of custom permissions (must start with "deathnotes.") for groups of players to see certain death messages.The plugin dynamically decides which message should be used in a certain situation.Therefore, you have to specify the KillerType, VictimType and DamageType describing the situation you want your message to appear in. Please note that you may only have one block of settings for any particular set of KillerType, VictimType and DamageType combination.
The message example above is used when a player kills another player doing bullet damage.You can use the default configuration as an example of what it looks like when having multiple message blocks. If adding message blocks, remember to include a comma after the end brace ( }, ).
* and - can also be used for KillerType, VictimType, or DamageType.
* matches any possible killer/victim/damage type, including a situation with no killer/victim/damage type
- matches if there is no killer/victim/damage type. This usually only applies to the killer, when one is not applicable or present.
- Helicopter - Bradley - Animal - Murderer - Scientist - Player - Trap - Turret - Barricade - ExternalWall - HeatSource - Fire - Lock - Sentry - ScarecrowNPC - TunnelDweller - UnderwaterDweller - ZombieNPC - GingerbreadNPC - HeavyScientist - Minicopter - AttackHelicopter - BeeSwarm - SAM - Shark - NPCShopKeeper - ExcavatorArm - Drone - CarShredder - Cactus - Train - MagnetCrane - Elevator - HotAirBalloon - BatteringRam - Tugboat - CargoShip - CustomNPC
- Generic - Hunger - Thirst - Cold - Drowned - Heat - Bleeding - Poison - Suicide - Bullet - Slash - Blunt - Fall - Radiation - Bite - Stab - Explosion - RadiationExposure - ColdExposure - Decay - ElectricShock - Arrow - Collision
Always available:
- {victim} : Name of the victim - {position} : The world position of the death event in (X,Y,Z) format - {mapgrid} : The map grid position of the death event
Available for deaths involving a killer:
- {killer} : Name of the killer - {bodypart} : Bodypart which was hit - {distance} : Distance between killer and victim
Available for deaths involving a Lock, Trap, Turret, or SAM Site as the killer:
- {owner} : Name of the lock/trap/turret owner
Available for deaths involving a Player as the killer:
- {hp} : Remaining HP of the killer - {weapon} : Weapon used by the killer - {attachments} : Attachments used on the killers weapon
Miscellaneous configuration settings:
- Chat Format : Configures death note message format. - Chat Icon (SteamID) : Icon (by Steam ID) to display with death notes. - Debug Mode Enabled : Whether or not to print debug messages in the Death Notes log files. - Notify Message Type : Message type (see Notify plugin configuration) for Death Notes output. - UINotify Message Type : Message type (see UINotify plugin configuration) for Death Notes output. - Can Player Use /dn Command : Whether or not a player can use the /dn chat command to alter their settings. - Patrol Heli Tags Display Permissions (Display For All Players If Empty) : Custom permissions for players who can see patrol helicopter tag messages. - Show Patrol Heli Tags in Console : Whether or not to print a message to console when a player initially hits (tags) the patrol helicopter. - Show Patrol Heli Tags in Chat : Whether or not to print a message to chat when a player initially hits (tags) the patrol helicopter. - Show Patrol Heli Tags in Notify : Whether or not to print a message to Notify plugin when a player initially hits (tags) the patrol helicopter. - Show Patrol Heli Tags in UINotify : Whether or not to print a message to UINotify plugin when a player initially hits (tags) the patrol helicopter. - Patrol Helicopter Tag Message : Message format for patrol helicopter tag messages. - Bradley APC Tags Display Permissions (Display For All Players If Empty) : Custom permissions for players who can see Bradley APC tag messages. - Show Bradley APC Tags in Console : Whether or not to print a message to console when a player initially hits (tags) the Bradley APC. - Show Bradley APC Tags in Chat : Whether or not to print a message to chat when a player initially hits (tags) the Bradley APC. - Show Bradley APC Tags in Notify : Whether or not to print a message to Notify plugin when a player initially hits (tags) the Bradley APC. - Show Bradley APC Tags in UINotify : Whether or not to print a message to UINotify plugin when a player initially hits (tags) the Bradley APC. - Bradley Tag Message : Message format for Bradley APC tag messages. - Message Broadcast Radius (in meters) : Death notes will only be printed for players within the specified radius, in meters. If set to -1, all players will receive the message regardless of distance. - Use Metric Distance : Whether or not "distance" values are metric or not. - Require Permission (deathnotes.cansee) : If enabled, players must have the deathnotes.cansee permission in order to see death notes.
{ "Translations": { "Death Messages": [ { "Display Permissions (Display For All Players If Empty)": [], "KillerType": "Player", "VictimType": "Player", "DamageType": "Bullet", "Enabled": true, "Show Kills in Console": true, "Show Kills in Chat": true, "Show Kills in Notify": false, "Show Kills in UINotify": false, "Messages": [ "{killer} shot {victim} using their {weapon} over a distance of {distance}." ] }, { "Display Permissions (Display For All Players If Empty)": [], "KillerType": "Player", "VictimType": "Player", "DamageType": "Arrow", "Enabled": true, "Show Kills in Console": true, "Show Kills in Chat": true, "Show Kills in Notify": false, "Show Kills in UINotify": false, "Messages": [ "{victim} was shot by {killer} with their {weapon} over a distance of {distance}." ] }, // More messages here ], "Names": { "Boar": "Boar", "Bear": "Bear", "Scientist": "Scientist" // More enemies here }, "Bodyparts": { "Chest": "Chest", "Head": "Head", "Leg": "Leg" // More bodyparts here }, "Weapons": { "M249": "M249", "Spas-12 Shotgun": "Spas-12 Shotgun", "LR-300 Assault Rifle": "LR-300 Assault Rifle" // More weapons here } }, "Variable Formats": { "attachments": " ({value})" }, "Variable Colors": { "killer": "#C4FF00", "victim": "#C4FF00", "weapon": "#C4FF00", "attachments": "#C4FF00", "distance": "#C4FF00", "owner": "#C4FF00", "position": "#C4FF00", "mapgrid": "#C4FF00" }, "Chat Format": "<color=#838383>[<color=#80D000>DeathNotes</color>] {message}</color>", "Chat Icon (SteamID)": "76561198077847390", "Debug Mode Enabled": false, "Notify Message Type": 0, "UINotify Message Type": 0, "Can Player Use /dn Command": true, "Patrol Heli Tags Display Permissions (Display For All Players If Empty)": [], "Show Patrol Heli Tags in Console": true, "Show Patrol Heli Tags in Chat": true, "Show Patrol Heli Tags in Notify": false, "Show Patrol Heli Tags in UINotify": false, "Patrol Helicopter Tag Message": "{killer} has tagged the {victim} with their {weapon} over a distance of {distance}.", "Bradley APC Tags Display Permissions (Display For All Players If Empty)": [], "Show Bradley APC Tags in Console": true, "Show Bradley APC Tags in Chat": true, "Show Bradley APC Tags in Notify": false, "Show Bradley APC Tags in UINotify": false, "Bradley Tag Message": "{killer} has tagged the {victim} with their {weapon} over a distance of {distance}.", "Message Broadcast Radius (in meters)": -1, "Use Metric Distance": true, "Require Permission (deathnotes.cansee)": false }
官方配置示例
{
"Distance Unit Singular": "meter",
"Distance Unit Plural": "meters"
}{
"Display Permissions (Display For All Players If Empty)": [],
"KillerType": "Player",
"VictimType": "Player",
"DamageType": "Bullet",
"Enabled": true,
"Show Kills in Console": true,
"Show Kills in Chat": true,
"Show Kills in Notify": false,
"Show Kills in UINotify": false,
"Messages": [
"{killer} shot {victim} using their {weapon} over a distance of {distance}."
]
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。