🛒 renzu_shops | Advanced Shops | Stores - Vehicle - Weapons - Movable

:shopping_cart: renzu_shops Multi Purpose Shops

Fivem Advanced Shops with stocks system and player owned shops using ox_inventory , ox_lib.
store shops shop esx_shops esx_vehicleshop weaponshop #24/7 shop supermarket #market
ezgif-5-a9cafb6276

:inbox_tray: Download

:fire: Shops Features

  • Support All types of Shops
  • Categorized Shop
  • Player Owned Shops / Job Access
  • Support Displaying Vehicles
  • Player Booth Shops
  • Financing – configurable. player can finance (ex . for vehicle shop purpose)
  • Shop Management - Stock management, employee management, finance management, item data mangement, item orders manage.
  • Shop Owner can Order Bulk items from Suppliers with preconfigured discounts.
  • Shop Owner can Deposit or Withdraw items from Store Inventory.
  • Support Multiple Currency. money , black_money or your custom item.
  • Support Preconfigured Item Metadatas type. ( eg. sell burger, Cheese Burger, Double Bart Burger with one item ‘burger’)
  • Support Item Customisation using Metadatas. ( Semi Advanced Usage ) ( example: Donut can have toppings. Burger can have cheese, lettuce addons) each addons can have effects. as for weapon customisation its defaults is Attachements.
  • Movable Shops - preconfigured. ‘Chihuahua Hot Dogs’, ‘Beefy Bills Burger Bar’, ‘Attack A Taco’ (van)
  • Ondemand Shop Selling - Sell Items to Random Locals Orders.
  • Shipping Jobs - Store Owner Bulk Orders will be redirected to Shipping Job. its mean this script does not do Self Delivery like the other stock shops script. while owner can still do shipping job on their own. as shipping job is open for all and no job requirement at the moment.)
  • Cashier System - All New Sales income money will be redirected to Cashier. Store Owner or Any OnDuty Clerk can Withdraw the money from Cashier.
  • Store Robbery - a Simple store robbery with Skill Check. Every Cashier can be Robbed with a default 30minutes cooldown.
  • Item Custom Effects on use. ( from item customisation or Preconfigured Metadatas ex.status)
  • Admin Store Management - Manage Store Stocks and everything, Add New Store Via Menu from preconfigured Shop Ownable types,Add new custom Items.
  • and more.

:joystick: Commands

  • /stores - Open Admin store manage
  • /addstock - /addstock General 1 100 (shopname, shopindex,amount,itemname(optiona))

:convenience_store: Preconfigured Owned Shops

  • General 24 / 7 Stores
  • Ammunation
  • Black markets
  • Vehicle Shops ( Boat, Helis, Vehicles )

:gear: Shared Options - can be found config/init.lua

  • shared.framework - : string ex ‘ESX’ or ‘QBCORE’
  • shared.oxShops - Boolean ( Allow you to use Ox Shops UI instead of Builtin UI ) Integrated Majority of Shop management Feature.
  • shared.allowplayercreateitem - Boolean - Allow you to Add new Custom Item to to Any Stores (exluding vehicleshop) Default false (only admin)
  • shared.target = Enable use of ox_target
  • shared.defaultStock = Boolean - Declare how much the Initial Stock upon Store Purchase.

:open_hands: Dependency

  • ox_inventory (required the most recent version that support Hooks)
  • ox_lib
  • ox_target (optional) can be configured init.lua (default is marker zone type)
  • ESX Legacy / QBCORE ( this qb- inventory)
  • One Sync

:framed_picture: DEMO IMAGES

General Store

image
image

Ammunation

image

Vehicle Shop

image

Ondemand Selling

image

Movable Shop

image

Store Manage

image
image
image
image
image

Admin Store Manage






image

image

:arrows_counterclockwise: Planned TASKS

Tasks
  • :white_check_mark: Create Item Datas for ox_inventory data/items.lua format. ( for default samples preconfigured items ) (easy)
  • :white_check_mark: Create Admin Menus to manage player shops. ( intermediate )
  • :white_check_mark: Add Transfer Ownership to Store Management ( normal )
  • :white_check_mark: Tweak Shipping Job Missions. fix or optimise zones, Trailer Spawning properly and etc… (normal)
  • Enhance or Add more Effects to data/item-customisation.lua ( intermediate )
  • Change Blip Sprites. (very easy)
  • :white_check_mark: Support Multiple Frameworks. (easy)
  • Support Item Customisation to Movable Shops correctly. (intermediate)
  • :white_check_mark: replace scenario based when cooking to TaskPlay (easy)
  • :white_check_mark: Add Job based Access to Store Managing
  • :white_check_mark: Supports Ox_inventory Shop Default UI (experimental)
  • :white_check_mark: Support Adding New Item to store via Store Manage Menu (optional admin or player)
  • Store Logs

