About Close Doors
Adds admin-only commands to instantly close or open all player-placed doors on the server. Useful after server crashes/hangs when player's bases may be vulnerable if they're unable to immediately rejoin and close their doors.
Features
- Closes or Opens All Player-Placed Doors: Admins can issue a single command to close or open every door on the map placed by a player.
- Admin-Only Commands: Restricted to players with Rust admin status to ensure no abuse or accidental use.
- Excludes Static World Doors: Only affects deployable doors placed by players (e.g., wooden, sheet metal, armored).
- Simple and Lightweight: No configuration file or persistent data. Instant effect with minimal server overhead.
Configuration
This plugin does not use a configuration file. All logic is hardcoded and designed for immediate use by server admins.
Commands
Command - Description
- /closedoors - Closes all open player-placed doors
- /opendoors - Opens all closed player-placed doors
These commands must be run by an authenticated admin (authlevel 2) in chat.
Permissions
No additional permissions are required. Access is restricted to Rust server admins only.
Installation
- Download the CloseDoors.cs file from the CloseDoors page.
- Place the file in your RustServer/oxide/plugins directory.
- Use the command oxide.reload CloseDoors to load the plugin.
No configuration is necessary—it's ready to use out of the box.
Usage
Once installed, admins can run /closedoors or /opendoors from the in-game chat.
/closedoors will force-close every player-placed door that is currently open.
/opendoors will force-open every player-placed door that is currently closed.
These commands will not affect world-placed or static doors (e.g., monument doors or puzzle doors).
Troubleshooting
If the plugin does not respond to commands:
Ensure the plugin was properly placed in the oxide/plugins directory.
Check that the plugin loaded successfully using oxide.plugins.
Confirm you are logged in as an admin (authlevel 2) when issuing the commands.
Use oxide.reload CloseDoors to force a refresh of the plugin.
For additional help, view the server console or logs for error messages referencing CloseDoors.cs.