When your server’s food workers log off, their shop locations go dark. Players can’t buy food, immersion breaks, and the food job stops generating passive income for anyone. Closed Shops NPC fixes that by deploying a single NPC vendor that takes over each location when workers are offline — stocked with whatever the employees last restocked, selling at live prices, and despawning automatically the moment real workers clock back in.
The Restocking Loop
The NPC doesn’t stock itself. Workers manage inventory from their own in-game inventory, which means the food job still has a reason to exist — restocking the NPC is part of the job. Run dry and the location closes until a player shows up to restock it. That single mechanic turns a passive background script into an active incentive for job workers to stay engaged even when no customers are online.
Pricing Controls and Admin Tools
Prices update live. Each item supports a per-item price cap so a single worker can’t tank the economy by repricing below cost. Admins can view and update every job location from a single panel without touching config files. The UI runs on ox_lib context menus or BDUK UI depending on your server’s setup.
- NPC vendor activates automatically when job workers go offline
- Smart despawn on real-time job activity detection — no overlap with live workers
- Employee stock management directly from in-game inventory
- Live pricing updates with configurable per-item price caps
- Admin panel for viewing and updating all job locations
- Single ped spawn per location — minimal performance footprint
- Passive income for food jobs tied to the restocking loop
- UI: ox_lib context menus or BDUK UI
- Banking support: qb-banking, okokBanking, renewed-banking; experimental: wasabi_banking, tgg-banking, fd_banking
- Inventory support: ox_inventory and qb-inventory
- Target support: ox_target and qb-target
Framework Compatibility
The script supports QBCore, ESX, and Qbox. Dependencies are oxmysql, ox_lib, and qb-core. There is no framework-specific version split — one purchase covers all three.
Who This Is For
If you run a serious roleplay or economy server and have invested in food jobs, this script protects that investment. The city stays alive between peak hours. Food job workers earn passive income even when they’re not online. And server owners get a persistent economy that doesn’t depend entirely on concurrent player count — which, at £3, is a straightforward trade-off.