🗈 Note

Notes
  • this resource will overide/disable ox inventory shops if config.oxShops is false

  • if you want to fully test the resource. you need to install all the items required here. to ox_inventory/data/items.lua , items can be found in data/install_items.lua.

  • Shop Images Used from \ox_inventory\web\images/{$item}.png

  • TO use Item Effects from Customisation @ data/item-customisation.lua

  • You need to Insert the export , export = 'renzu_shops.ItemUse', once you use this export. this will override your config from data/items.lua on ox.

  • Example

['burger'] = {
		label = 'Burger',
		weight = 0,
		client = {
			anim = 'eating',
			prop = 'burger',
			usetime = 2500,
			notification = 'You ate a delicious burger',
			export = 'renzu_shops.ItemUse'
		},
	},
  • if your using qb-core make sure qb-weapons is started. and use my forked of qb-inventory

:test_tube: Experimental Feature

more info experimental

to use default ox inventory SHOP UI instead of Builtin UI

the forked version have the following exports:

  • Added buyItem Hooks - allow you to removestock from ox shop and send money to shop owner store money vault.
  • RegisterSingleShop Export - allows you to insert unique data to each ox Shops
  • Modify Shops Export - allows you to modify ox shop stock
  • RegisterShop Updates client zones realtime

others

  • Add Usable Item Export - to install default items
  • Image URL metadata supports - allow you to add imageurl metadata when creating custom items

forked version

  • this version can be found here
  • will try to update this repo when theres a urgent update/fix.
  • i believe overextended team is already working on ox shops 2.0. so probably we wont need this version soon. i believe they will provide similar feature / exports and hooks.

Contribution and issues

  • Enhancement issue can be post here
  • if you are having trouble or found a bug post here
  • repo contribution - as long as there is no conflict its auto merged from me.
40 Likes

your work is always amazing

3 Likes

this looks crazy good!

3 Likes

one of the best creators

thank you renzu :heart:

2 Likes

Looks amazing!!

1 Like

Amazing :partying_face:

1 Like

thank brothers

3 Likes

can you show some love to qb-inventory? lol id love to use this

1 Like

The :goat: is back !

2 Likes

i love qb, but right now i dont have updated repos… maybe tomorrow ill download

1 Like

Bro this looks incredible! And FREE?!? Amazing job :+1:t4:

1 Like

restart renzu_shops
[ citizen-server-impl] Stopping resource renzu_shops
[ c-scripting-core] Creating script environments for renzu_shops
[ script:renzu_shops] Error loading script server/main.lua in resource renzu_shops: @renzu_shops/server/main.lua:118: No such export registerHook in resource ox_inventory
[ script:renzu_shops] stack traceback:
[ script:renzu_shops] [C]: in function ‘error’
[ script:renzu_shops] citizen:/scripting/lua/scheduler.lua:878: in metamethod ‘index’
[ script:renzu_shops] @renzu_shops/server/main.lua:118: in main chunk
[ c-scripting-core] Failed to load script server/main.lua.
[ citizen-server-impl] Started resource renzu_shops
[ script:renzu_shops] SCRIPT ERROR: @renzu_shops/server/main.lua:51: No such export RegisterShop in resource ox_inventory

any help please?

update your ox_inventory.
Your version is outdated

the recent version have

registerHook 
and
RegisterShop 
3 Likes

For the ammunations, can they use license checking like the ox_inventory shops do for weapon licenses?

does it have support for lj-inventory?

Renzu strikes again with another one ! Really awsome job bro :blush: thank you !

1 Like

yea i forget this, but its possible.
ill try to push update asap.

@ml5gaming90
no only ox_inventory

but any inventory can be adapt to this resource.

the most important only is if your inventory
have exports for adding , removing item, and also search or getitem

3 Likes

Nice Job! :+1:
But after I buy a store, and then buy items there, the money does not go to the store vault.

2 Likes

thanks that fixed it, i didnt notice ox had an update

1 Like

it goes to cashier first