Auto Doors

0,00 

Sold by: scalbox

Automatically closes doors behind players after X seconds

SKU: AutoDoors.cs Categories: , , , Tag:
Report Abuse

Description

Reading Mode

This is a fork of this plugin https://umod.org/plugins/auto-doors, , no longer updated.
This fork is intended to continue maintaining the plugin for future Rust updates and feature additions.

If you are the developer of this plugin, feel free to contact me for the patch.


Auto Doors

Automatically closes doors behind players after the default amount of seconds or as set by them.


PERMISSIONS:

This plugin uses the permission system.
To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>.
To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.
  • autodoors.use — Allows player to toggle and have automatic doors

CHAT COMMANDS:

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

CONFIGURATION:

The settings and options can be configured in the AutoDoors file under the config directory.
The use of an editor and validator is recommended to avoid formatting issues and syntax errors.The settings and options can be configured in the AutoDoors file under the config directory.
The use of an editor and validator is recommended to avoid formatting issues and syntax errors.
<code class="language-json copyable">{
  "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
  }
}

LOCALIZATION:

The default messages are in the AutoDoors file under the lang/en directory.
To add support for another language, create a new language folder (e.g. de for German) if not already created, copy the default language file to the new folder and then customize the messages.
{
  "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."
}

HOOKS:

private object OnDoorAutoClose(BasePlayer player, Door door)

Additional information

Framework

Carbon, Oxide/Umod

Features

Fork

Reviews

There are no reviews yet.


Only logged in customers who have purchased this product may leave a review.

3.3.11
01/09/2024

Update for the next Rust update for Forced Wipe. Don't update before!!!

Fixed

Update for the next Rust update for Forced Wipe. Don't update before!!!

3.3.10
01/09/2024

Forked version v3.3.10. Version date 04/05/2023.

Added

Forked version v3.3.10. Version date 04/05/2023.

Discussions

There are no discussions yet.

Leave a reply

Your email address will not be published. Required fields are marked *

Product Enquiry

Please Login to make enquiry about this product