In case you had the previous okokCrafting version (both ESX & QBCore) execute the code below, otherwise ignore it.
ALTER TABLE users DROP COLUMN xp;
ALTER TABLE users ADD COLUMN xp LONGTEXT NULL;
ALTER TABLE users ADD COLUMN okokcrafts LONGTEXT NULL;
ALTER TABLE players ADD COLUMN xp LONGTEXT NULL;
ALTER TABLE players ADD COLUMN okokcrafts LONGTEXT NULL;
tableIDfield on the config file is used to create the crafting buttons, so make sure you ALWAYS set a different ID for each table.
To add images to the items simply drop them in okokCrafting/web/icons.
- The images should be in the PNG format;
- The image name should be the same as the item ID, if the item ID is "bread", then the image should be "bread.png".
Make sure your server artifacts version is above the 5181.