QuickFix
Items v1.2.4

QuickFix

by bmgjet · updated 4 weeks ago · 9 downloads · ☆☆☆☆☆ no reviews
QuickFix banner

lets players quickly repair damaged weapons and other supported items using **Duct Tape**

# QuickFix

QuickFix lets players quickly repair damaged weapons and other supported items using Duct Tape, without needing to return to a repair bench for every repair.

Equip Duct Tape in your hotbar, select it, then move a damaged supported item into the QuickFix repair window. The plugin consumes one Duct Tape and restores a configurable percentage of the item's condition.

Features

* 🩹 Quickly repair damaged items using Duct Tape
* 🔧 Configurable repair percentage
* ⭐ Separate repair rates for:

* Normal players
* VIP players
* Admins
* 🧨 Separate repair percentages for Fuses
* 📋 Configurable list of items that can be QuickFixed
* 🔒 Optional one-time repair limit per item
* 🛠️ Repair-bench use resets the one-time repair limit
* 🚫 Optional Building Block restriction
* ☠️ Optional Hostile restriction
* 🩸 Optional Wounded restriction
* ⚔️ Configurable combat cooldown after taking damage
* 🔊 Optional repair sound effects
* 📦 Optional Duct Tape spawning in Supply Drops
* ♻️ Optional Duct Tape recycling restriction
* 📏 Optional Duct Tape stack size restriction
* 💬 Configurable on-screen repair messages
* 🧹 Automatic or manual cleanup of old repair data
* 💾 Persistent data storage for tracking repaired items

How To Use

1. Obtain Duct Tape.
2. Place it in your hotbar.
3. Select Duct Tape as your active item.
4. Move the damaged item into the QuickFix repair window.
5. QuickFix automatically repairs the item and consumes one Duct Tape.

The repair window only accepts items configured in the Items That Are Allowed To Be QickFixed list.

Permissions

| Permission | Description |
| ---------------- | ------------------------------------------------- |
| QuickFix.Use | Allows the player to use QuickFix |
| QuickFix.Vip | Gives the player the configured VIP repair rate |
| QuickFix.Admin | Gives the player the configured Admin repair rate |

The three permissions are registered by the plugin on startup.

Repair Rates

QuickFix allows different repair percentages depending on the player's permission.

Standard Players

Default:

25% per Duct Tape

VIP Players

Default:

50% per Duct Tape

Admins

Default:

100% per Duct Tape

These values are fully configurable.

Fuse Repair

Fuses have their own configurable repair percentages:

| Permission | Default |
| ---------- | ------: |
| Normal | 50% |
| VIP | 75% |
| Admin | 100% |

One Repair Per Item

QuickFix can optionally limit an item to one Duct Tape repair.

When enabled, an item that has already been QuickFixed cannot be repaired again with Duct Tape until it is repaired/refilled through the normal repair system.

This provides a simple way to prevent players from repeatedly repairing the same item indefinitely with Duct Tape.

Combat Restrictions

QuickFix can prevent players from repairing immediately after combat.

By default, taking more than the configured minimum damage starts a 60-second QuickFix cooldown.

QuickFix can also block use while:

* Building blocked
* Hostile
* Wounded
* Combat blocked

Each restriction can be individually configured.

Duct Tape Supply Drops

Duct Tape can optionally be added to Supply Drops automatically.

Spawn Duct Tape In Supply Drops: true

When enabled, the plugin adds one Duct Tape to Supply Drop loot.

Duct Tape Restrictions

QuickFix provides optional controls over how Duct Tape itself works.

Stack Size

Duct Tape can optionally be restricted to a stack size of 1.

Limit Duct Tape To Stacks Of 1: true

Recycling

Duct Tape recycling can optionally be disabled.

Block Recycling Duct Tape: true

When enabled, the plugin temporarily removes its recycling recipe while loaded and restores it when unloaded.

Supported Items

The plugin includes a configurable whitelist of items that can be repaired using QuickFix.

The default list includes a wide range of weapons and tools, including:

* Assault Rifles
* SMGs
* Shotguns
* Pistols
* Bows
* Crossbows
* Melee weapons
* Tools
* Jackhammers
* Chainsaws
* Flamethrowers
* Rocket Launchers
* Keycards
* Fuses
* Torches
* Flashlights
* And more

The complete list can be modified through the configuration file.

Configuration

QuickFix provides extensive configuration options, including:

| Setting | Default | Description |
| -------------------------------------------------------- | ------: | ---------------------------------------- |
| Clean Datafile On Server Startup | false | Cleans invalid repair records on startup |
| Check Active Item When Repair Window Open | true | Ensures Duct Tape remains selected |
| Disable Fix Sound Effect | false | Disables repair sound effects |
| Block Opening QuickFix While Building Blocked | true | Prevents use while building blocked |
| Block Opening QuickFix While Marked As Hostile | true | Prevents use while hostile |
| Block Opening QuickFix While Wounded | true | Prevents use while wounded |
| Disable Opening QuickFix For X Sec After Taking Damage | 60 | Combat cooldown |
| Min Damage To Consider As Taking Damage | 5 | Minimum damage for combat cooldown |
| Percentage To Fix Per Duct Tape | 25 | Standard repair amount |
| VIP Percentage To Fix Per Duct Tape | 50 | VIP repair amount |
| Admin Percentage To Fix Per Duct Tape | 100 | Admin repair amount |
| Percentage To Fix Fuses | 50 | Standard Fuse repair |
| VIP Percentage To Fix Fuses | 75 | VIP Fuse repair |
| Admin Percentage To Fix Fuses | 100 | Admin Fuse repair |
| Limit To One Duct Tape Repair | true | Limits each item to one QuickFix |
| Limit Duct Tape To Stacks Of 1 | true | Limits Duct Tape stack size |
| Block Recycling Duct Tape | true | Prevents recycling Duct Tape |
| Spawn Duct Tape In Supply Drops | true | Adds Duct Tape to Supply Drops |

Commands

Console Commands

QuickFixClear

Clears the saved list of items that have already been QuickFixed.

QuickFixClean

Checks the stored repair list and removes entries for items that no longer exist.

Chat Commands

Both commands require the player to be an admin.

/QuickFix.Clear

Clears the saved QuickFix item list.

/QuickFix.Clean

Removes dead item IDs from the QuickFix data file.

Data Management

QuickFix stores the IDs of items that have already been repaired when the one-repair limit is enabled.

The plugin can clean obsolete item IDs by checking player inventories and storage containers, preventing the data file from filling with records for items that no longer exist.

Installation

1. Download QuickFix.cs.
2. Place it in:

oxide/plugins/

3. Reload the plugin:

oxide.reload QuickFix

4. Grant players permission:

oxide.grant user <SteamID> QuickFix.Use

5. Optionally grant VIP or Admin permissions:

oxide.grant user <SteamID> QuickFix.Vip
oxide.grant user <SteamID> QuickFix.Admin

6. Configure the plugin in:

oxide/config/QuickFix.json

Notes

QuickFix uses a custom one-slot repair interface while Duct Tape is selected. The interface closes automatically when Duct Tape is no longer the active item.

The plugin also restores Duct Tape's original stack size and recycling configuration when it is unloaded, where those features have been modified by the plugin.

---

Video