Auto Doors - 自动关门

汉化 Auto Doors - 自动关门 3.3.11

Auto Doors允许玩家设置在x秒后自动关闭打开的门。

权限

  • autodoors.use - 允许玩家使用自动关门。

指令​

注意:使用/ad <type | t>和/ad <single | s> 指令时必须看着门。
  • /ad - 开启/关闭自动关门
  • /ad <时间(秒)> - 设置自动关门时间(不包含type和single的单独设置)
  • /ad <all | a> <时间(秒)> - 设置所有门的自动关门时间
  • /ad <single | s> - 开启/关闭面前门的自动关门。
  • /ad <single | s> <时间(秒)> - 设置面前的门的自动关门时间
  • /ad <type | t> - 开启/关闭面前的门的类型的自动关门
  • /ad <type | t> <时间(秒)> - 设置面前门的类型的自动关门时间
  • /ad <help | h> - 获取帮助

配置文件​

JSON:
{
  "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
  }
}

Hook​

C#:
private object OnDoorAutoClose(BasePlayer player, Door door)
作者
对味儿
下载
43
查看
684
文件类型
cs
文件大小
29.7 KB
文件Hash
05390e37d51e0805b2da0501aac880fc
首次发布
最后更新
评分
0.00 星 0评价

来自对味儿的更多资源

分享资源

最新更新

  1. 3.3.11

    更新
标签