Auto Doors


xAutoDoors is a customizable Rust plugin that automatically closes doors after a set delay.
Each player can individually enable/disable the feature and configure their own close delay time.
Player preferences are saved, so settings persist after reconnects and server restarts.
✨ Features
-
Per-player enable/disable toggle
-
Per-player close delay (in seconds)
-
Settings saved
-
Configurable minimum and maximum delay
-
Optional permission requirement
-
Simple chat command system
🛠️ Default Configuration
{
"DefaultEnabled": true,
"DefaultDelay": 3.0,
"MinDelay": 0.2,
"MaxDelay": 30.0,
"RequirePermission": true
}
DefaultEnabled - whether AutoDoors is enabled for new players by default
DefaultDelay - default close delay (seconds)
MinDelay / MaxDelay - bounds for per-player delay
RequirePermission - if true, only players with permission can use AutoDoors
⭐ Permission
xautodoors.use - Grants permission to use the plugin (only needed if RequirePermission = true)
Chat Commands
-
/ad - shows current status and delay
-
/ad on - enable AutoDoors
-
/ad off - disable AutoDoors
-
/ad toggle - toggle AutoDoors on/off
-
/ad time <seconds> - set close delay (clamped between min/max)