[Free][qbx] ef-shops

ef-shops

A shops system made in React for qbx_core and ox_inventory

Releases: https://github.com/jellyton69/ef_shops/releases
Repository: https://github.com/jellyton69/ef_shops

FiveM_b2944_GTAProcess - April22 - 03 01 - 3496

Features

  • Client-side purchase validation (cash/card/weight/stock) + server-side security checks
  • Shop stock (restocked on restart)
  • Price fluctuation
  • Hooks - handle pre/post item purchases (example: registering weapons automatically in your MDT)
  • Metadata Support
  • Vendors can be peds or objects
  • Responsive UI
  • Job (can specify certain grades) lock specific shop types
  • Has exports to be used externally (opened via other scripts)
  • UI made with Mantine v7

Dependencies

Preview

10 Likes

Where are the images from for the items? Awesome artwork.

Also, really dope script.

could i use this with normal qbcore but with ox_inventory and target?

You can’t, because the qbx exports etc are different

it has meta data ?

Yes it does

v1.1.0 is now live!

Features

  • server: ability to specific default item metadata (Jellyton)
  • job + grade locked shops and products (Jellyton)
  • allow registration of shops for external usage (no locations) (Jellyton)
  • allow shops to be created without entities and as sphere zones (Jellyton)
  • ui: implement notification system for system interactions (Jellyton)

Bug Fixes

  • client: fix entity model not loading in rare scenarios (Jellyton)
  • ui: fix ability for an item in the cart to have 0 quantity (Jellyton)
  • ui: fix weird text behavior with larger item names on smaller resolutions (Jellyton)
  • ui: fix poor height layout on larger resolutions (Jellyton)

Tweaks

  • update system font to Inter (Jellyton)
  • client: allow model to be a single string/hash rather than a randomized value from a table (Jellyton)
  • ui: remove decimals from money values (Jellyton)
  • ui: small appearance adjustments to weight indicator (Jellyton)
  • ui: move value validation to “isAllowed” property (Jellyton)
  • ui: update layout of cart title and cart/payment stack (Jellyton)
  • ui: cart title size (Jellyton)
  • ui: update icon for icon placeholder (Jellyton)
  • ui: update appearance and layout of money badges (Jellyton)

Code Refactoring

  • seperate locations and shop items config entries (Jellyton)
  • client: update config for altering target appearance (Jellyton)
  • ui: update shop type usage (Jellyton)
  • ui: move payment buttons to seperate component (Jellyton)
  • ui: swap pro version of font awesome to free (Jellyton)

Chores

1 Like

please make qbcore version ox_inventory

1 Like

Qbox has a qb compat layer, it’s a drag and drop replacement. No reason to use qbcore anymore tbh.

4 Likes

^this

is that a ox third eye?

yes it is

please add currency system like ox inv shop

This Script is awesome and we love it on our server! the only thing I would love to see is the ability to do sell shops where we could configure stuff to sell to the NPC!

I cant seem to get the ui to interact. Peds are there, the ui just doesnt show.