Skip to main content
Inventory 2.0

Installation

Install the inventory system and configure its database, locales, item weights and death-event integration.

Required dependencies

MySQL

Database storage used by the inventory resource.

CFX baseevents

Default player death event integration.

info

We use baseevents for the player death event. If you have a different death system implemented, you can change the event. This event removes deletable items when a player dies if item removal is enabled in the configuration.

Installation steps

  1. 01

    Extract the resource

    Copy the extracted folder into your server resources directory.

  2. 02

    Configure Lua locales

    Edit or create the server and client locale files.

    locales/
  3. 03

    Configure HTML locales

    Edit the browser interface translations.

    html/js/locale.js
  4. 04

    Review the configuration

    Configure inventory behavior and item weights.

    config.lua / config_weights.lua
  5. 05

    Import the database

    Import the inventory SQL file into your server database.

    av_inventory.sql
  6. 06

    Complete advanced setup

    Review the remaining integration sections before starting the resource.