overextended/ox_inventory — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a complete FiveM inventory resource like ox_inventory. I want it to feel polished for roleplay servers, with a slot based inventory where items can have unique metadata, durability, and secure server side checks so people can’t fake item actions.

It should handle normal items, weapons as inventory items, ammo, attachments, shops, stashes, gloveboxes, trunks, dumpsters, and containers like backpacks or paper bags. Players should be able to share access to the same stash or vehicle inventory at the same time without it breaking. Shops and stashes should support restrictions by job, group, license, or similar framework permissions, and shops should be able to use different currencies.

Please include useful logging for purchases, item moves, item creation, and removals. Make it work without being locked to one framework, but support common FiveM setups like ox_core, ESX, qbox, and ND Core where possible. Use Lua for the FiveM resource and make the UI clean and easy to use. Look up the current FiveM and ox docs online if needed.

Want more depth? Deep Reverse