GarageDoor2
**GarageDoor2** allows players to place and use **horizontal garage doors**, providing additional building flexibility without requiring custom building pieces.
# GarageDoor2
GarageDoor2 allows players to place and use horizontal garage doors, providing additional building flexibility without requiring custom building pieces.
Features
* 🔄 Convert standard garage doors into horizontal garage doors and back.
* 🛠️ Rotate placed garage doors using a hammer.
* 🎨 Apply custom skins to rotated garage doors.
* 🖥️ Optional GUI controls for rotating, skinning, and breaking frames.
* 📦 Optionally add rotated garage doors to Supply Drops.
* 🎒 Pick up rotated garage doors as rotated doors, preserving their original skin.
* 🔒 Automatically reposition door controllers and locks for rotated doors.
* 🧱 Optionally break the supporting floor frame and allow the garage door to remain in place.
* 📏 Automatically oversize doors when the supporting frame is removed.
* ♻️ Prevent rotated garage doors from being recycled.
* 💾 Persistent data handling for skins and rotated/scaled doors.
* ⚙️ Extensive configuration options for sounds, GUI position, supply-drop chance, skins, frame breaking, and damage handling.
Permissions
| Permission | Description |
| -------------------- | -------------------------------------------------------------------------- |
| GarageDoor2.Turn | Allows the /td command to convert garage doors. |
| GarageDoor2.Rotate | Allows rotating garage doors with a hammer while holding R. |
| GarageDoor2.Skin | Allows setting skins with /gdskin <skinid>. |
| GarageDoor2.Break | Allows breaking floor frames with Shift + R while using a hammer. |
| GarageDoor2.GUI | Allows the garage door management GUI using right-click with a hammer. |
Chat Commands
/td
Converts a garage door into a horizontal garage door, or converts a rotated garage door back into a standard garage door.
/gdskin <skinid>
Sets the skin to use for newly placed rotated garage doors.
Use:
/gdskin 123456789
Set the skin ID to 0 to disable the custom skin.
Console Commands
garagedoor2.give <player>
Gives a rotated garage door to a player by their name or Steam ID.
garagedoor2.give PlayerName
Requires console/admin access.
Hammer Controls
When authorized and the appropriate permissions are assigned:
* R + Hammer — Rotate a garage door.
* Shift + R + Hammer — Break the supporting floor frame.
* Right-click + Hammer — Open the optional GUI.
The GUI provides buttons for Rotate, Skin, and Break, depending on the player's permissions and the current door state.
Configuration
GarageDoor2 includes configuration options for:
* Picking up rotated doors as rotated doors.
* Adding rotated doors to Supply Drops.
* Supply Drop spawn percentage.
* Default skin ID.
* Moving door controllers and locks into the correct position.
* Oversizing doors when their floor frame is removed.
* GUI position and cooldown.
* Rotation, skin-change, and frame-break sound effects.
* Whether all door frames can be broken.
* Player-only damage handling for scaled doors.
* Debug damage logging.
Compatibility & Safety
GarageDoor2 keeps track of converted, rotated, and scaled doors using Oxide data storage. It also performs cleanup of stale references after server initialization and prevents converted doors from being accidentally recycled.
The plugin is designed to integrate with standard Rust building permissions and checks whether players are building authorized before performing door modifications.
