Git Product home page Git Product logo

ox_inventory's Introduction

Framework

Currently, this requires our fork of ESX Legacy for some features, loading, and user data. The inventory was designed with the intention to move towards a more generic / standalone structure so it can be integrated into any framework without hassle, but that's for a future update.

I will be working on a guide for manually updating your own ESX sometime soon™, around the time I setup more event handlers to remove the last parts of the code that make ESX a dependency.

Logging

The included logging module utilises datadog to store logging data, which can be expanded for improved analytics and metrics. Register an account at datadoghq.
The free plan is enough for most user's purposes and provides far more utility than the typical weird discord logs utilised in other resources.

Once you have registered, generate an API key and add set datadog:key 'apikey' to your server config.

Features

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.



Legal Notices

Ox Inventory for ESX Legacy

Copyright © 2022 Linden, Dunak, Luke

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/

ox_inventory's People

Contributors

thelindat avatar lukewastakenn avatar dunak-debug avatar koolaiddtv avatar hsnnnnn avatar dolutattoo avatar antond15 avatar bazookan avatar trey2k avatar ruqen avatar skryptific avatar demetriomontalto avatar lil-loco avatar vwernay avatar jdimella avatar proff001 avatar zeta-gc avatar quickvalve avatar jssusenka avatar vicken52 avatar x00la avatar photoshoplol avatar dokadoka avatar davidenco2000 avatar vojtann avatar tony-stark-17 avatar adrinex avatar officialnoms avatar coookie1010 avatar benzon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.