mur4i / ox_inventory-brocode

Bro Code edited ox_inventory from overextended (inspired by Nopixel 4.0). Body Stats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This inventory is a fork from the original ox_inventory. This fork is customized by Bro Code and we will try our best to maintain it. We have added features like Body Stats System and Completely changed the Design of the Inventory. Rest of the features are same as the original ox_inventory. It has a dependency of BC_Wounding for the Body Stats System. You can find the BC_Wounding resource here

Preview

(Video Preview Soon)

Config

Resource configuration is handled using convars. Refer to the documentation for more information.

Framework

The inventory was designed with limited reliability on frameworks, preferring frameworks designed to use ox_inventory. A framework is still necessary for handling certain features such as

  • Loading player inventories.
  • Owned vehicles.
  • Licenses.
  • Group/job systems.

Compatibility for frameworks is handled in the "bridge" module, and by default includes

Do not expect 100% compatibility or support for third party frameworks.

Features

Logging

Logging is built-in using ox_lib's logger module, using Datadog or Grafana Loki. Discord is not and will not be supported.

Shops

  • Creates different shops for 24/7, Ammunation, Liquor Stores, Vending Machines, etc.
  • Job restricted shops, such as a Police Armoury.
  • Items can be restricted to specific job grades and licenses.
  • Define the price for each item, and even allow different currency (black money, poker chips, etc).

Items

  • Generic item data shared between objects.
  • Specific data stored per-slot, with metadata to hold custom information.
  • Weapons, attachments, and durability.
  • Flexible item use allows for progress bars, server callbacks, and cancellation with simple functions and exports.
  • Support for items registered with ESX.

Stashes

  • Server-side security prevents arbitrary access to any stash.
  • Support personal stashes, able to be opened with different identifiers.
  • Job-restricted stashes as well as a police evidence locker.
  • Server exports allow for registration of stashes from any resource (see here).
  • Access small stashes via containers, such as paperbags, from using an item.
  • Vehicle gloveboxes and trunks, for both owned and unowned.

Temporary stashes

  • Dumpsters, drops, and non-player vehicles.
  • Loot tables allow users to find random items in dumpsters and unowned vehicles.



License

Ox Inventory

Copyright © 2023 Overextended (https://github.com/overextended)

Linden (https://github.com/thelindat)

Luke (https://github.com/LukeWasTakenn)

Dunak (https://github.com/dunak-debug)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/

About

Bro Code edited ox_inventory from overextended (inspired by Nopixel 4.0). Body Stats

License:GNU General Public License v3.0


Languages

Language:Lua 65.0%Language:TypeScript 32.1%Language:SCSS 2.4%Language:HTML 0.5%