Epsilon Inventory - Installation

Follow the steps below to install the inventory script on your server.

Step 1: SQL Import

Import the following SQL file into your database:

install.sql
CREATE TABLE IF NOT EXISTS `epsilon_inventory` (
    `id` INT AUTO_INCREMENT PRIMARY KEY,
    `owner` VARCHAR(60) NOT NULL,
    `name` VARCHAR(50) NOT NULL,
    `type` VARCHAR(20) DEFAULT 'player',
    `slots` INT DEFAULT 50,
    `weight` INT DEFAULT 120000,
    `items` LONGTEXT,
    UNIQUE KEY `owner_name` (`owner`, `name`)
);

CREATE TABLE IF NOT EXISTS `epsilon_inventory_stash` (
    `id` INT AUTO_INCREMENT PRIMARY KEY,
    `stash_id` VARCHAR(100) NOT NULL UNIQUE,
    `items` LONGTEXT,
    `created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
Warning: Make sure to back up your existing database before importing the SQL file.

Step 2: Placing Files

  1. Download the script and place it in the resources/[epsilon]/epsilon-inventory folder
  2. Edit the config.lua file (see the Configuration page)

Step 3: server.cfg

server.cfg
# Dependencies (these must be loaded first)
ensure oxmysql
ensure ox_lib
ensure es_extended  # or qb-core

# Inventory
ensure epsilon-inventory
Important: If you are using another inventory script (ox_inventory, qs-inventory, etc.), remove it from server.cfg or comment it out.
Installation complete. You can now go to the Configuration page to configure settings.