NoPixel 3.0 Inventory (resource mf-inventory, version 1.0.3) is a slot and weight inventory for ESX with container items, crafting, shops, item degradation and a built-in minigame.
Features
- Container items: items such as a paper bag can open their own sub-inventory for other items. You define container items in
config.lua. - Crafting: a crafting panel in the inventory UI with configurable recipes. A required item can be kept after crafting.
- Minigame: a simple minigame sits in the inventory UI and can be played while the inventory is open.
- Shops: a shop UI for buying and selling items, set up through the config, including which accounts are used for buying and selling.
- Item degradation: items have a quality value and can degrade into a
degraded_counterpart over time. You can turn this off, and each item and inventory subtype has its own modifier. - Hotbar: slots 1-5 act as hotkeys to use items; weapons are equipped and unequipped this way.
- Weapons as items: you can carry several weapons of the same type.
- Accounts as items: choose which ESX accounts are shown in the inventory (default: cash and black money).
- Vehicle trunk inventories, ground items with optional markers, and stack-limit option for containers (
BagsOfHolding) - Exports with examples to read inventories and create new ones, for example for housing storage
Requirements
es_extended(v1.2 or v1 final)mysql-async
Installation
- Import
[SQL]/inventory.sql. It adds columns such asunique,degrademodifieranddescriptionto your items table. - Put
mf-inventoryinto your resources and addensure mf-inventoryto your server.cfg. - Make the ESX changes described in
[README]/README.md, for example forESX.RegisterUsableItemandxPlayer.setAccountMoney.
Important information
This script requires you to change default ESX logic. If modifying scripts as described in the readme is beyond your skills, please don’t buy this script.
This inventory does not sync the xPlayer.inventory table to the client side. Most scripts should check items server-side anyway, so this is usually easy to work around, but check what it means for your scripts before you buy.
Some default ESX inventory features may be missing.