le-crafting

Preview

Installation Guide

  1. Execute the following SQL code in your database:

CREATE TABLE `le_crafting` (
  `index` int(11) NOT NULL AUTO_INCREMENT,
  `identifier` varchar(255) DEFAULT NULL,
  `xp` int(11) DEFAULT NULL,
  PRIMARY KEY (`index`),
  UNIQUE KEY `identifier` (`identifier`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

  1. Place le-crafting file in your resources forder

  2. Add the script to your server.cfg

  3. Go to the config.lua file and setup to your preferences

Image item

To display the image of your items in the crafting menu and books, you need to modify Config.ImageLink in the config.lua file. You should set the link to your images from the resource folder that contains them. For example, if my images are in the html/images folder of the qb-inventory script, I would set it to /qb-inventory/html/images. If I am using ox-inventory, it would be /ox_inventory/web/images

Last updated