AutoDoors

Automatically closes doors behind players after X seconds

Total Downloads: 5,255 - First Release: May 20, 2016 - Last Update: Jul 14, 2016

5/5, 13 likes
  1. Wulf
    Configuration File:
    Yes
    Currently this only supports Rust and Hurtworld, but more game support is on the way.

    AutoDoors automatically closes doors behind players after the default amount of seconds or as set by them. The delay is by default set to 5 seconds, but you can change that in the config file if desired. This does require permissions to be set, but you can set them for the entire default group if you'd like.

    Permissions
    This plugin has optional support (disabled by default) for Oxide's permission system. To assign a permission, use grant user <name|steamid> <permission>. To remove a permission, use revoke user <name|steamid> <permission>.
    • autodoors.allowed (allows player to toggle and have automatic doors)
      Ex. grant user Wulf autodoors.allowed
      Ex. revoke user Wulf autodoors.allowed
      Ex. grant group default autodoors.allowed
    Chat Command
    • /ad
      Disables doors automatically closing for player.
    • /ad # (a number between MIN and MAX)
      Sets automatic door closing delay for player.
    The command aliases "autodoor" and "autodoors" are also available.

    Configuration
    You can configure the settings in the AutoDoors.json file under the oxide/config directory.
    Code (Text):
    {
      "CancelOnKill": false,
      "DefaultDelay": 5,
      "MaximumDelay": 30,
      "MinimumDelay": 5,
      "UsePermissions": false
    }
    Localization
    The default messages are in the AutoDoors.en.json under the oxide/lang directory, or create a language file for another language using the 'en' file as a default.
    Code (Text):
    {
      "DelayDisabled": "Automatic door closing is now disabled",
      "NotAllowed": "You are not allowed to use the '{0}' command",
      "DelaySet": "Automatic door closing delay set to {0}s",
      "Usage": "/{0} to disable automatic doors\n /{0} # (a number between 5 and 30)"
    }
    Credits
    • Bombardir, the original author of the original version of this plugin.