{"id":45245284,"url":"https://github.com/fruitmob/murderface-shops","last_synced_at":"2026-02-20T22:01:07.949Z","repository":{"id":338171119,"uuid":"1156844074","full_name":"fruitmob/murderface-shops","owner":"fruitmob","description":"Free, open-source shop system for FiveM — Qbox/ox stack. Gabz MLO support, DRC item packs, MySQL caching, bug fixes, and custom shops.","archived":false,"fork":false,"pushed_at":"2026-02-16T07:19:16.000Z","size":546,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-16T15:17:54.867Z","etag":null,"topics":["fivem","fivem-script","gta5","lua","qbox","roleplay","shops"],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fruitmob.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-13T05:40:41.000Z","updated_at":"2026-02-16T07:19:19.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fruitmob/murderface-shops","commit_stats":null,"previous_names":["fruitmob/renzu_shops-murderface","fruitmob/murderface-shops"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/fruitmob/murderface-shops","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fruitmob%2Fmurderface-shops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fruitmob%2Fmurderface-shops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fruitmob%2Fmurderface-shops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fruitmob%2Fmurderface-shops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fruitmob","download_url":"https://codeload.github.com/fruitmob/murderface-shops/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fruitmob%2Fmurderface-shops/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29666419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T19:49:36.704Z","status":"ssl_error","status_checked_at":"2026-02-20T19:44:05.372Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fivem","fivem-script","gta5","lua","qbox","roleplay","shops"],"created_at":"2026-02-20T22:00:52.280Z","updated_at":"2026-02-20T22:01:07.936Z","avatar_url":"https://github.com/fruitmob.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# murderface-shops (Qbox + ox Fork)\n\n**Free, open-source advanced shop system for FiveM** — drop in, configure, sell.\n\nConverted and enhanced for the **Qbox + ox_lib + ox_inventory + ox_target** stack. Gabz MLO compatible, MySQL caching, SQL injection fixes, and custom shop support.\n\n\u003e Forked from [renzuzu/renzu_shops](https://github.com/renzuzu/renzu_shops) -- original by renzuzu\n\n---\n\n## Features\n\n- **Every shop type** — 24/7, Ammunation, Liquor, Mechanic, Black Market, Vehicle, Job, and Food Trucks\n- **Player-owned shops** — Buy locations, manage inventory/pricing, hire employees, track profits\n- **Gabz MLO support** — Works with Gabz 24/7, Ammunation, mechanic shops, and other MLO interiors\n- **DRC item packs** — Bean Machine coffee shop with 29 DRC items and vendor ped\n- **Item customization** — Toppings, variants, weapon attachments via metadata\n- **MySQL caching** — 5-minute cache cuts database queries by ~95%\n- **Security fixes** — SQL injection protection, transaction locking, input sanitization\n- **Store robbery** — Rob cashiers with skill checks (30min cooldown)\n- **Movable shops** — Food trucks (Chihuahua Hot Dogs, Beefy Bills, Attack A Taco)\n- **Admin panel** — Full control over shops, stock, ownership, and finances\n- **Auto-setup** — Tables auto-create on first start, no SQL import needed\n\n## Quick Start\n\n**1.** Download and extract to your resources as `murderface-shops`\n\n**2.** Add to `server.cfg`:\n```cfg\nensure murderface-shops\n```\n\n**3.** Restart server — walk to any 24/7, press target key, buy something. Done.\n\nAll shop items must exist in `ox_inventory/data/items.lua`. Check `config/storeitems.lua` if you see missing-item warnings in console.\n\n---\n\n## Configuration\n\nEverything lives in the `config/` folder:\n\n| File | What it controls |\n|------|-----------------|\n| `config/init.lua` | Framework, target mode, stock defaults |\n| `config/storeitems.lua` | Items and prices for each shop type |\n| `config/defaultshops.lua` | Shop locations, blips, names |\n| `config/ownedshops/` | Purchasable shop locations and pricing |\n| `config/jobshops/` | Job-restricted shops (police armory, EMS, etc.) |\n| `config/movableshops.lua` | Food truck configuration |\n| `data/item-customisation.lua` | Item variants, toppings, effects |\n\n### Basic Settings\n\n```lua\n-- config/init.lua\nshared.framework = 'QBX'              -- Framework (QBX or ESX)\nshared.target = true                  -- Use ox_target (false = markers)\nshared.oxShops = false                -- Use ox_inventory shop UI instead\nshared.allowplayercreateitem = false  -- Let players add custom items\nshared.defaultStock = 100             -- Starting stock for new shops\n```\n\n### Adding Shop Locations\n\n```lua\n-- config/defaultshops.lua\nshared.Coords = {\n    General = {\n        [1] = {\n            coord = vector4(25.74, -1346.74, 29.49, 271.69),\n            name = '24/7 Supermarket',\n            blip = { sprite = 52, color = 2, scale = 0.6 }\n        }\n    }\n}\n```\n\n### Shop Items\n\n```lua\n-- config/storeitems.lua\nGeneral = {\n    { lvl = 1, name = 'water', category = 'Food', price = 50 },\n    { lvl = 1, name = 'burger', category = 'Food', price = 150 },\n}\n```\n\n- `lvl` — Shop level required (1 = always available, 2+ = owned shops only)\n- `name` — Must match an item in `ox_inventory/data/items.lua`\n- `category` — Display grouping (Food, Medical, Tools, etc.)\n- `price` — Base price in dollars\n\n---\n\n## Admin Commands\n\n| Command | Description |\n|---------|------------|\n| `/stores` | Open admin shop management panel |\n| `/addstock General 1 100` | Add 100 of all items to General #1 |\n| `/addstock Ammunation 2 50 pistol` | Add 50 pistols to Ammunation #2 |\n\n---\n\n## Dependencies\n\n| Resource | Required |\n|----------|----------|\n| qbx_core | Yes |\n| ox_lib | Yes |\n| ox_inventory | Yes |\n| oxmysql | Yes |\n| ox_target | Optional (can use markers) |\n\nIf you're running Qbox with the ox stack, you already have everything you need.\n\n---\n\n## What Changed From the Original\n\n- **Qbox native** — Full QBX integration with proper player wrapper and money handling\n- **MySQL caching** — 5-minute cache, moved GlobalState data to MySQL (was hitting 16KB limit)\n- **Security** — SQL injection protection, transaction locking, input sanitization\n- **Bug fixes** — All Lua syntax errors (`+=`, `-=`), shop UI closing bug, race conditions\n- **Gabz + DRC** — MLO compatibility and Bean Machine coffee shop with 29 DRC items\n- **Error handling** — Debug logging, item validation against ox_inventory, automatic recovery\n\n## Troubleshooting\n\n**Items not appearing in shop?**\nCheck they exist in `ox_inventory/data/items.lua`. Console will warn you about missing items.\n\n**Shop UI closes immediately?**\nFixed in this version. If it persists, check for empty shop sections in `storeitems.lua`.\n\n**Target not working?**\nSet `shared.target = true` in `config/init.lua` for ox_target, or `false` for markers.\n\n**Need to import SQL?**\nNo — tables auto-create on first start.\n\nSee [DEPLOYMENT.md](DEPLOYMENT.md) for full testing checklist and [CONFIGURATION.md](CONFIGURATION.md) for advanced options.\n\n---\n\n## Preview\n\n![Store UI](https://user-images.githubusercontent.com/82306584/200500266-2028d8f3-bc95-4131-888f-0d07935f90be.png)\n\n![Shop Management](https://user-images.githubusercontent.com/82306584/200500860-ab032c2a-5829-47f8-a4ce-eb9685117767.png)\n\n![Food Truck](https://user-images.githubusercontent.com/82306584/200501834-de161c46-08ca-4065-9bfa-4094828dd05f.png)\n\n## Credits\n\n- **Original script**: [renzuzu](https://github.com/renzuzu) (original renzu_shops)\n- **Qbox conversion \u0026 enhancements**: [FruitMob RP](https://github.com/fruitmob)\n\n## License\n\nGPL-3.0 — same as the original.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffruitmob%2Fmurderface-shops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffruitmob%2Fmurderface-shops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffruitmob%2Fmurderface-shops/lists"}