Advanced Weapon Repair

Advanced Weapon Repair

$19.99

Add to Basket

INF WORKBENCH

video: https://youtu.be/rZWhbg-YydY?si=QD2Ut_LBRq8abKlI

Placeable Item Repair Station by Infamous Development

A persistent, placeable workbench that turns any player into a repair technician. Place it anywhere. Repair any item. Set your own prices through pure roleplay. No NPC shops. No hardcoded costs. Just player-driven economy.


THE CONCEPT

INF Workbench gives players a portable repair station they can place anywhere in the world. The bench persists through server restarts, syncs across all players, and anyone can walk up to use it. The owner controls access and pricing — all through RP.

Need your gear fixed? Find someone with a bench. Want to run a repair shop out of your crew's warehouse? Drop the bench and you're open for business. It's a job script without the job — pure player agency.

Zero hardcoded economy. The bench repairs for free — the owner negotiates price through roleplay. This creates organic RP where reputation, location, and relationships drive the market.


FEATURES

Placeable Prop — Use from inventory, preview with ghost prop, scroll to rotate, click to confirm. Ground snaps automatically.

Database Persistent — Benches survive server restarts. Stored in MySQL with owner, position, and heading. Auto-creates table on first boot.

Custom NUI — Grimy workshop aesthetic. Shows all items from inventory with real durability, condition bars, item class, and inventory images.

ox_lib Progress Bar — Select an item, hit repair, progress bar with mechanic animation plays on your character. Clean and reliable.

QB-Target Integration — Walk up to any placed bench and interact. "Use Workbench" for everyone, "Pick Up" for the owner only.

Owner Pickup — Only the player who placed the bench can pick it back up. Item returns to inventory, database row deleted.

Custom Item Support — Full item class mapping in config. Add your custom items with one line each. Works with any pack out of the box.


HOW IT WORKS

  1. Use the workbench item from inventory. Item is consumed and placement mode begins.
  2. Ghost prop previews in front of player. Green = valid, red = invalid. Scroll to rotate. Click to confirm. Backspace cancels and returns the item.
  3. Bench spawns in the world, saves to database, and syncs to all connected players. Persists through restarts.
  4. Any player walks up, QB-Target shows "Use Workbench". NUI opens with their inventory.
  5. Pick an item, hit Begin Repair. NUI closes, ox_lib progress bar with mechanic animation plays. Durability restored server-side.

CONFIGURATION

Every setting lives in a single config.lua. No digging through code.

Config.WorkbenchProp = 'prop_tool_bench02' Config.PlacementDistance = 2.5 Config.MinBenchSpacing = 5.0 Config.RepairDuration = 5000 Config.RepairToFull = true


DEPENDENCIES

qb-core — Required ox_lib — Required oxmysql — Required qb-target — Required qb-inventory — Required


INSTALLATION

  1. Drop inf_workbench into your resources folder
  2. Add ensure inf_workbench to server.cfg
  3. Add the shared item from README to qb-core/shared/items.lua
  4. Add inventory image to qb-inventory/html/images/
  5. Restart — database table auto-creates

ADMIN COMMANDS

/giveworkbench — Give yourself a workbench item /clearbenches — Remove all placed workbenches from world and database


Infamous Development — All Rights Reserved