Door Frames

Original price was: $9.99.Current price is: $7.49.-25%

Sold by: Hakan

Are you tired of the strict limitations on floor frames, where only ladder hatches are allowed? DoorFrames is here to change that! This plugin introduces the ability to place Wooden Double Doors, Metal Double Doors, Armored Double Doors, and Garage Doors on floor frames, giving players more creative freedom and practical utility in their base designs.

Categories: , ,

Description

Are you tired of the strict limitations on floor frames, where only ladder hatches are allowed? DoorFrames is here to change that! This plugin introduces the ability to place Wooden Double Doors, Metal Double Doors, Armored Double Doors, and Garage Doors on floor frames, giving players more creative freedom and practical utility in their base designs.
🌟 What Does DoorFrames Do?

By default, Rust restricts floor frames to only accept ladder hatches, limiting design possibilities. DoorFrames overrides this behavior, allowing players to place multiple door types on floor frames, seamlessly integrating them into existing structures.

🔧 Key Features

🚪 Support for All Double Door Types

Players can place the following doors on floor frames:

Wooden Double Doors

Metal Double Doors

Armored Double Doors

Garage Doors

🔒 Permission-Based Access

Control which players can place specific door types using permission system:

doorframes.all: Allows placement of all supported door types.

doorframes.wood: Allows placement of Wooden Double Doors.

doorframes.metal: Allows placement of Metal Double Doors.

doorframes.armored: Allows placement of Armored Double Doors.

doorframes.garage: Allows placement of Garage Doors.

⏲️ Cooldown System for Performance

To ensure smooth server performance, the plugin includes a 0.5-second cooldown for each frame. Additionally, a 100-frame limit is enforced to prevent excessive memory usage. The oldest cooldowns are purged as needed, ensuring stability during heavy server activity. (Those can be changed in the code for optimization.)

🔌 Custom Hook Integration

The FFDoorPlaced hook is triggered every time a door is successfully placed, enabling advanced customization for server developers.

🎮 How It Works

For Developers

Customization via Hook:
The FFDoorPlaced hook allows you to add functionality such as logging, rewards, or additional restrictions. It provides the following parameters:

BasePlayer player: The player placing the door.

Door door: The door entity being placed.

string doorType: The type of door being placed (e.g., door.double.hinged.metal).

For Players

Select a Door: Equip one of the supported doors in your hotbar.

Aim at a Floor Frame: Point at a valid floor frame within a 5-meter range.

Place with a Click: If permissions are granted, the door will automatically align to the frame.

Players who lack the required permission will receive a message in chat, preventing placement.

⚠️ Important Considerations

Performance First: The cooldown system and frame limit ensure no unnecessary server lag or memory usage.

Backup Recommended: Always back up your server before installing new plugins or making major changes.

For Developers:

using Oxide.Core;
using UnityEngine;

namespace Oxide.Plugins
{
   [Info("FFDoorLogger", "Hakan", "1.0.0")]
   public class FFDoorLogger : RustPlugin
   {
       void FFDoorPlaced(BasePlayer player, Door door, string doorType)
       {
           Puts($"{player.displayName} placed a {doorType} on a floor frame.");
       }
   }
}

Door Frames Door Frames

Functionality The FFDoorPlaced method is a hook that gets called whenever a door is placed using the DoorFrames plugin. When triggered, it:

Takes three parameters:

player: The BasePlayer who placed the door

door: The Door entity that was placed

doorType: The type of door placed (e.g., wooden, metal)

Reviews

There are no reviews yet.


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

Version 2.1.0 | Updated March 8, 2025
  • Added - Added the Fence Gate, which can be placed with the "doorframes.fence" permission. - Fixed the placement of the "Medieval Sheet Metal Double Door." - Fixed door placement permissions so that a player now needs at least one of the following permissions: doorframes.all doorframes.fence doorframes.wood doorframes.metal doorframes.armored doorframes.garage
Version 2.0.0 | Updated February 28, 2025
  • Added You can now rotate doors without using a command. Added the permissions "doorframes.rotate" and "doorframes.rotate.all": - With "doorframes.rotate", you can only rotate doors placed in floor frames. - With "doorframes.rotate.all", you can rotate doors placed in both floor frames and door frames. Use the command /df.rotate to get an info message: "Usage: Hit a door with a hammer while holding SHIFT or using the SCROLL WHEEL to rotate." Fixed minor memory leaks and calculation issues. This version's performance has not been fully tested. Please use it at your own risk and report any issues.

Discussions

There are no discussions yet.

Leave a reply

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

Plugin FAQ – How do I use this .zip/.7z file I just purchased on my server?

• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.

Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA

• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.

Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.

Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)

Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)

Product Enquiry

Please Login to make enquiry about this product