Back to Scripts

prp-shops

Player-Owned Shops v2.0 — claim, buy, or run faction shops. Owner panel, employees, finance, pricing presets. GetShops() for prp-storerobbery.

Buy on Tebex

Shops in action

New v2.0 demo video coming soon — player-owned shops, owner panel, and more.

Key Features

  • Player-Owned Shops — public, claim_hold, business_owner, faction_owned
  • Owner Panel — manage stock, set prices, view finance, open stash
  • Employees & Roles — owner, manager, stocker, cashier with permissions
  • Finance & Safe — safe balance, transactions, optional tax/rent
  • Inactivity Reclaim — configurable days, warnings, reclaim behavior
  • Pricing Presets — standard, strict, loose (min/max multipliers)
  • Bridges — dispatch, phone, camera, notify, target (auto-detect)
  • Robbery Ready — optional robbery module; GetShops() for prp-storerobbery
  • Admin Commands — setowner, clearowner, reclaim, audit, teleport

Economy Backbone

Configuration-first shop system with 24/7s, LTD Gas, Ammu-Nation, and more. Shops can stay public (NPC) or use the owned module: free claim (claim_hold), buy and run (business_owner), or faction-owned. Custom config via config/custom.lua; config/default.lua provides defaults (do not edit).

Integrates with prp-storerobbery

Exposes GetShops() so prp-storerobbery can use these locations for heists. prp-storerobbery can also run without prp-shops using fallback mapping from robberylocations.lua.

Technical Highlights

  • Version: 2.0.0 (Player-Owned Shops vNext)
  • Exports: GetShops(), GetShop(), SetOwner(), ClearOwner(), OpenShop(), OpenOwnerPanel()
  • Database: oxmysql — prp_shops_owned, employees, finance, transactions, prices
  • Config: config/default.lua (defaults) + config/custom.lua (overrides)
  • Requirements: ox_lib, ox_inventory, oxmysql, framework (Qbox/QBCore/ESX), ox_target