插件介绍
允许有权限的玩家禁用其他玩家的伤害
Disable configurable types of damage that certain player can deal
disabledamage.use - allows player to use chat command
/dd (<name>) - toggles damage for player. If <name> is not specified - toggles damage for command executer.
主要用途
主要用于damage、服务器管理、PVE、PVP等服务端功能。 本插件由 2CHEVSKII 发布,当前目录记录版本为 v0.4.0,uMod 累计下载 6,427 次。
适用场景
- 需要管理、审计或维护能力的服务器
- PVE、活动服或任务玩法服务器
- PVP、战斗或攻防玩法服务器
功能分类
查看 uMod 官方英文简介
Allows players with permission to disable other player's damage
权限节点
disabledamage.use - allows player to use chat command
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
/dd (<name>) - toggles damage for player. If <name> is not specified - toggles damage for command executer.
配置说明
{ "General": { "Announce target player": true, - Announces player whose damage was toggled "Damage disabled by default": false, - All players have damage disabled all the time ("Types" still have effect) "Display name of user to target player": true, - Shows player whose damage was toggled the name of the player, who toggled it "Save disabled players to data": true - Allows saving disabled damage on plugin (server) restart }, "Types": { "Disable damage to animals": true, "Disable damage to barrels": true, "Disable damage to Buildings and structures": true, "Disable damage to helicopter": true, "Disable damage to NPCs": true, "Disable damage to players": true, "Disable damage to transport": true } }
官方配置示例
{
"General": {
"Announce target player": true, - Announces player whose damage was toggled
"Damage disabled by default": false, - All players have damage disabled all the time ("Types" still have effect)
"Display name of user to target player": true, - Shows player whose damage was toggled the name of the player, who toggled it
"Save disabled players to data": true - Allows saving disabled damage on plugin (server) restart
},
"Types": {
"Disable damage to animals": true,
"Disable damage to barrels": true,
"Disable damage to Buildings and structures": true,
"Disable damage to helicopter": true,
"Disable damage to NPCs": true,
"Disable damage to players": true,
"Disable damage to transport": true
}
}{
"Prefix": "<color=red>[</color>DISABLE DAMAGE<color=red>]</color>",
"No permission": "<color=red>Y</color>ou have no permission to use this command<color=red>!</color>",
"Self damage enabled": "Your damage has been <color=#36d859>enabled</color>.",
"Self damage disabled": "Your damage has been <color=red>disabled</color>.",
"Player's damage enabled": "You <color=#36d859>enabled</color> damage for player <color=#36a1d8>{0}</color>.",
"Player's damage disabled": "You <color=red>disabled</color> damage for player <color=#36a1d8>{0}</color>.",
"Player enabled your damage": "Your damage has been <color=#36d859>enabled</color> by <color=#36a1d8>{0}</color>.",
"Player disabled your damage": "Your damage has been <color=red>disabled</color> by <color=#36a1d8>{0}</color>.",
"No player found": "<color=red>N</color>o player found with that name<color=red>!</color>",
"Help message": "<color=yellow>Wrong command usage!</color>\n<color=#36a1d8>/dd</color> - enable/disable your damage\n<color=#36a1d8>/dd <username or userid></color> - disable damage for specific user.",
"Command unavailable": "This command is <color=yellow>unavailable</color> while \"<color=#F2BC14>Damage disabled by default</color>\" is \"<color=#195FFF>true</color>\" in the config file!"
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。