Installation

Welcome to installation !

1. Before starting

Welcome to the installation guide for the LCODE inventory, a comprehensive resource that offers a wealth of features, such as item use, item modification and even entirely unique clothing systems. However, remember that with great power comes great responsibility. That's why it's essential to carefully follow all the steps outlined in this installation guide. That way, you'll be ready to take full advantage of this exceptional resource.

Please check the installation and follow the steps below before opening a ticket on our discord. If you encounter a problem, please open a ticket on our discord: discord.gg/lcode

2. Asset download

To get started, you'll need to download your new resource previously purchased from lcode-scripts.store. For that we must log in with our account at keymaster and look for the Asset grants section, there we will find our complete package.

Updates will be announced on our discord, for this you need to join the discord and have the role customer.

3. Dependencies

LCODE Inventory only has one dependency but it is mandatory for the asset to start, please download and run it as discussed in the following steps.

You can remove MugShotBase64 in config/config.lua.

4. Database installation

For this step, we always recommend making sure you have the latest version of mysql on your computer or dedicated server, with this we make sure that the import of the sql file works successfully.

Do not continue to the next step without running the sql we mentioned above this message, otherwise you will never be able to use the inventory correctly.

Once we take that into account, we will place the following sql in our database, you will also have this in a file inside the package that we downloaded in the first step.

his in a file inside the package that we downloaded in the first step.

CREATE TABLE `lc_clothes` (
  `id` int(11) NOT NULL,
  `type` varchar(60) NOT NULL,
  `identifier` varchar(50) DEFAULT NULL,
  `name` longtext DEFAULT NULL,
  `data` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

CREATE TABLE `lc_trunk` (
  `info` longtext DEFAULT NULL,
  `data` longtext DEFAULT NULL,
  `id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

ALTER TABLE `lc_clothes`
  ADD PRIMARY KEY (`id`);

ALTER TABLE `lc_clothes`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;

ALTER TABLE `lc_trunk`
  ADD UNIQUE KEY `id` (`id`);
COMMIT;

Last updated