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
Download
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.
Commands
- /stores - Open Admin store manage
- /addstock - /addstock General 1 100 (shopname, shopindex,amount,itemname(optiona))
Preconfigured Owned Shops
- General 24 / 7 Stores
- Ammunation
- Black markets
- Vehicle Shops ( Boat, Helis, Vehicles )
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.
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
DEMO IMAGES
General Store
Ammunation
Vehicle Shop
Ondemand Selling
Movable Shop
Store Manage
Planned TASKS
Tasks
- Create Item Datas for ox_inventory data/items.lua format. ( for default samples preconfigured items ) (easy)
- Create Admin Menus to manage player shops. ( intermediate )
- Add Transfer Ownership to Store Management ( normal )
- 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)
- Support Multiple Frameworks. (easy)
- Support Item Customisation to Movable Shops correctly. (intermediate)
- replace scenario based when cooking to TaskPlay (easy)
- Add Job based Access to Store Managing
- Supports Ox_inventory Shop Default UI (experimental)
- 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
Experimental Feature
- Use ox_inventory Shop UI instead of builtin UI.
- this required my forked version of ox_inventory
- required features can be found in this commits
- GitHub - renzuzu/ox_inventory: Overextended Inventory for ESX Legacy
- while this is optional you can use the repo from overextended with shared.oxShops as false (config/init.lua)
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.