Installation
Installation of SCode Crafting Tablet
Supported Core
QBCore
ESX
Requirements
oxmysql (QBCore) or
mysql-async(ESX)screenshot-basic
- Drag and drop
Put the
scode-craftingfolder into yourresourcesfolder. - Import the database
Run both files from the
sqlfolder on your database:sql/scode_crafting.sqlandsql/scode_chat.sql.SQLCREATE TABLE IF NOT EXISTS `scode_crafting_levels` ( `id` int(11) NOT NULL AUTO_INCREMENT, `identifier` varchar(60) NOT NULL, `global_level` int(11) NOT NULL DEFAULT 1, `global_xp` int(11) NOT NULL DEFAULT 0, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `identifier` (`identifier`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; CREATE TABLE IF NOT EXISTS `scode_chat_messages` ( `id` INT AUTO_INCREMENT PRIMARY KEY, `sender_id` VARCHAR(50) NOT NULL, `sender_name` VARCHAR(255) NOT NULL, `sender_photo` VARCHAR(255) NOT NULL, `message` TEXT NOT NULL, `timestamp` BIGINT NOT NULL ); - Pick your framework
Open
config.luaand setConfig.Frameworkto'qbcore'or'esx'.On ESX, also switch the lines in
fxmanifest.lua: enable@es_extended/imports.luaand@mysql-async/lib/MySQL.lua, and comment out the QBCore lines (@qb-core/shared/locale.lua,@oxmysql/lib/MySQL.lua). Do the same in thedependenciesblock. - Add the items
The tablet needs the
tabletitem (or whatever you set inConfig.RequiredItem). Every item used in a recipe, and every item that can be crafted, must exist in your inventory's item list. The default recipes use these materials:metal_parca,ahsap,yay,elektronik,kaucuk,kumas,alkol,antibiyotik,enjector,et,ekmek,domates,su,seker,kafein,kevlar,plastik,deri,metal_tokaYou can rename them or use your own items. Change the recipes in
Config.Itemsto match. - Start the resource
Add it to your
server.cfgafter your framework and database resource:Codeensure scode-crafting
Item pictures shown on the tablet are loaded from ui/img/. To add a picture for a new item, put a .png file there and use its file name in the item's image field.
Last updated: December 6, 2026