插件介绍
X 秒后自动关闭玩家身后的门
Automatically closes doors behind players after the default amount of seconds or as set by them.
NOTE: /ad <type | t> and /ad <single | s> commands must looking at a door when used
主要用途
主要用于doors、automation等服务端功能。 本插件由 bushhy 发布,当前目录记录版本为 v3.3.11,uMod 累计下载 137,253 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
Automatically closes doors behind players after X seconds
权限节点
autodoors.useAllows player to toggle and have automatic doors
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
NOTE: /ad <type | t> and /ad <single | s> commands must looking at a door when used
/ad - Enable/Disable automatic door closing
/ad <time (seconds)> - Set automatic closing delay for doors (Doors set by 'single' and 'type' are not included).
/ad <all | a> <time (seconds)> - Set automatic closing delay for all doors.
/ad <single | s> - Enable/Disable automatic closing of the door you are looking at
/ad <single | s> <time (seconds)> - Set automatic closing delay for the door you are looking at
"type" is just a word, not the type of door
/ad <type | t> - Enable/disable automatic door closing for the type of door you are looking at
/ad <type | t> <time (seconds)> - Set automatic closing delay for the type of door you are looking at
/ad <help | h> - View help
相关依赖
- Rust Translation API
配置说明
{ "Use permissions": false, "Clear data on map wipe": true, "Global settings": { "Allows automatic closing of unowned doors": false, "Exclude door controller": true, "Cancel on player dead": false, "Default enabled": true, "Default delay": 5.0, "Maximum delay": 30.0, "Minimum delay": 5.0 }, "Chat settings": { "Chat command": [ "ad", "autodoor" ], "Chat prefix": "<color=#00FFFF>[AutoDoors]</color>: ", "Chat steamID icon": 0 }, "Door Settings": { "door.double.hinged.metal": { "enabled": true, "displayName": "Sheet Metal Double Door" }, "door.double.hinged.toptier": { "enabled": true, "displayName": "Armored Double Door" }, "door.double.hinged.wood": { "enabled": true, "displayName": "Wood Double Door" }, "door.hinged.metal": { "enabled": true, "displayName": "Sheet Metal Door" }, "door.hinged.toptier": { "enabled": true, "displayName": "Armored Door" }, "door.hinged.wood": { "enabled": true, "displayName": "Wooden Door" }, "floor.ladder.hatch": { "enabled": true, "displayName": "Ladder Hatch" }, "floor.triangle.ladder.hatch": { "enabled": true, "displayName": "Triangle Ladder Hatch" }, "gates.external.high.stone": { "enabled": true, "displayName": "High External Stone Gate" }, "gates.external.high.wood": { "enabled": true, "displayName": "High External Wooden Gate" }, "wall.frame.cell.gate": { "enabled": true, "displayName": "Prison Cell Gate" }, "wall.frame.fence.gate": { "enabled": true, "displayName": "Chainlink Fence Gate" }, "wall.frame.garagedoor": { "enabled": true, "displayName": "Garage Door" }, "wall.frame.shopfront": { "enabled": true, "displayName": "Shop Front" }, "shutter.wood.a": { "enabled": true, "displayName": "Wood Shutters" } }, "Version": { "Major": 3, "Minor": 2, "Patch": 8 } }
官方配置示例
{
"Use permissions": false,
"Clear data on map wipe": true,
"Global settings": {
"Allows automatic closing of unowned doors": false,
"Exclude door controller": true,
"Cancel on player dead": false,
"Default enabled": true,
"Default delay": 5.0,
"Maximum delay": 30.0,
"Minimum delay": 5.0
},
"Chat settings": {
"Chat command": [
"ad",
"autodoor"
],
"Chat prefix": "<color=#00FFFF>[AutoDoors]</color>: ",
"Chat steamID icon": 0
},
"Door Settings": {
"door.double.hinged.metal": {
"enabled": true,
"displayName": "Sheet Metal Double Door"
},
"door.double.hinged.toptier": {
"enabled": true,
"displayName": "Armored Double Door"
},
"door.double.hinged.wood": {
"enabled": true,
"displayName": "Wood Double Door"
},
"door.hinged.metal": {
"enabled": true,
"displayName": "Sheet Metal Door"
},
"door.hinged.toptier": {
"enabled": true,
"displayName": "Armored Door"
},
"door.hinged.wood": {
"enabled": true,
"displayName": "Wooden Door"
},
"floor.ladder.hatch": {
"enabled": true,
"displayName": "Ladder Hatch"
},
"floor.triangle.ladder.hatch": {
"enabled": true,
"displayName": "Triangle Ladder Hatch"
},
"gates.external.high.stone": {
"enabled": true,
"displayName": "High External Stone Gate"
},
"gates.external.high.wood": {
"enabled": true,
"displayName": "High External Wooden Gate"
},
"wall.frame.cell.gate": {
"enabled": true,
"displayName": "Prison Cell Gate"
},
"wall.frame.fence.gate": {
"enabled": true,
"displayName": "Chainlink Fence Gate"
},
"wall.frame.garagedoor": {
"enabled": true,
"displayName": "Garage Door"
},
"wall.frame.shopfront": {
"enabled": true,
"displayName": "Shop Front"
},
"shutter.wood.a": {
"enabled": true,
"displayName": "Wood Shutters"
}
},
"Version": {
"Major": 3,
"Minor": 2,
"Patch": 8
}
}{
"NotAllowed": "You do not have permission to use this command",
"Enabled": "<color=#8ee700>Enabled</color>",
"Disabled": "<color=#ce422b>Disabled</color>",
"AutoDoor": "Automatic door closing is now {0}",
"AutoDoorDelay": "Automatic door closing delay set to {0}s. (Doors set by 'single' and 'type' are not included)",
"AutoDoorDelayAll": "Automatic closing delay of all doors set to {0}s",
"DoorNotFound": "You need to look at a door",
"DoorNotSupported": "This type of door is not supported",
"AutoDoorDelayLimit": "Automatic door closing delay allowed is between {0}s and {1}s",
"AutoDoorSingle": "Automatic closing of this {0} is {1}",
"AutoDoorSingleDelay": "Automatic closing delay of this {0} is {1}s",
"AutoDoorType": "Automatic closing of {0} door is {1}",
"AutoDoorTypeDelay": "Automatic closing delay of {0} door is {1}s",
"SyntaxError": "Syntax error, type '<color=#ce422b>/{0} <help | h></color>' to view help",
"AutoDoorSyntax": "<color=#ce422b>/{0} </color> - Enable/Disable automatic door closing",
"AutoDoorSyntax1": "<color=#ce422b>/{0} <time (seconds)></color> - Set automatic closing delay for doors, the allowed time is between {1}s and {2}s. (Doors set by 'single' and 'type' are not included)",
"AutoDoorSyntax2": "<color=#ce422b>/{0} <single | s></color> - Enable/Disable automatic closing of the door you are looking at",
"AutoDoorSyntax3": "<color=#ce422b>/{0} <single | s> <time (seconds)></color> - Set automatic closing delay for the door you are looking at, the allowed time is between {1}s and {2}s",
"AutoDoorSyntax4": "<color=#ce422b>/{0} <type | t></color> - Enable/disable automatic door closing for the type of door you are looking at. ('type' is just a word, not the type of door)",
"AutoDoorSyntax5": "<color=#ce422b>/{0} <type | t> <time (seconds)></color> - Set automatic closing delay for the type of door you are looking at, the allowed time is between {1}s and {2}s. ('type' is just a word, not the type of door)",
"AutoDoorSyntax6": "<color=#ce422b>/{0} <all | a> <time (seconds)></color> - Set automatic closing delay for all doors, the allowed time is between {1}s and {2}s."
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。